Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Disable mod_rendezvous to solve Apache cgi-bin problems System
I was having problems getting script in Apache's cgi-bin path (/Library -> WebServer -> CGI-Executables) to run - I always received an error, despite the configuration and permissions being correct.

After reading the forums, the last message on this thread provided a somewhat obscure solution: Disabling mod_rendezvous; it worked! Not sure what conflict it causes, and probably moving the commands elsewhere in the config file might solve it, but if you're having problems and don't know why, give this a try.

    •    
  • Currently 1.67 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[5,234 views]  

Disable mod_rendezvous to solve Apache cgi-bin problems | 5 comments | Create New Account
Click here to return to the 'Disable mod_rendezvous to solve Apache cgi-bin problems' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Disable mod_rendezvous to solve Apache cgi-bin problems
Authored by: seancorfield on Jun 03, '03 01:50:34PM
Seems very strange to me that mod_rendezvous could have anything to do with cgi-bin behavior... However, I did notice that the default permissions on printenv etc in the CGI-Executables folder were 664 when they need to be 775 (well, they need to be executable!).

http://localhost/cgi-bin/printenv didn't work for me until I did this:

sudo chmod +x /Library/WebServer/CGI-Executables/*

---
"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood


[ Reply to This | # ]

Nope
Authored by: sebastienb on Jun 03, '03 01:56:04PM

That wasn't it; the permissions were definitively correct (in fact, it ran perfectly right after disabling mod_rendezvous, without any changes to permissions).

I have encountered other similar problems where moving the 'offending' command elsewhere up the list solved the problem; I just didn't try it here.



[ Reply to This | # ]
Disable mod_rendezvous to solve Apache cgi-bin problems
Authored by: gxw on Jun 03, '03 09:55:19PM

Read another hint = either here or on O'Riley's site that said
the order if some of the stuff in Apache's config file(s) makes a big difference. IIRC Rendezvous options needed to come last.
If the hint was not here it might be in the OS X webdav tutorial on O'Riley's site.



[ Reply to This | # ]
Disable mod_rendezvous to solve Apache cgi-bin problems
Authored by: porkchop_d_clown on Jun 04, '03 08:47:47AM

In my httpd.conf, rendezvous was the very last bit in the file. I'm glad I didn't change that!

---
Everyone loves a clown, but no one will lend him money!



[ Reply to This | # ]
Disable mod_rendezvous to solve Apache cgi-bin problems
Authored by: ekimsknird on Jul 28, '03 03:30:04PM

!@$$!!! THE FILE IS THERE AND EXECUTABLE! I went in and turned off rendevzvous, but still no results. I have this counter that PERL just can't seem to find or execute. Anyone have any other ides? Anyone actually have OSX (Not server) running custom CGI? What is the correct path for the cgi-bin alias? This should be working! The come-with scripts work... HELP!!!

Processing config directory: /private/etc/httpd/users
Processing config file: /private/etc/httpd/users/ftpuser.conf
Processing config file: /private/etc/httpd/users/mikedrinks.conf
[Sun Jul 27 11:09:08 2003] [notice] Apache/1.3.27 (Darwin) configured -- resuming normal operations
[Sun Jul 27 11:09:08 2003] [notice] Accept mutex: flock (Default: flock)
[Sun Jul 27 11:09:40 2003] [error] (2)No such file or directory: exec of /Library/WebServer/CGI-Executables/counter.cgi failed
[Sun Jul 27 11:09:40 2003] [error] [client 68.34.xxx.xxx] Premature end of script headers: /Library/WebServer/CGI-Executables/counter.cgi
[Sun Jul 27 11:10:20 2003] [error] (2)No such file or directory: exec of /Library/WebServer/CGI-Executables/counter.cgi failed
[Sun Jul 27 11:10:20 2003] [error] [client 127.0.0.1] Premature end of script headers: /Library/WebServer/CGI-Executables/counter.cgi



[ Reply to This | # ]