Click to See Complete Forum and Search --> : Apache Vhost Help Needed


Goapher2001
01-31-2005, 10:17 AM
That Any Better? :D

i have set it up that many times i feel like im at my wits end lol, heres my Vhost examp

<VirtualHost *>
ServerName Gt
#ServerPath /gt
DocumentRoot /home/gt
<Directory "/home/gt">
Options -Indexes FollowSymLinks MultiViews
AllowOverride All
<IfModule mod_access>
Order allow,deny
Allow from all
</IfModule>
</Directory>
</VirtualHost>


when i access the page i get

You don't have permission to access /gt/ on this server.


--------------------------------------------------------------------------------

what am i doing wrong i have even chmod the folder to 777 and still no avail, please any help would be apriciated , i dont have a dot com name either i just want to run this off one machine, whilst holding diffrent accounts

thank you in advance

Goaphs... :D

ph34r
01-31-2005, 10:49 AM
Here's the appropriate section out of my httpd.conf

NameVirtualHost *

<VirtualHost *>
ServerName mydomain.org
ServerAlias mydomain.org *.mydomain.org
DocumentRoot /var/www-domain1
</VirtualHost>

<VirtualHost *>
ServerName myotherdomain.org
DocumentRoot /var/www-domain2
</VirtualHost>

/var/www-domain1 and /var/www/domain2 are set to
775 for permissions (owned by root.www adn apache runs as nobody)