dans le virtualhost default change le *:80 par *:443 si tu as d autre vhost pareil, oublie pas de relancer apache apres la modification
Bonsoir,
après longue attente et oisivité, je reviens à la charge.
Où est virtualhost?
Je veux garder mon serveur PHP actif sur ma machine, je crains qu'en changeant 80 par 443 je perde ce service.
Objectif final:
1) accéder à un disque distant (voir ci-haut)
2) conserver mon serveur PHP local actif
3) donner accès à un répertoire Linux à Windows XP installé en VirtualBox et auquel je devrais (selon VirtualBox) pouvoir accéder à l'adresse suivante \\vboxsrv\nom_de_partage_du_repertoire
Voici mon fichier ports.conf
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default
# This is also true if you have upgraded from before 2.2.9-3 (i.e. from
# Debian etch). See /usr/share/doc/apache2.2-common/NEWS.Debian.gz and
# README.Debian.gz
#NameVirtualHost *:80
Listen 80
#NameVirtualHost *:443
#Listen 443
#NameVirtualHost *:2078
#Listen 2078
<IfModule mod_ssl.c>
# SSL name based virtual hosts are not yet supported, therefore no
# NameVirtualHost statement here
Listen 443
</IfModule>
Et voici aussi le fichier /etc/apache2/sites-enabled/000-default auquel on réfère
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride all
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</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
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
Est-ce donc ce 000-default qui est mon virtualhost?
Devrais-je donc faire une configuration 443 semblable à ce que j'ai pour 80 ?
Merci encore]]>