Hi!
Daniel Kinzler wrote:
seth schrieb:
River Tarnell wrote:
I guess .cgi in ~/public_html is not executable be default. my browser just showed me the source code.
Did you indeed set the x bit?
yes, it was (and still is) set: -rwxr-xr-x+
$ ./grep_regexp_from_url.cgi - -su: ./grep_regexp_from_url.cgi: /usr/bin/perl^M: bad interpreter: No such file or directory
Oops, I feet a bit sheepish about that. I did not know that $ perl grep_regexp_from_url.cgi works even when the line endings are dos-styled.
That'S because *perl* doesn't have a problem with them. It's whatever bit of linux is looking at the "shebang" line [...] to find out what interpreter to use. It reads the Windows line ending as part of the interpreter's name (which is very very silly, but that's how it is).
oic!
- How can I look at the apache errorlogs?
access and error logs are in /var/log/http
bash: cd: /var/log/http: No such file or directory
Try this on the web server (hemlock), not on nightshade.
ah, ok.
bye seth