Chi Kien Uong
Geranienstraße 30
71034 Böblingen
Deutschland / Germany
|
If you are not registered or logged in, you may still use these forums but with limited features.
Show recent topics
|
|
|
Author |
Message |
20/04/2002 23:58:20
|
Anonymous
|
I instaed the script 4 times but doesn't want to work.
I have http 500 internatl server error.
Any one can help me out. What should i do.
|
|
23/04/2002 01:43:05
|
Anonymous
|
hi,
the reason of such errors usually are
1)incorrect file permissions(CHMOD UNIX/Linux) only
open up "download.pl" and set the first line to the correct perl path
#!/usr/bin/perl //change this line if you have to with the correct path)
also you must use the full url
http://www.yourdomain.com/cgi-bin/download.pl?admin=enter
if your server is apache take a look at "httpd.conf" the cgi setup section if you are on a *nix system you will find everything you need (filepermissions) *pl files usually need CHMOD 755 that means the owner eg root can read write and excute but nobody elses can write to the file
also your server error log will give your more information about this error did you know you can debug perl scripts at a (windows prompt windows type
perl -d scriptnaam.pl if you don't see errors everything is ok (first navigate into the correct dir where the cript is located.
succses :D
|
|
|
|
|
|
Based on the open source JForum
|