Article View: pl.comp.www
Article #408518Re: usuwanie index.php z URL
From: Jivanmukta
Date: Wed, 05 Oct 2016 06:28
Date: Wed, 05 Oct 2016 06:28
50 lines
2223 bytes
2223 bytes
Borys Pogoreło wrote: > Dnia Tue, 04 Oct 2016 09:22:22 +0200, Jivanmukta napisał(a): > >> RewriteRule ~(.*)$ /index.php/$1 [L,QSA] > > Zacznij od poprawienia tego powyżej na ^(.*)$ > Dzięki. Teraz mam: [Wed Oct 05 07:26:36.514786 2016] [:error] [pid 1669] [client ::1:49901] script '/var/www/html/index.php' not found or unable to stat [Wed Oct 05 07:38:05.712066 2016] [core:crit] [pid 1672] (13)Permission denied: [client ::1:49937] AH00529: /home/robert/public_html/.htaccess pcfg_openfilek:: unable to check htaccess file, ensure it is readable and that '/home/robert/public_html/' is executable W .htaccess mam: RewriteBase /~robert/ Problem się zrobił jak bawiłem się .htaccess i zupgradowałem Linuxa Mint. Mój .htaccess ma atrybuty -rw-rw---- 1 robert robert 530 paź 5 07:49 Mój userdir.conf wygląda tak: <IfModule mod_userdir.c> UserDir public_html UserDir disabled root <Directory /home/*/public_html> AllowOverride All Options ExecCGI # AllowOverride FileInfo AuthConfig Limit Indexes Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec <Limit GET POST OPTIONS> Order allow,deny Allow from all # Require all granted </Limit> <LimitExcept GET POST OPTIONS> Order deny,allow Deny from all # Require all denied </LimitExcept> </Directory> </IfModule> # vim: syntax=apache ts=4 sw=4 sts=4 sr noet Pomóż proszę, obiecuję że już się nie będę bawił .htaccess...
Technical Details
Message-ID:
<nt26hj$1m86$1@gioia.aioe.org>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!news.mixmin.net!aioe.org!.POSTED!not-for-mailReferences:
<nsvlbe$1juq$1@gioia.aioe.org> <1o42iz4jwae3p.kkqf2y8f9gyf.dlg@40tude.net>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: Jivanmukta <jivanmukta@poczta.onet.pl> Newsgroups: pl.comp.www Subject: Re: usuwanie index.php z URL Date: Wed, 05 Oct 2016 08:28:02 +0200 Organization: Aioe.org NNTP Server Lines: 50 Message-ID: <nt26hj$1m86$1@gioia.aioe.org> References: <nsvlbe$1juq$1@gioia.aioe.org> <1o42iz4jwae3p.kkqf2y8f9gyf.dlg@40tude.net> NNTP-Posting-Host: f0bD4/Sv73Mq1HF2eixqkA.user.gioia.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: KNode/4.14.2 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit