When starting apache I get the following message:
"Stopping httpd: [ OK ]
Starting httpd: Warning: DocumentRoot
[/home/auctrev/public_html] does not exist
[FAILED]"
I'm trying to set up several sites and get apache to
read documents from their respective
/home/*/public_html folders.
IIRC the permissions are set correctly:
"[root at naom home]# ls -l
total 72
drwxr-xr-x 3 auctrev auctrev 4096 Jun 2 11:31 auctrev
[root at naom auctrev]# ls -la
total 76
drwxr-xr-x 3 auctrev auctrev 4096 Jun 2 11:31 .
drwxr-xr-x 11 root root 4096 Jun 1 17:10 ..
drwxrwxrwx 23 auctrev auctrev 4096 Jun 2 13:00
public_html
lrwxrwxrwx 1 root root 26 Jun 2 11:31 www ->
/home/auctrev/public_html/"
Here is the relevant part of httpd.conf (that I know
of anyway):
"NameVirtualHost 192.168.50.10
</VirtualHost>
<VirtualHost 192.168.50.10>
#BytesLog domlogs/dc2-web31-bytes_log
ServerName naom.mydomain.ie
DocumentRoot /var/www/html
</VirtualHost>
<VirtualHost 192.168.50.10>
ServerAlias www.mydomain.com mydomain.com
ServerAdmin webmaster at mydomain.com
DocumentRoot /home/auctrev/public_html
ServerName www.mydomain.com
CustomLog domlogs/mydomain.com combined
ScriptAlias /cgi-bin/
/home/auctrev/public_html/cgi-bin/
<Directory /home/auctrev/public_html/>
Options All MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>"
Thanks
__________________________________
Discover Yahoo!
Use Yahoo! to plan a weekend, have fun online and more. Check it out!
http://discover.yahoo.com/
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!