Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 28th, 2000, 10:16 AM
Vladimir Monpetit Vladimir Monpetit is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Location: Seoul, Corea
Posts: 10 Vladimir Monpetit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 56 sec
Reputation Power: 0
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.


Reply With Quote
  #2  
Old October 28th, 2000, 04:09 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>>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).]

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > How can I redirect 500 error message to internet browser?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway