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


Login with username, password and session length

Search

 
Advanced search

8054 Posts in 1860 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: CalendarScript on OS 10.3 Server  (Read 299 times)
0 Members and 1 Guest are viewing this topic.
pacad
Guest
« on: June 09, 2004, 09:39:00 AM »

I seem to be having a problem using OS X Server to serve CalendarScript. If I use terminal to execute the script, it works fine and terminal spits back an html document which is exactly what should show up on the internet when the script is run. However, when trying to use from a browser (Safari and Internet Explorer) over the internet, a 500 Internal Service Error is returned. The scrips are all unziped into the CGI-Executables folder (which is the default cgi-bin folder on OS X Server) and should work. I'm guessing that some of the permissions might be wrong, but I have tried a CHMOD on both script files and on the calendarscripts folder several times. When I went to the Apache error log, here is what it had on the issue:
[Wed Jun  9 10:25:44 2004] [error] (2)No such file or directory: exec of /Library/WebServer/CGI-Executables/calendar.pl failed
[Wed Jun  9 10:25:44 2004] [error] [client 172.16.0.5] Premature end of script headers: /Library/WebServer/CGI-Executables/calendar.pl
Has anyone else had this issue or know how to fix it?
Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 235

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


WWW
« Reply #1 on: June 09, 2004, 12:32:00 PM »

Usually when a CGI script will run from the commend line but won't run in a browser, incorrect file or directory permissions is the cause, however...

** No such file or directory: exec of /Library/WebServer/CGI-Executables/calendar.pl failed **

That looks more to me that the files are not in the correct location to be run from the web server. I don't know where you'll have to put them on your server, you'll have to check the server software's documentation.

Dan O.

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

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