logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Requesting help with Multiple Websites on apache
Author
rj_pc



Joined: 01 Apr 2009
Posts: 8
Location: Lubbock TX

PostPosted: Sun 03 May '09 0:15    Post subject: Requesting help with Multiple Websites on apache Reply with quote

I am having a lil difficutly with apache on windows. I type my second address in the address bar and end up with the index.html of the first website. please help here is the code.

ServerRoot "C:/Program Files/Apache Software Foundation/Apache2.2"
Listen *:80
LoadModule
LoadModule
LoadModule
LoadModule
LoadModule
LoadModule
LoadModule
LoadModule
LoadModule
LoadModule
LoadModule
LoadModule
LoadModule
LoadModule
LoadModule
LoadModule
LoadModule
LoadModule
LoadModule
LoadModule
<IfModule !mpm_netware_module>
<IfModule !mpm_winnt_module>
User daemon
Group daemon
</IfModule>
</IfModule>
<VirtualHost *:80>
ServerAdmin someone@somewhere.com
DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/rjpcservices"
ServerName rjpcservices.com
ErrorLog
TransferLog
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/rjpcservices">
Option Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin someone@somewhere.com
DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/jschorsch"
ServerName jschorsch.com
ErrorLog
TransferLog
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/jschorsch">
Option Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
ServerAdmin someone@somewhere.com
ServerName *:80
DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/rjpcservices">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/jschorsch">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
ErrorLog "logs/error.log"
LogLevel warn
<IfModule log_config_module>
LogFormat
LogFormat
<IfModule logio_module>
LogFormat
</IfModule>
Back to top
rj_pc



Joined: 01 Apr 2009
Posts: 8
Location: Lubbock TX

PostPosted: Sun 03 May '09 1:01    Post subject: Reply with quote

never mind... i was missing NameVirtualHost
Back to top


Reply to topic   Topic: Requesting help with Multiple Websites on apache View previous topic :: View next topic
Post new topic   Forum Index -> Apache