httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sorin Manolache <sor...@gmail.com>
Subject Re: You don't have permission to access /asd on this server
Date Tue, 07 Jul 2015 18:54:16 GMT
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

>


Mime
View raw message