httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "TD - Sales International Holland B.V.">
Subject CGI-BIN & Perl scripts
Date Fri, 25 Jan 2002 12:21:29 GMT
Hey there,

I made a simple perl script like this:
print "Content-type: text/html\n\n";
print "<HTML><BODY>bla bla</BODY></HTML>

file is name, permissions
-rwxr-xr-x root, root, other
./ works as expected
in httpd.conf:
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"

<Directory "/var/www/cgi-bin">
  AllowOverride None
  Options None
  Order Allow,Deny
  Allow from all

when going to
I just get the contents of the file, also html files can be served from the 
directory (although it doesn't recognize index files 
(myserver.tld/cgi-bin/index.html will show the index file but 
myserver.tld/cgi-bin/ will give no such file or directory). I was under the 
assumption anything in a scriptalias directory would be executed but it 
doesn't look like it....

Any ideas?

Kind regards

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message