#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Location
    Seoul, Corea
    Posts
    10
    Rep 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.

  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    >>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).]

IMN logo majestic logo threadwatch logo seochat tools logo