Kees Vonk 7249 24549 wrote:
> 
> I just ran into a problem I don't understand:
> 
> I was testing a PerlAccessHandler on a cgi (not modperl)
> directory like this:
> 
> <Directory /my/user/directory>
>    SetHandler perl-script
>    PerlAccessHandler My::Access
> </Directory>

What about the normal cgi stuff such as:

ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"

<Directory "/home/httpd/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>

are these correctly set ? - by the looks of it you are being given the
file - it is not being executed by apache, hence this appears not to be
a mod_perl problem.

Greg

ps could be completely wrong!

> 
> when I tried to access a cgi script and got passed the access
> control I got a message box saying:
> 
> Unknown File Type
> You have started to download a file of type
> application/x-httpd-cgi
> 
> However when I comment out the SetHandler everything works as
> intented.
> 
> Can anyone explain this to me or point me to somewhere where
> this is explained. (It is probably something very simple, but
> I must be overlooking it.)
> 
> Thank you very much,
> 
> Kees

Reply via email to