Apache 403 Forbidden Linux – Solution
If you are moving or copying a site to another directory on your server then it might happen that you can no longer access your site.
A 403 error message will popup. How can that happen, you copied the exact same files?!
The reason is simple, once you copy the files they no longer have execute permission. To display your web files, a file requires execute permission!
Apache 403 forbidden fix:
chmod a+x would give all (user group and others) execute permission
Example:
If you have a directory like /here/abc/ then you got to run this query:
chmod -R a+x /here/abc/
I hope that solves your 403 forbidden problem!
Like our posts? Then subscribe via Mail:
Similar Posts:
- SQL: Select table entries with the same value
- Move Wordpress Blog To A New Host Or Domain
- WinSCP: Define a shell – sudo
- Emergency Plan B – Wordpress Mass Attack
- Apache “Under Construction” with exceptions
Socialize:
|
|











Leave your response!