[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Apache fejlhåndtering



Jeg har kreeret en lille php-side, som der skal være local redirects til ved
fejl, min httpd.conf ser således ud:

# Customizable error response (Apache style)
#  these come in three flavors
#
#    1) plain text
#ErrorDocument 500 "The server made a boo boo.
#  n.b.  the (") marks it as text, it does not get output
#
#    2) local redirects

ErrorDocument 400 /error_http.php?err=400
ErrorDocument 404 /error_http.php?err=404
ErrorDocument 401 /error_http.php?err=401
ErrorDocument 404 /error_http.php?err=404
ErrorDocument 403_8 /error_http.php?err=4038

Mit spørgsmål er nu, er der ikke en måde man kan lave en generel
ErrorDocument-linie, som virker for alle og referer til siden, med den
rigtige $err.

Håber det er forståeeligt ;)

MVH
Marco Tecedor @ TrippeT.dk

- I need a woman that can come over, cook me dinner, give me a back rub and
recompile my kernel -



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 21:38 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *