Koozali.org: home of the SME Server

Add a port parameter for new virtual hosts

Hasan Muhammad

Add a port parameter for new virtual hosts
« on: August 26, 2000, 11:07:34 PM »
It would be nice to specify the port tha apache should listen to when we are adding a virtual host throught the GII.

Thanks,

Hasan

Charlie Brady

RE: Add a port parameter for new virtual hosts
« Reply #1 on: September 05, 2000, 07:16:26 PM »
Hasan Muhammad wrote:

> It would be nice to specify the port tha apache should listen
> to when we are adding a virtual host throught the GII.

I'm curious as to why you want this feature, given that apache supports HTTP 1.1 virtual domains on the standard port. Can you explain?

Charlie

Hasan Muhammad

RE: Add a port parameter for new virtual hosts
« Reply #2 on: September 13, 2000, 11:24:23 PM »
Charlie,

You never know what kind of package somebody is trying to run on top of a linux disto.  I'm experimenting with Midgard 1.2.5 and one of their methods of admin involved using a different port on a virtual host's address for admin...

something like
   www.domain.com:8101
being equivalent to
   www.domain.com/admin

Anyway, I think it would be a good idea for e-smith-manager to accommodate all known ways of aliasing a virtual host, such has

   www.virtualhost.com      
mapped to
   www.masterhost.com:xxxx
   www.masterhost.com/xxxx
   xxxx.masterhost.com

Thanks for asking,

Hasan

Hasan Muhammad

RE: Add a port parameter for new virtual hosts
« Reply #3 on: September 14, 2000, 10:50:25 PM »
What I really mean...

I'd like to specify in the ' domain name' field of the Creat a new virtual domain screen a virtual domain name in the format of

domain.com, or
xxxx.domain.com, or
yyy.domain.com/xxxx, or
yyy.domain.com:xxxx

and select the desired ibay (where the content would be stored).

The scripts would then configure the httpd.conf file to achieve the desired aliasing.