Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Try It Free
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old April 6th, 2001, 03:55 AM
Ulrik N Ulrik N is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 1999
Location: Denmark
Posts: 83 Ulrik N User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Question

Do any of you know if it is possible to have multiple virtual hosts.
Where one of them have another portnumber??
And only use one ipaddress
ex:

Listen 80
Listen 8000
NameVirtualHost 192.168.0.1

# phpMyAdmin
<VirtualHost 192.168.0.1>
ServerAdmin root@some.domain
DocumentRoot /var/www/phpMyAdmin
ServerName mysql.ll
</VirtualHost>

# phpPgAdmin
<VirtualHost 192.168.0.1:8000>
ServerAdmin root@some.domain
DocumentRoot /var/www/phpPgAdmin
ServerName pgsql.ll
</VirtualHost>
__________________
regds..
-ulrik-
---------------------------------------
Do or do not, there is no try....

Reply With Quote
  #2  
Old April 6th, 2001, 09:13 AM
afabsy afabsy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Posts: 36 afabsy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Lightbulb

Sure this is possible even almost with Ur example, but add a line:

NameVirtualHost 192.168.0.1:8000

before declaration of virtual host.

Ciao

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > apache, virtual hosts and portnumber


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway