Article View: pl.comp.www
Article #408255Re: Apache2 próbuje pobierać z /var/www zamiast ~/public_html
From: Borys Pogoreło
Date: Wed, 24 Jun 2015 18:16
Date: Wed, 24 Jun 2015 18:16
20 lines
1589 bytes
1589 bytes
Dnia Wed, 24 Jun 2015 06:37:57 -0700 (PDT), jivanmukta@poczta.onet.pl napisał(a): > RewriteEngine on > RewriteCond $1 !^(index\.php|robots\.txt|denial\.html|resources|captcha) > RewriteRule ^(.*)$ /index.php/$1 [L,QSA] A czemu w RewriteCond wyłączasz index.php? Nie wiem jak Apache, ale lighttpd bardzo nie lubi takiej kombinacji, bo to jednocześnie blokuje działanie samego przekierowania. > Kiedy teraz wpisuję w przeglądarce adres: http://localhost/~robert/announcement/index to dostaję > Not Found > The requested URL /index.php/announcement/index was not found on this server. A bez serwowania z UserDir, tylko bezpośrednio pod domeną działa? -- Borys Pogoreło borys(#)leszno,edu,pl
Technical Details
Message-ID:
<9tou7x9l1dny$.1ts5emiatrygn.dlg@40tude.net>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.promontel.net.pl!not-for-mailReferences:
<bbcc83df-6585-4c03-b4e7-20659bc197ac@googlegroups.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.promontel.net.pl!not-for-mail From: Borys Pogoreło <borys@pl.edu.leszno> Newsgroups: pl.comp.www Subject: Re: Apache2 próbuje pobierać z /var/www zamiast ~/public_html Date: Wed, 24 Jun 2015 20:16:55 +0200 Organization: snafu Lines: 20 Message-ID: <9tou7x9l1dny$.1ts5emiatrygn.dlg@40tude.net> References: <bbcc83df-6585-4c03-b4e7-20659bc197ac@googlegroups.com> NNTP-Posting-Host: ani176.neoplus.adsl.tpnet.pl Mime-Version: 1.0 X-Trace: thunar.promontel.net.pl 1435169795 29052 83.26.90.176 (24 Jun 2015 18:16:35 GMT) X-Complaints-To: abuse@promontel.net.pl NNTP-Posting-Date: Wed, 24 Jun 2015 18:16:35 +0000 (UTC) User-Agent: 40tude_Dialog/2.0.14.1pl X-fnord: obey. Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit