httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ana Lucía Zapata Barros <alzap...@itesm.mx>
Subject RE: [users@httpd] port 80 and port 8080
Date Thu, 18 May 2006 23:49:30 GMT
Thank you Vic, It work!! =)

-----Mensaje original-----
De: Victor Trac [mailto:victor.trac@gmail.com] 
Enviado el: Thursday, May 18, 2006 8:52 AM
Para: users@httpd.apache.org
Asunto: Re: [users@httpd] port 80 and port 8080

>From http://httpd.apache.org/docs/2.0/vhosts/examples.html:

     Listen 80
     Listen 8080
 		
     NameVirtualHost 172.20.30.40:80
     NameVirtualHost 172.20.30.40:8080
 		
     <VirtualHost 172.20.30.40:80>
              ServerName www.example1.com
         DocumentRoot /www/domain-80
          </VirtualHost>
 		
     <VirtualHost 172.20.30.40:8080>
              ServerName www.example1.com
         DocumentRoot /www/domain-8080
          </VirtualHost>
 		
     <VirtualHost 172.20.30.40:80>
              ServerName www.example2.org
         DocumentRoot /www/otherdomain-80
          </VirtualHost>
 		
     <VirtualHost 172.20.30.40:8080>
              ServerName www.example2.org
         DocumentRoot /www/otherdomain-8080
          </VirtualHost>

Modify your httpd.conf and restart apache.

-Victor

On 5/18/06, Ana Lucía Zapata Barros <alzapata@itesm.mx> wrote:
>
>
>
>
>
> It's possible for apache have 2 different ports, 80 and 8080, for the same
service??
>
>
>
> I modify the httpd.conf file, and add Listen 80 and start apache at port
80 with the sudo command.
>
>
>
>
>
> And when I start the apache at 8080 port, appear a message that say it's
running but when I access by web I can't find the service and the command
netstat –an doesn't show me the 8080 port only the 80 port.
>
>
>
> So, I was thinking that maybe it's because the port 80 it's already in use
for the same service, but I'm not sure, it's possible??
>
>
>
> Thank you
>
>
>
>
>
> ana
>
>



-- 
http://www.victortrac.com

---------------------------------------------------------------------
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