# http
<virtualhost>
DocumentRoot "C:/xampp/htdocs/probando"
DirectoryIndex index.php
ServerName probando
<directory "C:/xampp/htdocs/probando">
Options All
AllowOverride All
Order Allow,Deny
Allow from all
</directory>
</virtualhost>
# https
<virtualhost>
DocumentRoot "C:/xampp/htdocs/probando"
DirectoryIndex index.php
ServerName probando
SSLEngine on
SSLCertificateFile "conf/ssl.crt/server.crt"
SSLCertificateKeyFile "conf/ssl.key/server.key"
<directory "C:/xampp/htdocs/probando">
Options All
AllowOverride All
Order Allow,Deny
Allow from all
</directory>
</virtualhost>
Asegurarse que en c:/xampp/apache/conf/extra/httpd-ssl.conf esté:
Listen 443
...
<virtualhost _default_:443="">
...
ServerName localhost:443
</virtualhost>
En C:\xampp\apache\conf\httpd.conf debes tener descomentado:
LoadModule ssl_module modules/mod_ssl.so
Si aún así diese algún problema cambiar entonces el puerto 443 por 4433
No hay comentarios:
Publicar un comentario