httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Imran Aziz" <im...@subplanet.com>
Subject RE: [users@httpd] Virtual Host on alternate port
Date Thu, 04 Sep 2003 10:09:27 GMT
Actually I was using webmin and it missed the listen directive entry, I
am new to Apache so had no clue about the Listen directive. thanks a lot
for your help, worked great :)

Regards,
Imran
-----Original Message-----
From: Joshua Slive [mailto:joshua@slive.ca] 
Sent: 03 September 2003 18:40
To: users@httpd.apache.org
Subject: Re: [users@httpd] Virtual Host on alternate port



On Wed, 3 Sep 2003, Imran Aziz wrote:

> Hello All,
> 	I do not have control of the DNS server, so I want to create a
> virtual host based on port number here are my virtual host settings in
> httpd.
>
> <VirtualHost 217.**.**.127:8022>
> DocumentRoot "/var/www/html/usage"
> ServerName stats.mydomain.com
> </VirtualHost>
>
> but the server does not respond on port 8022 , what could be wrong ?

Yah.  Well, where did you get the idea for that configuration.  Have you
read the docs on virtual hosts and "binding"?

Try:

Listen 8022

<VirtualHost _default_:8022>
...
</VirtualHost>

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



Mime
View raw message