Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Multiple websites

mac_doggiemac_doggie Member Posts: 488
[b][red]This message was edited by mac_doggie at 2004-11-4 13:1:18[/red][/b][hr]
Can anyone tell what to do to get two websites running on one server ? I've got Apache 1.3 running under Win XP. I have two projects running whom I each want to give their own webspace:

[code]
D:projectsproject1www
D:projectsproject1phpscripts


D:projectsproject2www
D:projectsproject2phpscripts

[/code]

The two www directories should be accesable, but the phpscripts dir's shouldn't

I thought maybe I could get it so that I can use the following URL's

http://project1.localhost
http://project2.localhost

or something like that. (or in stead of localhost the IP addres of my server) If this is to difficult I would also be happy with a solution like this:

http://localhost/project1
http://localhost/project2

But if I should set my ServerRoot to D:projects the phpscript directories would also be visible from the outside and I don't want that...

The following would not be an option:
[code]
D:phpscriptsproject1
D:phpscriptsproject2

D:projectsproject1www
D:projectsproject2www

[/code]

Can anyone tell me how to get this to work ?

;-)
-mac-
mailto:mac_doggie@hotmail.com
the Netherlands...









Sign In or Register to comment.