On 10/24/2012 3:31 AM, pangj wrote:
Hello,

I have setup a handler under the root dir, i.e, http://example.com/
Can I setup another handler under the sub-path of root dir, for example,
http://example.com/path/  ?

Thank you.

Yeah, I believe you can.  I have a setup like this, inside a <VirtualHost>:


PerlModule Quote
<Location /quote>
        PerlSetupEnv Off
        SetHandler modperl
        PerlResponseHandler Quote
        Order allow,deny
        Allow from all
</Location>

<Location /quote/css>
        SetHandler default-handler
        Allow from all
</Location>

<Location /quote/js>
        SetHandler default-handler
        Allow from all
</Location>

Alias /quote/css /pub/www/quote/css
Alias /quote/js /pub/www/quote/js


In this case I'm resetting to the default-handler, but I don't see why you couldn't set it to another perl handler.

-Andy

Reply via email to