This is a discussion on How to have multiple sites? within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hi Freinds, I am pretty new in APache http server. I just installed apache 2 on my xp machine. it ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi Freinds,
I am pretty new in APache http server. I just installed apache 2 on my xp machine. it is workig fine. I have d:\website folder where I keep 5 subfolders and have 5 websites. D:\website\site1 D:\website\site2 ..... How can I setup config file to be able to access all 5 sites as: http://localhost/site1 http://localhost/site2 ..... I've dont it in IIS but as far I'm new in Apache, I don't now how to do it. Please advise. Thanks, Pat |
|
|||
|
You need to use the <VirtualHost> directive. Browse to C:\Program
Files\Apache Group\Apache2\conf\httpd.conf and the last lines of the file. Enter your information here. For more information see... http://httpd.apache.org/docs/vhosts/ http://www.devshed.com/c/a/Apache/Co...sts-in-Apache/ http://dev.panopticsearch.com/virtual-hosts.html http://www.mezzoblue.com/archives/20...host/index.php Lardy "pat" <patriarck@gmail.com> wrote in message news:1105057489.698545.149350@z14g2000cwz.googlegr oups.com... > Hi Freinds, > I am pretty new in APache http server. I just installed apache 2 on my > xp machine. it is workig fine. I have d:\website folder where I keep 5 > subfolders and have 5 websites. > D:\website\site1 > D:\website\site2 > .... > How can I setup config file to be able to access all 5 sites as: > http://localhost/site1 > http://localhost/site2 > .... > I've dont it in IIS but as far I'm new in Apache, I don't now how to do > it. > > Please advise. > > Thanks, > Pat > |