httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liyu,She" <>
Subject [users@httpd] Another "attempt to invoke directory as script" Error
Date Tue, 13 Mar 2007 07:48:43 GMT
Hi, everyone.

I am running Apache 2.2.3 on FreeBSD 6.1release.
I was trying to make the /cgi/ path indexed while visiting.
More specifically, I want anyone visiting /cgi/ would be
automatically redirected to /cgi/index.html

The related configuration part is:
    Alias /cgi/ "/sly/www/cgi/"

    <Directory "/sly/www/cgi/">
        Options Indexes ExecCGI FollowSymLinks
        AllowOverride None
        DirectoryIndex index.html
        Order allow,deny
        Allow from all
        SetHandler cgi-script

But I kept knocked off from the /cgi/ location with
 403 forbidden http status code. It says:


You don't have permission to access /cgi/ on this server.

I check log file and it says:

[Tue Mar 13 15:24:39 2007] [error] [client] attempt to
invoke directory as script: /sly/www/cgi/

I don't know why. I've searched a lot on google, but I can't find any answer.

Could anyone please help me on this?

Thanks a lot.


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

View raw message