Hi,

"Nat B." wrote:
> 
> Hi,
> 
> i have apache 1.3.19-5 running virtual hosts on port 80
> i want to add a virtual host that should run on another port number
> 
> If i add the "port" number in the <VirtualHost> tag, this should work.
> Has anyone tried that before?

Yes, I did yesterday. ;-)

Add 'Listen 8080' under 'Listen 80' in the main section and perhaps the
following under the tag </VirtualHost> at the end of your config:

NameVirtualHost 192.168.0.3:8080

<VirtualHost  192.168.0.3:8080>
        ServerName www8080.domain.tld
        ServerAdmin [EMAIL PROTECTED]
        DocumentRoot /var/www8080/html
<Directory /var/www8080/html>
        AllowOverride All
        DirectoryIndex index.html index.htm
        Order allow,deny
        Allow from all
</Directory>
</VirtualHost>

After '# service httpd restart'
your Webserver listens also on Port 8080.

hth
Thorsten
-- 
registered Linux User 194245



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to