afbase
June 18th, 2009, 11:42 PM
Hello,
I am having issues configuring apache2. I cannot get my gallery.coldowl.com to work properly. Here is a snippet of my problem.
NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# Uncomment this directive is you want to see apache2's
# default start page (in /apache2-default) when you go to /
#RedirectMatch ^/$ /home/clinton/online/coldowl/
</Directory>
[ .... other stuff ..... ]
</VirtualHost>
<VirtualHost *>
ServerName gallery.coldowl.com
DocumentRoot /var/www/gallery
<Directory /var/www/gallery>
AllowOverride All
Options ExecCGI Includes
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *>
ServerName bart.coldowl.com
DocumentRoot /var/www/torrentbart/html
<Directory /var/www/torrentbart/html>
AllowOverride All
Options ExecCGI Includes
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
bart.coldowl.com works just fine. however I cannot figure out why gallery.goldowl.com does not work. Apaches says
Not Found
The requested URL /main.php was not found on this server.
which isn't true. main.php is found in /var/www/gallery
Note that gallery.coldowl.com is supposed to be my gallery2 (http://gallery.menalto.com/) site.
I am having issues configuring apache2. I cannot get my gallery.coldowl.com to work properly. Here is a snippet of my problem.
NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# Uncomment this directive is you want to see apache2's
# default start page (in /apache2-default) when you go to /
#RedirectMatch ^/$ /home/clinton/online/coldowl/
</Directory>
[ .... other stuff ..... ]
</VirtualHost>
<VirtualHost *>
ServerName gallery.coldowl.com
DocumentRoot /var/www/gallery
<Directory /var/www/gallery>
AllowOverride All
Options ExecCGI Includes
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *>
ServerName bart.coldowl.com
DocumentRoot /var/www/torrentbart/html
<Directory /var/www/torrentbart/html>
AllowOverride All
Options ExecCGI Includes
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
bart.coldowl.com works just fine. however I cannot figure out why gallery.goldowl.com does not work. Apaches says
Not Found
The requested URL /main.php was not found on this server.
which isn't true. main.php is found in /var/www/gallery
Note that gallery.coldowl.com is supposed to be my gallery2 (http://gallery.menalto.com/) site.