🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.www
Article #408256

Re: Apache2 próbuje pobierać z /var/www zamiast ~/public_html

#408256
From: jivanmukta
Date: Thu, 25 Jun 2015 03:44
21 lines
2015 bytes
> A bez serwowania z UserDir, tylko bezpośrednio pod domeną działa?

Przekopiowałem witrynę do /var/www i zmodyfikowałem .htaccess:

#v+
AuthUserFile "/var/www/application/resources/.htpass"
AuthName "Strony zabezpieczone"
AuthType Basic
require valid-user
ErrorDocument 401 "/var/www/denial.html"
DirectoryIndex index.php
RewriteEngine on
RewriteBase /
RewriteCond $1 !^(index\.php|robots\.txt|denial\.html|resources|captcha)
RewriteRule ^(.*)$ /index.php/$1 [L,QSA]
#v-

Teraz:

[Thu Jun 25 05:28:26 2015] [error] [client 127.0.0.1] File does not exist: /var/www/var, referer: http://localhost/index.php
[Thu Jun 25 05:28:37 2015] [error] [client 127.0.0.1] File does not exist: /var/www/announcement
Technical Details
Message-ID: <d695f58f-1bfa-4864-90ef-aabc5f69fd44@googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!news.glorb.com!h15no8225913igd.0!news-out.google.com!k20ni3219qgd.0!nntp.google.com!z60no3172389qgd.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
References: <bbcc83df-6585-4c03-b4e7-20659bc197ac@googlegroups.com> <9tou7x9l1dny$.1ts5emiatrygn.dlg@40tude.net>

Show Full Headers
Complete Article Headers
X-Received: by 10.43.159.1 with SMTP id lw1mr52286204icc.9.1435203841771;        Wed, 24 Jun 2015 20:44:01 -0700 (PDT)
X-Received: by 10.140.102.172 with SMTP id w41mr173436qge.40.1435203841645; Wed, 24 Jun 2015 20:44:01 -0700 (PDT)
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!news.glorb.com!h15no8225913igd.0!news-out.google.com!k20ni3219qgd.0!nntp.google.com!z60no3172389qgd.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: pl.comp.www
Date: Wed, 24 Jun 2015 20:44:01 -0700 (PDT)
In-Reply-To: <9tou7x9l1dny$.1ts5emiatrygn.dlg@40tude.net>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=83.28.245.156; posting-account=Fd8BNwoAAACl8PCi6-fI0bkHGOgt6LMa
NNTP-Posting-Host: 83.28.245.156
References: <bbcc83df-6585-4c03-b4e7-20659bc197ac@googlegroups.com> <9tou7x9l1dny$.1ts5emiatrygn.dlg@40tude.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d695f58f-1bfa-4864-90ef-aabc5f69fd44@googlegroups.com>
Subject: Re: Apache2 próbuje pobierać z /var/www
 zamiast ~/public_html
From: jivanmukta@poczta.onet.pl
Injection-Date: Thu, 25 Jun 2015 03:44:01 +0000
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit