-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

seth:
> 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.

> If a script does not work on the toolserver but works at my webserver at
> another server, how am I able to find the bug? Presently
> http://toolserver.org/~seth/cgi-bin/grep_regexp_from_url.cgi gives an
> internal server error 500.

in this case, the problem is your script has Windows line endings.

$ ./grep_regexp_from_url.cgi
- -su: ./grep_regexp_from_url.cgi: /usr/bin/perl^M: bad interpreter: No such 
file or directory

you should configure your text editor to save it with Unix line endings before
uploading it.

> 2. Is it possible to use .htaccess-files?

yes.

> I tried to redirect my errorlogs but failed.

you'll have to be more specific.

> 3. How can I look at the apache errorlogs?

access and error logs are in /var/log/http

> 4. Shall I put your answers to https://wiki.toolserver.org/view/Web_hosting?

it's a wiki, so if there's useful information that isn't already there, feel
free to add it.

        - river.
-----BEGIN PGP SIGNATURE-----

iD8DBQFJQd0AIXd7fCuc5vIRAvCRAJ9cLzAU6z5BoEhp2qNG+HDTeDyT7ACgwI7e
O6nmxxNRC2Hpl8FvIhVEgR8=
=rV56
-----END PGP SIGNATURE-----

_______________________________________________
Toolserver-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/toolserver-l

Reply via email to