Here's my hosts file:
- Code: Select all
##
# Host Database
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
#my sites
127.0.0.1 carena
127.0.0.1 bcs
127.0.0.1 embassy
Here's my httpd-vhost.conf file:
- Code: Select all
NameVirtualHost *:80
<VirtualHost *:80>
ServerName carena
DocumentRoot "/AAA/MnC/carena/web"
ServerAlias carena
ErrorLog "logs/carena-error_log"
</VirtualHost>
<VirtualHost *:80>
ServerName bcs
DocumentRoot "/AAA/MnC/bcs/web"
ServerAlias bcs
ErrorLog "logs/bcs-error_log"
</VirtualHost>
<VirtualHost *:80>
ServerName embassy
DocumentRoot "/AAA/MnC/embassy\ speakers/web"
ServerAlias embassy
ErrorLog "logs/embassy-error_log"
</VirtualHost>
And here's the directory tags in httpd.conf - directly below the first directory tag:
- Code: Select all
<Directory "/AAA/MnC/BCS/web">
AllowOverride all
DirectoryIndex index.php
Order Allow,Deny
Allow from all
</Directory>
<Directory "/AAA/MnC/carena/web">
AllowOverride all
DirectoryIndex Default.php
Order Allow,Deny
Allow from all
</Directory>
<Directory "/AAA/MnC/embassy\ speakers/web">
AllowOverride all
DirectoryIndex index.php
Order Allow,Deny
Allow from all
</Directory>
Now for some reason:
+ Carena works great.
+ BCS just hangs on 'connecting to bcs' until it times out and I get a "server taking too long to respond" error message
+ Embassy gives me a 403 permission denied error, even though all the files are -wrxwrxwrx (chmod 777).
Any clues?