New domain problems

2 posts / 0 new
Last post
#1 Thu, 07/06/2006 - 04:02
RichardSydney-Smith

New domain problems

After having virtualmin (GLP) running for a few months I have added a new domain.

However the system refuses to display the domain. /home/XXXrayproxxx/public_html

The directory does exist but I get the message:

Failed to start apache :

Starting httpd: Warning: DocumentRoot [[/home/XXXandxxx/public_html]] does not exist Warning: DocumentRoot [[/home/XXXrayproxxx/public_html]] does not exist

if I do a ls -la /home ....

drwxr-xr-x 7 XXXrayproxxx XXXrayproxxx 4096 Jul 6 16:57 XXXrayproxxx

in fact both XXXrayproxxx and XXXanxxx both appear in the directory listing and appear correct.

note (domain names changed)

Thu, 07/06/2006 - 06:59
RichardSydney-Smith

Seems selinux is not configured to allow apache to access /home/*/public_html directories.

Initial action can be to disable selinux in the /etc/selinux.conf file.

Otherwise you can follow this link.

http://fedora.redhat.com/docs/selinux-faq-fc5/#faq-entry-public_html

Selinux also caused a problem with dovecot that prevented it from running.

Topic locked