httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "TD - Sales International Holland B.V." ...@salesint.com>
Subject Re: CGI-BIN & Perl scripts
Date Fri, 25 Jan 2002 12:32:04 GMT
On Friday 25 January 2002 13:21, you wrote:

Sorry, forgot to mention I have also tried
Options +ExecCGI in the Directory container.

regards

> Hey there,
>
> I made a simple perl script like this:
> #!/usr/bin/perl
> print "Content-type: text/html\n\n";
> print "<HTML><BODY>bla bla</BODY></HTML>
>
> file is name test.pl, permissions
> -rwxr-xr-x root, root, other
> ./test.pl 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
> </Directory>
>
> when going to
> http://myserver/cgi-bin/test.pl
> 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:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message