Why is my location on the world map determined incorrectly?
Virtual host question- Webserver
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Apache HTTP Server > Virtual host question- Webserver 8 July 2005 16:15:06

  Recent blog posts: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

Virtual host question- Webserver

Loganathan Ramasamy 8 July 2005 16:15:06
 

I have two instances of Websphere application server running in my box
having single web server [ I-H-S] , both instances are having different
version of my application and I can access my application using the
following two URLs



http://blrd2287:908­0/RPM

http://blrd2287:908­1/RPM



As you might have noticed the domain name "blrd2287" is same for both
the URLs, So I am really confused about creating a virtual host in my
web server conf file.



Can somebody help me on this issue?

Thanks & Regards,
Loga (Loganathan R )
Senior QA Engineer - Performance, RPM GOC
Direct Line: +91.80.5129.8538
Mobile : +91.98440 19176



Add comment
Davide Bianchi 8 July 2005 15:39:18 permanent link ]
 Loganathan Ramasamy wrote:> version of my application and I can access my application using the> following two URLs>
http://blrd2287:908­0/RPM> http://blrd2287:908­1/RPM>
As you might have noticed the domain name “blrd2287” is same for both> the URLs, So I am really confused about creating a virtual host in my> web server conf file.

You need to use two different hostnames, even if they are fake
names and only works locally on your machine.

Davide

-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
Loganathan Ramasamy 8 July 2005 16:04:59 permanent link ]
 Davide,

Let us assume my hostnames 2287 and 2288 . How should I go about
creating a

I tried the following is it correct ?

NameVirtualHost *:80
<VirtualHost *:9080>
ServerName BLRD2287
DocumentRoot /www/docs/dummy-hos­t.example.com
</VirtualHost>
<VirtualHost *:9081 >
ServerName BLRD2288
DocumentRoot /www/docs/dummy-hos­t.example.com
</VirtualHost>

I am not sure what should I specify for <virtualHost entry ?


-Loga
-----Original Message-----
From: Davide Bianchi [mailto:davide@onlyforfun.net]
Sent: Friday, July 08, 2005 5:09 PM
To: users@httpd.apache.­org
Subject: Re: [users@httpd] Virtual host question- Webserver

Loganathan Ramasamy wrote:> version of my application and I can access my application using the> following two URLs>
http://blrd2287:908­0/RPM> http://blrd2287:908­1/RPM>
As you might have noticed the domain name "blrd2287" is same for both> the URLs, So I am really confused about creating a virtual host in my> web server conf file.

You need to use two different hostnames, even if they are fake
names and only works locally on your machine.

Davide

-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
Davide Bianchi 8 July 2005 16:15:06 permanent link ]
 Loganathan Ramasamy wrote:> Let us assume my hostnames 2287 and 2288 . How should I go about> creating a >
I tried the following is it correct ?

Nope. You should have something like:

NameVirtualHost *:80
<VirtualHost *:80>
ServerName BLRD2287
DocumentRoot /www/docs/dummy-hos­t.example.com
</VirtualHost>
<VirtualHost *:80 >
ServerName BLRD2288
DocumentRoot /www/docs/dummy-hos­t.example.com
</VirtualHost>

*AND* you should specify two different DocumentRoot (otherwise
both will point to the same data, then were is the advantage in
using VHosts?)

*IF* your Apache is listening on port 80. At this point you should
be able to get one or the other by using http://blrd2287/ or
http://blrd2288/

Davide


-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > Apache HTTP Server > Virtual host question- Webserver 8 July 2005 16:15:06

see also:
SOLVED: [ jetty-Bugs-1289828 ]
[ jetty-Bugs-937718 ] Jetty fails to…
Multiple paragraphs in single table…
пройди тесты:
What is Your Temperament?
see also:
'Jasper' Xbox 360s finally availabl...
Nintendo makes $6 profit on each Wii…
PS3 firmware update adds full screen…

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .