Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: Requesting help with Multiple Websites on apache |
|
Author |
|
rj_pc
Joined: 01 Apr 2009 Posts: 8 Location: Lubbock TX
|
Posted: Sun 03 May '09 0:15 Post subject: Requesting help with Multiple Websites on apache |
|
|
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
|
Posted: Sun 03 May '09 1:01 Post subject: |
|
|
never mind... i was missing NameVirtualHost |
|
Back to top |
|
|
|
|
|
|