Apache szivacs

Fórumok

Apache szivacs

Hozzászólások

Érdekes módodn megoldódott a dolog, ha azt írom be
hogy http://sajatdomai.hu/404hiba.html
akkor megtalálja.

Mér' van az hogy az a szottyadt Apache
nem az általam mutatott ErrorDocumentet hozza be,
hanem a szokásos "The page cannot be found" jelenik meg ????? :twisted: :twisted: :twisted: :twisted:

A http.conf-ban :
ErrorDocument 404 /404hiba.html
apachectl restart
De nem működik : "The page cannot be found"
apachectl stop
apachectl start
Után is a szokásos "The page cannot be found".
A /404hiba.html létezik a DocumentRoot-ban van
de ha fájlrendszerbe másolom bárhová
és helyi elérési utat adok neki(/home/www/404hba.html) akkor se hozza be.

ErrorDocument 404 "nincs meg az a q...... oldal"
+újraindítás után is : "The page cannot be found" !!!!

Ha pl: http://ize.hu/ttz.html ahol a ttz.html nem létezik, azaz 404-es
hibát generál,
az error.log: File does not exists bejegyzéssel bővül
és az acces.log pedig /ttz-html-el.
Nincsenek virtuális hosztok.

Debian 3.0, apt-get install apache.

???????

cat /usr/local/etc/apache/httpd.conf | grep ErrorDocument

#ErrorDocument 500 "The server made a boo boo.
ErrorDocument 404 /missing.php
#ErrorDocument 404 /cgi-bin/missing_handler.pl
#ErrorDocument 402 http://some.other-server.com/subscription_info.html
# ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi

nekem ennyi van, a DocumentRoot-ban van a missing.php

tokeletesen mukodik.

[quote:4732604069="trey"]cat /usr/local/etc/apache/httpd.conf | grep ErrorDocument

#ErrorDocument 500 "The server made a boo boo.
ErrorDocument 404 /missing.php
#ErrorDocument 404 /cgi-bin/missing_handler.pl
#ErrorDocument 402 http://some.other-server.com/subscription_info.html
# ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi

nekem ennyi van, a DocumentRoot-ban van a missing.php

tokeletesen mukodik.

T'om hogy ez kell, de mégsem működik.
Ma napoztam rá egyett és újra megnézem hátha vlmi elgépeltem.

u.i.: Volt már, hogy a pár ezer soros perl program
se adott hibaüzenetett, de egy rossz pontosvessző miatt
nem jól működött....

Gy

A Page cannot be found alatt a bongeszo idevago "bo lere eresztett" sajat hibauzenetet erted?

Ha igen, akkor a bongeszo beallitasaban van a hiba (kapcsold ki a friendly http error messages-t).