Re: HTTPS connexion on the port 80

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx
> <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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux