River Tarnell wrote:
1. How do I run
perl scripts on the toolserver?
i assume from the subject you're talking about Perl CGI scripts. either put
them in ~/public_html/cgi-bin, or put them in ~/public_html and name them with
a .cgi extension. in either case they have to be executable.
I guess .cgi in ~/public_html is not executable be default. my browser
just showed me the source code.
After I created a .htaccess with
Options FollowSymLinks ExecCGI MultiViews
AddHandler cgi-script .cgi .pl
it works now.
in this case, the problem is your script has Windows line endings.
- -su: ./grep_regexp_from_url.cgi: /usr/bin/perl^M: bad interpreter: No such file or
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.
did the job, and now everything works fine.
2. Is it
possible to use .htaccess-files?
I tried to redirect my errorlogs but failed.
you'll have to be more specific.
did not put the above mentioned 500-errors into /home/seth/logs/error.log
3. 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
I tried another one, too, but
bash: cd: /var/log/apache2/: Permission denied
it's a wiki, so if there's useful information that isn't already there, feel
free to add it.
Ok, I'll do that after everything is clear.