Operating System - HP-UX
1837314 Members
2676 Online
110116 Solutions
New Discussion

Apache problem .. uggg .. !

 
SOLVED
Go to solution
someone_4
Honored Contributor

Apache problem .. uggg .. !

Hey everyone .. I have apache working and running and serving web pages.
But I am now trying to change the DocumentRoot
to read a differnt dir then the default one.
I changed DocumentRoot and
. But I get this error: Forbidden You don't have permission to access / on this server.
I am thinking it has something to do with

Options FollowSymLinks
AllowOverride None

any suggestions?
thanks

Richard
4 REPLIES 4
Kevin Wright
Honored Contributor

Re: Apache problem .. uggg .. !

This may seem obvious, but who owns the directory you are pointing the DocumentRoot to and what are the permissions on index.html?
someone_4
Honored Contributor

Re: Apache problem .. uggg .. !

root owns the dir.
But I did chmod on it to open it up to everyone. And the index file is open for everyone now too.
Kevin Wright
Honored Contributor
Solution

Re: Apache problem .. uggg .. !

be sure you have the Options Indexes FollowSymLinks
AllowOverride Limit
Order allow,deny
Allow from all

DirectoryIndex index.html index.htm
Steve Post
Trusted Contributor

Re: Apache problem .. uggg .. !

You should also check for r-x access for the user at all PARENT directories too. / /opt /opt/apache ...etc.