On Tuesday 08 January 2002 17:55, Kingsly John wrote:
> On Tue, 8 Jan 2002, Vinu Moses wrote:
> |I'm unable to configure two ScriptAlias directories for the same
> | website.
>
> Must be syntax error of somekind... check for the trailing slashes.
The logs don't show any error. The second ScriptAlias directory only works
if I add the directive "AddHandler cgi-script .cgi". The default
ScriptAlias directory works without this. Is it possible to enable multiple
ScriptAlias directories without using the AddHandler directive?
The relavent bits from the httpd.conf file is given below:
ScriptAlias /netsaint/cgi-bin/ "/var/www/netsaint/cgi-bin/"
<Directory "/var/www/netsaint/cgi-bin">
AuthType Basic
AuthName "Netsaint Authorisation"
AuthUserFile /etc/netsaint/http-passwd
Require valid-user
AllowOverride None
Options ExecCGI
</Directory>
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
<Directory "/var/www/cgi-bin">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
Regards,
Vinu.
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help