Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-14-2006, 12:46 PM   #1
Registered: Jul 2005
Posts: 273

Rep: Reputation: 31
Forbidden - you dont have permission to access / on this server

Hello all,

As the title says, that's what i get when try to acceess my server. Here's the story.

I had apache up and working before all this happened. I was going to put a new site up. So i created my site, dumped it to a folder. And then moved it over to the /apache directory which is the directory that apache serves from.

No go.

I read somehwere it could be a problem when apache files get moved instead of copied. so to correct this. I totaly wiped out the apache directory, and recreated it. and copied everything over. nope still doesnt work.

checked my config file. nothing changed there. checked owners, and permissions, nothing changed there.

I dont know where to go from here. help.

thanks in advance.
Old 05-14-2006, 05:24 PM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,206

Rep: Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394
What is your DocumentRoot and what are the directories (full path) of your sites? Perhaps you can also post the relevant parts of your httpd.conf here.

Old 05-14-2006, 05:36 PM   #3
Registered: Jul 2005
Posts: 273

Original Poster
Rep: Reputation: 31
Oh man, I thought I posted it but I guess it didn't go thru. I found my error. I think it had to do when I moved everything from one directory to the other instead of copying it. I'm not 100%, but I read something about that from another website.

I did a couple things at once so I'm not totaly sure what fixed it but here's what I did, it may help someone in the future?

First I just wiped out my /apache directory. That was the directory that I made to have apache serve from.

I then took my backups and COPIED them over to the /apache directory. I made sure that my httpd.conf file pointed correctly to /apache.

I then completly stopped the httpd daemon and started it. I tried just restarting it, but it didn't take.

After that, I tried it again, and all seemed ready to go.

On a side note, I knew things where not right, as I have samba setup over here on my home network for ease of use to transfer and update my website. When I was updating, after I moved everything, I wasn't able to make changes, or let alone touch anything that I had moved. I never had that problem before, but again, I moved things from the linux command line instead of my normal windows/samba transfer.

Thanks to all,

Last edited by neocontrol; 05-06-2010 at 02:38 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Access headless server which dont boot ? erland Linux - General 3 07-27-2005 07:32 PM
Forbidden access to soft link on apache web server bnj Linux - Software 3 05-03-2005 09:14 AM
You dont have permission to view this server! Alexander.s Linux - Software 2 04-25-2005 05:45 PM
Forbidden access to apache server wisdom Linux - Software 2 12-25-2004 10:29 PM
After file oops ? Forbidden You don't have permission to access / on this server. leongoogs Linux - Newbie 3 04-13-2004 10:27 AM

All times are GMT -5. The time now is 06:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration