Hello,
I'm trying to setup a Apache server to use virtual host. I have successfully gotten Apache not to error but to serve up the files, I receive a 403 when trying to access with firefox.
The error log reports this
Here the permissions set to this file
I receive 403 whenever trying to access server by ip/index.html
My virtual host part of httpd.conf looks like this
What am i missing/doing incorrectly here?
Any help would be appreciated.
Thank You, Shockey
I'm trying to setup a Apache server to use virtual host. I have successfully gotten Apache not to error but to serve up the files, I receive a 403 when trying to access with firefox.
The error log reports this
Code:
cat ./public_html/domainname.info/log/error.log [Tue Jun 01 16:42:09 2010] [error] [client 192.168.1.64] (13)Permission denied: access to / denied
[Tue Jun 01 16:42:19 2010] [error] [client 192.168.1.64] (13)Permission denied: access to /domainname.info denied
[Tue Jun 01 16:55:43 2010] [error] [client 192.168.1.64] (13)Permission denied: access to / denied
[Tue Jun 08 13:02:37 2010] [error] [client 192.168.1.64] (13)Permission denied: access to / denied
[Tue Jun 08 13:02:37 2010] [error] [client 192.168.1.64] (13)Permission denied: access to /favicon.ico denied
[Tue Jun 08 13:02:37 2010] [error] [client 192.168.1.64] (13)Permission denied: access to /favicon.ico denied
[Tue Jun 08 13:02:40 2010] [error] [client 192.168.1.64] (13)Permission denied: access to /favicon.ico denied
[Tue Jun 08 13:03:35 2010] [error] [client 192.168.1.64] (13)Permission denied: access to / denied
[Tue Jun 08 13:04:18 2010] [error] [client 192.168.1.64] (13)Permission denied: access to /index.html denied
[Tue Jun 08 13:10:41 2010] [error] [client 192.168.1.64] (13)Permission denied: access to /index.html denied
[Tue Jun 08 13:13:24 2010] [error] [client 192.168.1.64] (13)Permission denied: access to /index.html denied
[Tue Jun 08 13:13:26 2010] [error] [client 192.168.1.64] (13)Permission denied: access to /index.html denied
[Tue Jun 08 13:15:12 2010] [error] [client 192.168.1.64] (13)Permission denied: access to /index.html denied
[Tue Jun 08 13:40:14 2010] [error] [client 192.168.1.64] (13)Permission denied: access to /index.html denied
[xxx@webserv Jeremy]# # cat ./public_html/domainname.info/log/error.log [Tue Jun 01 16:42:09 2010] [error] [client 192.168.1.64] (13)Permission denied: access to / denied
Here the permissions set to this file
Code:
ls -l ./public_html/websiteurl.info/public/index.html
-rwxr-xr-x 1 Jeremy Jeremy 123 Jun 1 16:10 ./public_html/websiteurl.info/public/index.html
I receive 403 whenever trying to access server by ip/index.html
My virtual host part of httpd.conf looks like this
Code:
<VirtualHost *:80>
# Admin email, Server Name (domain name) and any aliases
ServerAdmin [email protected]
ServerName domainname.info
ServerAlias www.domainname.info
# Index file and Document Root (where the public files are located)
DirectoryIndex index.html
DocumentRoot /home/Jeremy/public_html/domainname.info/public
# Custom log file locations
LogLevel warn
ErrorLog /home/Jeremy/public_html/domainname.info/log/error.log
CustomLog /home/Jeremy/public_html/domainname.info/log/access.log combined
</VirtualHost>
What am i missing/doing incorrectly here?
Any help would be appreciated.
Thank You, Shockey