Article View: pl.comp.www
Article #408237404 Page Not Found
From: jivanmukta
Date: Thu, 18 Jun 2015 12:09
Date: Thu, 18 Jun 2015 12:09
27 lines
2490 bytes
2490 bytes
Uczę się tworzyć dynamiczne witryny WWW. Napisałem na pl.comp.www.server-side, ale ta grupa jest chyba martwa więc piszę tutaj.
Przy próbie otwarcia http://www.xxx.com.pl/index.php/admin/index albo http://www.xxx.com.pl/index.php/announcement/index mam błąd:
404 Page Not Found
The page you requested was not found.
Oto mój apache2/error.log:
[Thu Jun 18 09:50:13 2015] [error] [client 178.43.26.81] request="GET /index.php/admin/index HTTP/1.1" pid=139822660326954 uid=3076128 gid=3076128
[Thu Jun 18 09:55:07 2015] [error] [client 178.43.26.81] request="GET /index.php/announcement/index HTTP/1.1" pid=139822660353178 uid=3076128 gid=3076128
W pliku .htaccess mam (ścieżki są poprawne):
#v+
ErrorDocument 401 "/home/users/xxx/public_html/denial.html"
AuthUserFile "/home/users/xxx/public_html/application/resources/.htpass"
AuthName "Strony zabezpieczone"
AuthType Basic
require valid-user
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.yyy.com.pl$ [NC,OR]
RewriteCond %{HTTP_HOST} ^yyy.com.pl$ [NC]
RewriteRule ^(.*)$ index.php [L,R=404]
#v-
Domena xxx jest inna niż yyy. Napisałem R=404, ponieważ chcę żeby błąd 404 wyświetlał się (tylko) dla domeny yyy.
Nie wiem co jest źle i dlaczego ten błąd. Proszę o podpowiedź.
Technical Details
Message-ID:
<130674dd-61b2-4780-9748-e3f3898f772d@googlegroups.com>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!newspeer1.nac.net!border2.nntp.dca1.giganews.com!nntp.giganews.com!z60no1907492qgd.1!news-out.google.com!k20ni2505qgd.0!nntp.google.com!z60no1907488qgd.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
X-Received: by 10.140.131.139 with SMTP id 133mr13358641qhd.10.1434629378832; Thu, 18 Jun 2015 05:09:38 -0700 (PDT) X-Received: by 10.140.33.202 with SMTP id j68mr192548qgj.41.1434629378800; Thu, 18 Jun 2015 05:09:38 -0700 (PDT) Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!newspeer1.nac.net!border2.nntp.dca1.giganews.com!nntp.giganews.com!z60no1907492qgd.1!news-out.google.com!k20ni2505qgd.0!nntp.google.com!z60no1907488qgd.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: pl.comp.www Date: Thu, 18 Jun 2015 05:09:38 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=83.24.152.140; posting-account=Fd8BNwoAAACl8PCi6-fI0bkHGOgt6LMa NNTP-Posting-Host: 83.24.152.140 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <130674dd-61b2-4780-9748-e3f3898f772d@googlegroups.com> Subject: 404 Page Not Found From: jivanmukta@poczta.onet.pl Injection-Date: Thu, 18 Jun 2015 12:09:38 +0000 Lines: 33 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit