Jump to content


Photo

Multiple Apache hosts on W2K


  • Please log in to reply
1 reply to this topic

#1 opione

opione
  • Members
  • Pip
  • Newbie
  • 2 posts
  • LocationNew Zealand

Posted 29 June 2003 - 10:21 AM

I have managed to finally get 2 instances of apache running on my W2K machine by defining two seperate config files with different docroots and starting them as 2 seperate services.

my question is...
how can I get it to reconize the seperate hosts from the address bar?
I currenlty have to type in either http://localhost/ or http://localhost:8080.

I want to be able to use e.g.
http://work_stuff/ for localhost:80 &
http://my_stuff for localhost:8080

as you have probably guessed , yes they use different ports.
I have tried using virtial host configs but I cannot get them operational.

any ideas ?
I Love the sound of Deadlines as the go whoosing past!

#2 Quintin Riis

Quintin Riis
  • New Members
  • Pip
  • Newbie
  • 8 posts

Posted 21 August 2003 - 01:35 AM

Running two instances of Apache is.. well I won\'t say it\'s stupid, but it\'s ehm.. not a bright idea.

Why don\'t you setup vhosts instead?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users