Operating System - HP-UX
1825160 Members
2346 Online
109679 Solutions
New Discussion

Apache Web Server :: Don't have permission

 
Kyle Brown_1
New Member

Apache Web Server :: Don't have permission

I have installed apache2 web server and started it. I am able to navigate using my windows navigator to the /manual directory. But can't see the root directory. My httpd.conf file user www group www and user www owns all files under /usr/local/apache2.
The browser gives an error no permission on this server. Any suggestions would be appreciated.
Kyle Brown
1 REPLY 1
Tom Jackson
Valued Contributor

Re: Apache Web Server :: Don't have permission

Kyle:

Edit /conf/httpd.conf. Find the keyword DocumentRoot. Set it's value to the disk location where you want apache to look when it serves files. I.E. DocumentRoot /datadisk/someDir. This is your htdocs directory.

You also need to set the following before setting the DocumentRoot:




Read the comments inside httpd.comf. Also look at the apache doco.

Also look at the permissions on your htdoc directory.

hth,

Tom