![]() |
|
#1
|
|||
|
|||
probelm with apache redirection configurei have apache 2.0.46 installed on win2000
i wanted to control the 404 redirection and i have made a ".htaccess" file with the lines : ErrorDocument 500 /error.htm ErrorDocument 404 /error.htm ErrorDocument 401 /error.htm ErrorDocument 403 /error.htm and made the error.htm file but is isnt working!!! why?can any 1 help ?thanks in advance Peleg |
|
#2
|
||||
|
||||
|
Hello pelegk2,
Check to see if your httpd.conf settings are set up to 'ignore' .htaccess files. Refer to this thread if you are not certain about this: http://www.desilva.biz/forum/viewtopic1542.php __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#3
|
|||
|
|||
i did so but...............it didnt helo!!!
do i have to do anything with this part of the httpd.conf : # Alias /error/ "@exp_errordir@/" # # <Directory "@exp_errordir@"> # AllowOverride None # Options IncludesNoExec # AddOutputFilter Includes html # AddHandler type-map var # Order allow,deny # Allow from all # LanguagePriority en cs de es fr it nl sv pt-br ro # ForceLanguagePriority Prefer Fallback # </Directory> # # ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var # ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var # ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var # ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var # ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var # ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var # ErrorDocument 410 /error/HTTP_GONE.html.var # ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var # ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var # ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var # ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var # ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var # ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var # ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var # ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var # ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var # ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var |
Recent GIDBlog
Last Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| apache php no longer working (MX??) XP?? | ChicoMendez | Apache Web Server Forum | 5 | 30-Aug-2004 10:51 |
| SE Friendly URLs Apache Bug? | JamesRxx555 | Web Hosting Forum | 18 | 18-May-2004 04:50 |
| Configure Apache Accessable by using my static ip? | infolock | Apache Web Server Forum | 0 | 10-Dec-2003 14:59 |
| Apache In Windows Xp | JUNK KED | Apache Web Server Forum | 8 | 30-Nov-2003 08:48 |
| Apache multiple localhosting - desperate! | jnorris | Apache Web Server Forum | 8 | 23-Nov-2003 23:55 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The