I think it’s the L in your rewrite rule.

It stands for Last and means it won’t process any further rules. Remove it and 
it should (maybe) work.

Someone else feel free to correct me if I’m wrong.


> On Feb 5, 2019, at 8:55 PM, Jayaram Ponnusamy <jayaram.ponnus...@gmail.com> 
> wrote:
> 
> Dear All,
> Our Site is Public Site and there is no restriction @ any level. We are using 
> apache on top of Java based CMS (Tomcat Server).
> Recently we upgraded Apache from 2.2.21 to 2.4.25. Where ever     Order 
> allow,deny & Allow from all coming there we changed it to Require all granted 
> but root page only loading without any issue. We are getting 403 Forbidden 
> Message on Rest of the Pages. Kindly please help how to enable permission to 
> all folder and its subfolders in 2.4.25.
> 
> For Example:
> Working:
> http://domain.com/sites
> 
> Notworking:
> http://domain.com/newsroom
> http://domain.com/events
> http://domain.com/about
> & Other pages
> 
> RewriteEngine on
>         RewriteRule ^/+$ /sites/  [R,L]
>       DocumentRoot "/apps/apache2.4"
> <Directory />
>     Options FollowSymLinks
>     AllowOverride None
>       Require all granted
> </Directory>

Reply via email to