javaguy Posted February 26, 2004 Report Share Posted February 26, 2004 I tried to set this up a couple months ago and didn't have much luck. I'm trying again. Here's my VHosts.conf entry: NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin javaguy@sammckee.com DocumentRoot /home/javaguy/www/prod/benjaminalexandermckee ServerName www.benjaminalexandermckee.com ServerAlias benjaminalexandermckee.com *.benjaminalexandermckee.com DirectoryIndex index.html index.htm index.php </VirtualHost> When I try to connect to http://benjaminalexandermckee.com I get one of those messages that says I don't have permission to access /. When I comment out the above stuff from VHosts.conf and try the same thing again, it then works fine except that I'm seeing an index of what's in /var/www/somethingsomethingsomething instead of the directory I want to see. Yes, I've Googled it. Thanks in advance! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.