You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jayaram Ponnusamy <ja...@gmail.com> on 2019/12/04 09:39:17 UTC

[users@httpd] Apache 2.4 - 403 Forbidden: After Upgraded the Apache from 2.2.21 to 2.4.25 for all links

Hello,

We have recently upgraded the Apache from 2.2.21 to 2.4.25 on RHEL6.9. Our
Server Architecture is
*(F5 [For Load Balance] -> Apache WebServer [For Redirection & URL Mapping]
-> Tomcat AppServer [Running a Java Based CMS]).*
We are using Apache to connect Tomcat by MOD_JK and mapping the URL
(Attached VirtualHost.conf), and No applications/code are running on
WebServers.

PROBLEM:
After upgraded the Apache We have updated the Apche 2.4 Parameters like
from "Allow from all" to "Require all granted". (Attached httpd.conf
content)

Primarly our All URLs will starts with /sites and static_files will be
starts with /file_system or /sf. So, these urls are working without any
issue.
Apart from that if any other values for example http://site.com/news then
its redirect to 403 page. Even we added below item in both httpd.conf &
virtualhost.

<Directory /opt/apps/shared/file_system>
    AllowOverride None
    Require all granted
</Directory>

Due to this issue, we still running our site with Apache 2.2.21. Kindly
please let me know what i missed to Correct.

-- 

*Thanks & Regards,*
*Jayaram*

Re: [users@httpd] Apache 2.4 - 403 Forbidden: After Upgraded the Apache from 2.2.21 to 2.4.25 for all links

Posted by "Gillis J. de Nijs" <gi...@jink.net.INVALID>.
Did you read the upgrade guide at
http://httpd.apache.org/docs/2.4/upgrading.html ?  It outlines the changes
in authorization and access control.  I didn't read your configurations,
but this might be a good starting point to get you going.

Kind regards,
Gillis

Re: [users@httpd] Apache 2.4 - 403 Forbidden: After Upgraded the Apache from 2.2.21 to 2.4.25 for all links

Posted by Jayaram Ponnusamy <ja...@gmail.com>.
Thanks for your support,

I find below errors from http_error.log: I Enabled proxy_module and its
working fine now.

[Thu Dec 05 09:14:06.444407 2019] [rewrite:error] [pid 10315:tid
140217512064768] [client 120.120.32.142:54809] AH00669: attempt to make
remote request from mod_rewrite without proxy enabled: proxy:
http://site.com/sites/en_US/about/newsroom/Press-no-pic, referer:
http://site.com/sites/


On Wed, Dec 4, 2019 at 3:09 PM Eric Covener <co...@gmail.com> wrote:

> > Apart from that if any other values for example http://site.com/news
> then its redirect to 403 page. Even we added below item in both httpd.conf
> & virtualhost.
>
> What does the error log say?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

-- 

*Thanks & Regards,*
*Jayaram Ponnusamy*
Mobile: +974-5512-3315

Re: [users@httpd] Apache 2.4 - 403 Forbidden: After Upgraded the Apache from 2.2.21 to 2.4.25 for all links

Posted by Eric Covener <co...@gmail.com>.
> Apart from that if any other values for example http://site.com/news then its redirect to 403 page. Even we added below item in both httpd.conf & virtualhost.

What does the error log say?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org