httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From steve <sfrei...@roadrunner.com>
Subject Re: [users@httpd] HTTPS connexion on the port 80
Date Sun, 09 Nov 2008 22:22:05 GMT
David BERCOT wrote:
> Hi,
> 
> I'm new on this list and this is my first message. So, a little
> presentation : I'm French, I work on Debian and I have a problem ;-)
> 
> On my server, I can only use port 80, for http and https access. So,
> here is my /etc/apache2/sites-available/default file :
> ServerAdmin me@mydomaine.org
> <Directory />
> 	Options FollowSymLinks
> 	AllowOverride AuthConfig
> </Directory>
> ErrorLog /var/log/apache2/error.log
> # Possible values include: debug, info, notice, warn, error, crit,
> alert, emerg. LogLevel warn
> CustomLog /var/log/apache2/access.log combined
> ServerSignature On
> NameVirtualHost *
> <VirtualHost *>
> 	ServerName site1.mydomaine.org
> 	DocumentRoot /site1
> </VirtualHost>
> 
> <VirtualHost *>
> 	ServerName site2.mydomaine.org
> 	DocumentRoot /site2
> </VirtualHost>
> 
> <VirtualHost *>
> 	ServerName site3.mydomaine.org
> 	DocumentRoot /site3
> 	SSLEngine on
> 	SSLCertificateFile /ssl/site3.cert
> 	SSLCertificateKeyFile /ssl/site3.key
> </VirtualHost>
> 
> If I try https://site3.mydomaine.org:80/, it should works, no ?
> In fact, it is ok for site1 and site2, and for site3, it works only in
> http !!! It seems it should not work in http, no ?
> If I open (only for tests) the 443 port, it works correctly in https.
> 
> Do you have any clue ?
> 
> Thanks.
> 
> David.
> 


same as if you want apache to listen on a different port, you have to
tell it to in ports.conf.  never used https but if you change the 443 to
something else in ports.conf should work.  I dont think they can both
use 80 though.


steve


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