Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: uma on July 19, 2024, 07:32:28 AM

Title: website url end with 'blog' gives error of Forbidden
Post by: uma on July 19, 2024, 07:32:28 AM
Hello,

when any website url end with blog then apache given error of 403 Forbidden as under:

For example: https://www.websitename.com/myown-blog

Error:
Forbidden
You don't have permission to access this resource.


When we rename url ending from blog to blogs then it is working fine without any issue.

I tried with disable mod security and firewall but issue remain same hence it is not mod_security or firewall issue.

It would be appreciate if any one can guide to solve issue.

Regards,
Title: Re: website url end with 'blog' gives error of Forbidden
Post by: uma on May 28, 2025, 10:47:23 AM
Dear All

Any update?
still remain same with different OS and CWPPRO

please help.
Title: Re: website url end with 'blog' gives error of Forbidden
Post by: overseer on May 28, 2025, 10:56:16 AM
Details are scant. Are you checking the domain error logs? What OS are you on? CWP Pro? Are you running under php-fpm or PHP CGI? Is this Wordpress? It wouldn't seem to be default behavior. Have you put in redirects that might come into play here?
Title: Re: website url end with 'blog' gives error of Forbidden
Post by: uma on June 06, 2025, 11:37:01 AM
Dear team,

close this thread as issue occurred due to custom apache config.

issue resolved and now working fine.

Thank you for support.
Title: Re: website url end with 'blog' gives error of Forbidden
Post by: overseer on June 06, 2025, 12:39:32 PM
Kind of figured that was the case. Wondering if it was an overly hungry pattern match trying to lock down .log files -- catching anything ending in -log = blog.
Title: Re: website url end with 'blog' gives error of Forbidden
Post by: uma on June 06, 2025, 01:06:33 PM
Yes. some <FileMatch regexpress went wrong .