in reply to RE: RE: Re: Grabbing Data
in thread Grabbing Data

Hey guys,
I tried everything Mentioned above, still gettin the 500 error. I changed the shebang line to where the perl is located, but still no luck. I went to look for the log, but again, i no luck. I went to /var/log but no apache directory??
Thanks guys
Dipul

Replies are listed 'Best First'.
(ar0n) RE (5): Grabbing Data
by ar0n (Priest) on Oct 30, 2000 at 20:32 UTC
    Common locations for your apache log-dir are:
    • /home/httpd/logs/
    • /var/log/httpd/
    • /usr/local/apache/logs/
    And it wouldn't hurt actually searching for it yourself: find / -name error_log -print

    update
    Read jcwren's post below and ye shall learn how to harness the power of Grep, for it is truly powerful!

    [ar0n]

(jcwren) RE: (5) Grabbing Data
by jcwren (Prior) on Oct 30, 2000 at 20:35 UTC
    Usually, it's in /var/log, the directory will be called 'httpd', not 'apache'. So check the /var/log/httpd directory.

    If it's still not there, find the file called 'httpd.conf' (you may be able to use the locate command to find it. 'locate httpd.conf'), and grep for 'ErrorLog' and 'CustomLog'. These should tell you what directory the logs are placed in.

    But as mentioned above, the script, as written, is not meant to be a CGI script, but rather, a command line script. You'll need to add the aforementioned headers, plus possibly some other code, to get it to run as a CGI process.

    --Chris

    e-mail jcwren