Systemwide CGI-BIN -> CGI-SBIN

Marco-Paul

New member
Joined
Nov 2, 2006
Messages
4
Hello Everybody,

I have configured the cgi-sbin (var/www/cgi-bin) in the httpd conf, I removed the #.

With Putty I placed a test file in the var/www/cgi-bin named monitor.pl

Now is the question: when I go to
http://www.medikaat.nl/cgi-sbin/monitor.pl

I get an internal server error

But when I go to:
http://85.92.140.52/cgi-sbin/monitor.pl
the IP of our dedicated server, it works!

What am I doing wrong?

FYI: chmod = 755, chown = root:root but changing chown to apache:apache doesn't help.

Thank you in advantage.

Marco-Paul
 
You mean this part>

Hello,

Thank you for your reaction.

Do you mean this part?:

ScriptAlias /cgi-sbin/ "/var/www/cgi-bin/"
<Directory "/var/www/cgi-sbin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>

Greetings, MP
 
I'm not sure why sometimes you write cgi-sbin and other times you write cgi-bin . Is that a typographical error? Or do you want the spelling to be different?

Have you checked the user-specific httpd.conf file (it's at /usr/local/directadmin/data/users/USERNAME/httpd.conf) to see if it's got its own cgi-bin alias?

Jeff
 
Back
Top