Ask Your Question

forbidden You don't have permission to access / on this server

asked 2013-09-02 02:24:53 +0000

marquessbr gravatar image

updated 2013-09-02 14:08:47 +0000

wy I get the "Forbidden You don't have permission to access / on this server." msg, when I type "http://localhost" in my webbrowser, I try to change the DocumentRoot directive in my "conf/httpd.conf" file, but nothing work?


edit retag flag offensive close merge delete



are you restarting the httpd service everytime you make a change?

I think the command you are looking for is:

sudo systemctl restart httpd.service

hmaarrfk ( 2013-09-02 03:01:55 +0000 )edit

yes, Im restart the service all time I make changes, my command is "# service httpd restart" it is the same?

thank's for the response!

marquessbr ( 2013-09-02 16:27:04 +0000 )edit
  • Is SELinux in enforcing mode?
  • Can you paste the <Directory>, <Location>, and other relavent parts of your httpd config?
jduncan ( 2013-09-06 03:38:55 +0000 )edit

Yes, it is the 'same' command (service call systemctl)

shaiton ( 2013-09-06 07:26:07 +0000 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-09-06 12:03:05 +0000

marquessbr gravatar image

[SOLVED] I resolved this seting 755 permission to the user directory thank's for all!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

1 follower


Asked: 2013-09-02 02:24:53 +0000

Seen: 3,952 times

Last updated: Sep 06 '13