Le Sun, 09 Nov 2008 17:22:05 -0500, steve <sfreilly@xxxxxxxxxxxxxx> a écrit : > 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. In fact, there is yet a 'Listen 80' in my ports.conf. So, I can't see why I should replace 'Listen 443' by another 'Listen 80' ;-) I think I should add a 'Listen nnn' if I'd like Apache to listen on the nnn port... To complete my precedent message, it works once this morning (with https://site3.mydomaine.org:80/) but I don't know which differences there are between my 'default' file this morning and the new one. The error I have is : Échec de la connexion sécurisée Une erreur est survenue pendant une connexion à site3.mydomaine.org:80. SSL a reçu un enregistrement qui dépasse la longueur maximale autorisée. (Code d'erreur : ssl_error_rx_record_too_long) La page que vous essayez de consulter ne peut pas être affichée car l'authenticité des données reçues ne peut être vérifiée. I prefer no to translate it in order not to add wrong information ;-) I hope the error message is explicit enough ! Thanks. David. --------------------------------------------------------------------- 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