I am trying to transfer motorcyclegoodies.com from it's current home to my linux box. I've set up the DNS records on 65.114.204.177 but when i try and access that website on the web server machine it give me a forbiden / don't have permission error on linux1.gwrra.org. if I change the Vhost dir of linux1.gwrra.org then when i try and access motorcyclegoodies.com it will take me to wherever i told linux1.gwrra.org to go. Can someone look at my httpd.conf file and tell me if anything looks wrong. I really need this quickly as i need it changed today. Thanks Shelby
If you try and access this site you will still get the old one as I have set up the new DNS on my linux box where the website will be. If you set up your DNS to use 65.114.204.177 then you should see what I am seeing if not you will not see what I am seeing.
Code:
ServerRoot "/etc/apache"
#LockFile /etc/apache/logs/httpd.lock
PidFile /etc/apache/logs/httpd.pid
ScoreBoardFile /etc/apache/logs/httpd.scoreboard
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 0
#
#Listen 3000
#Listen 12.34.56.78:80
#BindAddress *
LoadModule php4_module libexec/libphp4.so
#ExtendedStatus On
Port 80
User nobody
Group nobody
ServerAdmin
root@Linux1.inb.net
#ServerName Linux1.inb.net
DocumentRoot /var/www/html
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/etc/apache/htdocs">
Options Indexes FollowSymLinks MultiViews ExecCGI
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
<IfModule mod_userdir.c>
UserDir public_html
</IfModule>
#<Directory /home/*/public_html>
# AllowOverride FileInfo AuthConfig Limit
# Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
# <Limit GET POST OPTIONS PROPFIND>
# Order allow,deny
# Allow from all
# </Limit>
# <LimitExcept GET POST OPTIONS PROPFIND>
# Order deny,allow
# Deny from all
# </LimitExcept>
#</Directory>
#<Directory /var/www/trikes>
# AllowOverride AuthConfig
#</Directory>
<Directory /var/www/officersbbs/sqladmin>
AllowOverride AuthConfig
</Directory>
<Directory /var/www/officersbbs/webstats>
AllowOverride AuthConfig
</Directory>
<Directory /var/www/trikes/webstats>
AllowOverride AuthConfig
</Directory>
<Directory /var/www/sigs/webstats>
AllowOverride AuthConfig
</Directory>
<Directory /var/www/chat/webstats>
AllowOverride AuthConfig
</Directory>
NameVirtualHost 65.114.204.177
NameVirtualHost 65.114.204.10
NameVirtualHost 65.114.204.24
# Use name-based virtual hosting.
#
#NameVirtualHost *
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *>
# ServerAdmin
webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>
<VirtualHost motorcyclegoodies.com:80>
DocumentRoot /var/www/motorcyclegoodies.com
ServerName
www.motorcyclegoodies.com
ScriptAlias /cgi-bin/ /var/www/motorcyclegoodies.com/cgi-bin/
ErrorLog /var/www/motorcyclegoodies.com/logs/errs.log
LogLevel emerg
TransferLog /var/www/motorcyclegoodies.com/logs/access.log
</VirtualHost>
<VirtualHost linux1.gwrra.org:80>
DocumentRoot /var/www/html
ServerName linux1.gwrra.org
</VirtualHost>
<VirtualHost bbs.trikes.org:80>
DocumentRoot "/var/www/trikes"
ServerName bbs.trikes.org
ErrorLog /var/www/trikes/logs/errs.log
LogLevel emerg
TransferLog /var/www/trikes/logs/access.log
</VirtualHost>
<VirtualHost officers.gwrra.org:80>
DocumentRoot "/var/www/officersbbs"
ServerName officers.gwrra.org
ErrorLog /var/www/officersbbs/logs/errs.log
LogLevel emerg
TransferLog /var/www/officersbbs/logs/access.log
</VirtualHost>
<VirtualHost sig.gwrra.org:80>
DocumentRoot "/var/www/sigs"
ServerName sig.gwrra.org
ErrorLog /var/www/sigs/logs/errs.log
LogLevel emerg
TransferLog /var/www/sigs/logs/access.log
</VirtualHost>
<VirtualHost chat.gwrra.org:80>
DocumentRoot "/var/www/chat"
ServerName chat.gwrra.org
ErrorLog /var/www/chat/logs/errs.log
LogLevel emerg
TransferLog /var/www/chat/logs/access.log
</VirtualHost>
<VirtualHost dev.motorcyclegoodies.com:80>
DocumentRoot /var/www/motorcyclegoodies.com
ServerName dev.motorcyclegoodies.com
ScriptAlias /cgi-bin/ /var/www/motorcyclegoodies.com/cgi-bin/
ErrorLog /var/www/motorcyclegoodies.com/logs/errs.log
LogLevel emerg
Options Includes
TransferLog /var/www/motorcyclegoodies.com/logs/access.log
DirectoryIndex index.php index.htm index.html
</VirtualHost>
<VirtualHost shelbydev.inbradio.com:80>
DocumentRoot "/var/www/inbradio"
ServerName shelbydev.inbradio.com
</VirtualHost>
<VirtualHost archive1.gwrra.org:80>
DocumentRoot "/var/www/archive"
ServerName archive1.gwrra.org
ScriptAlias /cgi-bin/ /var/www/archive/cgi-bin/
ErrorLog /var/www/archive/logs/errs.log
LogLevel emerg
TransferLog /var/www/archive/logs/access.log
</VirtualHost>
<VirtualHost t2.trikes.org:80>
DocumentRoot "/var/www/t2"
ServerName t2.trikes.org
</VirtualHost>
<VirtualHost pipemakers.org:80>
DocumentRoot /var/www/pipemakers/httpdocs
ServerName
www.pipemakers.org
ScriptAlias /cgi-bin/ /var/www/pipemakers/cgi-bin/
ErrorLog /var/www/pipemakers/logs/errs.log
LogLevel emerg
TransferLog /var/www/pipemakers/logs/access.log
</VirtualHost>
<VirtualHost pipemaker.org:80>
DocumentRoot /var/www/pipemakers/httpdocs
ServerName
www.pipemaker.org
ScriptAlias /cgi-bin/ /var/www/pipemakers/cgi-bin/
ErrorLog /var/www/pipemakers/logs/errs.log
LogLevel emerg
TransferLog /var/www/pipemakers/logs/access.log
</VirtualHost>