Apache 403 permission error

We have installed a LAMP server on CentOS 6.6, we are using a public IP, If we try to access directly to the root of the website (http://myIP) there isn't any problem, you can see the default apache html file but If I try to get access to a subdirectory (http://myIP/myFolder) we got this error:

You don't have permission to access /myFolder on this server.
Apache/2.2.15 (CentOS) Server at Port 80

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Seth SimmonsSr. Systems AdministratorCommented:
look at the file system - does the account running the httpd process have rights to read myFolder?
dimensionavAuthor Commented:
Seems like the root user is the one who has all the permissions and which is runnig the httpd process
dimensionavAuthor Commented:
I just noticed that mod_security was enabled , If I disable it everything works perfectly, I have checked logs and the problem seems something like the server has no domain but just only an IP.

Do you know how to configure a rule to allow just a public IP instead of a domain on mod_security?
Seth SimmonsSr. Systems AdministratorCommented:
seems something like the server has no domain but just only an IP

do you have that system defined in /etc/hosts?
if not, add it and also see if things work with mod_security

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.