[Techtalk] Apache: different handlers in a directory

John Clarke johnc+linuxchix at kirriwa.net
Fri Mar 11 15:41:22 EST 2005


On Fri, Mar 11, 2005 at 03:21:32 +1100, Mary wrote:

> However, this doesn't:
> 
>     ScriptAlias /cgi-bin/ "/var/www/cgi-bin"
> 
>     <Directory "/var/www/cgi-bin">
>         SetHandler fastcgi-script
>         Options +ExecCGI
>     </Directory>
> 
>     <Files "/var/www/cgi-bin/exceptionScript">
>         SetHandler cgi-script
>         Options +ExecCGI
>     </Files>

Have you tried reversing the order i.e. putting exceptionScript first? 
It's only a guess, but maybe Apache uses the first rather than best
match.


Cheers,

John
-- 
Somehow I don't visualise an old IBM-PC as being powered by a
ferret; more like a severely emaciated hamster. Apple Macs, of
course, are powered by about 20 roaches working as a team.
            -- Tanuki


More information about the Techtalk mailing list