On 2015-07-07 13:58, Prakash Premkumar wrote:

I added my Set Handler as follows

<IfModule example_module>
     <Location /*>
         SetHandler example_module
     </Location>
</IfModule>

when I try to access localhost/ , I get "It Works!" screen.

But when I try to access some path in localhost like localhost/asd I get
the following error

Forbidden

You don't have permission to access /asd on this server. Server unable to
read htaccess file, denying access to be safe

Can you please help me solve this ?

I think the problem is not the code but the conf.

<Location /*> does not match /asd. Check http://httpd.apache.org/docs/2.4/mod/core.html#location

Use <LocationMatch ^/.*> instead.

Sorin



Reply via email to