> -----Original Message-----
> From: Ray Zimmerman [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 13, 2001 4:10 PM
> To: modperl List
> Subject: baffled by <Directory> vs. <Location> problem
>
>
[snip]
>
> When I put the following in my httpd.conf ...
>
> <Location /hello>
> SetHandler perl-script
> PerlHandler Apache::Hello
> </Location>
>
> .... and access the same URL, mod_perl handles it. But if I
> change the
> entry in httpd.conf to ...
>
> <Directory /home/ray/www/hello>
> SetHandler perl-script
> PerlHandler Apache::Hello
> </Directory>
>
> .... it goes back to executing the CGI.
Do you have an Alias set up for /home/ray/www/hello?
make sure you do and that it's not a ScriptAlias. you may also want to
check your AddHandler directive and remove the .cgi entry if there is one -
looks like mod_cgi is stepping in where you don't want it to...
HTH
--Geoff