josno
March 15th, 2007, 07:17 AM
Hi,
I'm trying to create a virtual host for testing a website locally. Here's my virtual host config file:
<VirtualHost *>
ServerName xnet-trunk.com
ServerAlias www.xnet-trunk.com
ServerAdmin webmaster@localhost
DocumentRoot /home/rayj/XNET/trunk/public
<Directory /home/rayj/XNET/trunk/public/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
CustomLog /var/log/apache2/xnet-trunk-access.log combined
</VirtualHost>
I have xnet-trunk.com redirecting to 127.0.0.1 in /etc/hosts fine, and the permissions on the files are set to rwxr-xr-x, but I get an internal server error 500 when I browse to http://xnet-trunk.com. Any ideas why?
Thanks
I'm trying to create a virtual host for testing a website locally. Here's my virtual host config file:
<VirtualHost *>
ServerName xnet-trunk.com
ServerAlias www.xnet-trunk.com
ServerAdmin webmaster@localhost
DocumentRoot /home/rayj/XNET/trunk/public
<Directory /home/rayj/XNET/trunk/public/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
CustomLog /var/log/apache2/xnet-trunk-access.log combined
</VirtualHost>
I have xnet-trunk.com redirecting to 127.0.0.1 in /etc/hosts fine, and the permissions on the files are set to rwxr-xr-x, but I get an internal server error 500 when I browse to http://xnet-trunk.com. Any ideas why?
Thanks