|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi everyone.
I'm trying make my homepage with some cgi script. I'm worn out to have to open and show /logs/error.log file whenever cgi script raise error. ASP or PHP redirect script error message to browser. But the script that I'm working with(python) cannot do like there. Is there any option in Apache configuration allow redirect script error message(500)? Help me. |
|
#2
|
|||
|
|||
|
>>Is there any option in Apache configuration allow redirect script error message(500)?
Start here -> http://www.apache.org/docs/mod/mod_cgi.html#scriptlog But it doesn't do the redirection for you. If there are many users on the server, you need to somehow figure out which line to grep from the log and preferably putting a link on the 500 error page to link to the appropriate error message. The problem is that, it doesn't support individual log based on the user. If .htaccess is included in "Context: server config", it would be alot better. So at this time, you can only specify one common log. [This message has been edited by freebsd (edited October 28, 2000).] |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > How can I redirect 500 error message to internet browser? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|