...I work for an ISP and were looking to migrate to Apache/Linux for hosting vs NT. I am fairly familiar with linux and I've setup a number of test sites to make sure I was familiar with virtual hosting.
I created a standard user account for the person owning the site (the subdirectories were created from /etc/skel), setup apache for the virtual server:
<virtualhost x.x.x.x>
DocumentRoot /home/xxx/ServerName ServerAdmin support@xxx.com
ErrorLog /home/xxx/AgentLog /home/xxx/TransferLog /home/xxx/RefererLog /home/xxx/Alias /cgi-bin/ /home/xxx/</virtualhost>
I then uploaded the files AS that user to the users /home/ directory, CHMOD'ed the files, and restarted the httpd daemon.
All I receive off of the web server is ACCESS DENIED - you don't have permission to view / on this server.
What did I miss? I assume it has something to do with the user because I previously had no trouble (I setup all of the other hosts by ssh'ing in as root and chown -R apache ./html --- and, come to think of it, is that wrong?)
The distrib is an unaltered RedHat 7.2
I created a standard user account for the person owning the site (the subdirectories were created from /etc/skel), setup apache for the virtual server:
<virtualhost x.x.x.x>
DocumentRoot /home/xxx/ServerName ServerAdmin support@xxx.com
ErrorLog /home/xxx/AgentLog /home/xxx/TransferLog /home/xxx/RefererLog /home/xxx/Alias /cgi-bin/ /home/xxx/</virtualhost>
I then uploaded the files AS that user to the users /home/ directory, CHMOD'ed the files, and restarted the httpd daemon.
All I receive off of the web server is ACCESS DENIED - you don't have permission to view / on this server.
What did I miss? I assume it has something to do with the user because I previously had no trouble (I setup all of the other hosts by ssh'ing in as root and chown -R apache ./html --- and, come to think of it, is that wrong?)
The distrib is an unaltered RedHat 7.2