Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8016 Posts in 1849 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: 500 Internal Server error  (Read 278 times)
0 Members and 1 Guest are viewing this topic.
doltish
Guest
« on: November 14, 2003, 07:53:00 PM »

Ok so I ran the install.bat file and everything installed ok to a directory inside my cgi-bin.  I followed the permissions instructions but I would always get that confounded 500 error.  When I run perl calendar.pl at the command line for the server I get the following error:

<B>ERROR:</B><BR>Your server does not provide the PATH_TRANSLATED or SCRIPT_FILENAME environment variables.<br><br>Please seet he installation documentation for how to set the $BASE_DIR variable manually.

I pico'd the files and uncommented that $BASE_DIR line and put in the path to my calendarscript dir (I also tried putting the path to the parent dir where the two pl files are stored) and when I go to run perl calendar.pl now I actually see the contents of the script outputted to the cmd line.  I also still get the 500 error.

I really don't have a clue what I'm doing wrong here...I've tried uploading the files manually and I'm pretty positive all my permissions are set correctly.  And my server has no limitations on 777 permissions or anything like that.

Any ideas?

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 217

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: November 15, 2003, 01:33:00 PM »

** when I go to run perl calendar.pl now I actually see the contents of the script outputted to the cmd line. I also still get the 500 error. **

That usually means incorrect file or directory permissions.

** everything installed ok to a directory inside my cgi-bin. **

Some server set ups don't allow data files to be located in the cgi-bin directory, just scripts. Check you host's CGI FAQs or ask their support.

Dan O.

------------------

Logged
doltish
Guest
« Reply #2 on: November 15, 2003, 06:17:00 PM »

Ok I tried installing it directly into my cig-bin instead of a folder inside the bin and it worked!  This has never been a problem with any other programs but whatever works works  :-P

Thanks for replying Dan I appreciate it.

Logged
Pages: [1]   Go Up
Print
Jump to: