Mi subdominio me devuelve a https cuando salgo de mi sitio web de Drupal
He intentado deshabilitar ssl y reiniciar apache2 pero no funciona He intentado también modificar el archivo .htaccess pero siempre KO
y esto solo sucedió con este subdominio, todos los demás dominios funcionan bien mi archivo conf de subdominio
<VirtualHost sub.domain.fr:80> ServerAdmin webmaster@mydomain.fr DocumentRoot /home/ubuntu/mydomain/public_html/app2.mydomain.fr ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined <Directory "/home/ubuntu/mydomain/public_html/app2.mydomain.fr"> AllowOverride All Require all granted </Directory> </VirtualHost>archivo apache2.conf
DefaultRuntimeDir ${APACHE_RUN_DIR} PidFile ${APACHE_PID_FILE} Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 5 User ${APACHE_RUN_USER} Group ${APACHE_RUN_GROUP} HostnameLookups Off ErrorLog ${APACHE_LOG_DIR}/error.log LogLevel warn IncludeOptional mods-enabled/*.load IncludeOptional mods-enabled/*.conf Include ports.conf <Directory /> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Order deny,allow Require all granted </Directory> <Directory /usr/share> AllowOverride None Require all granted </Directory> <Directory /var/www/> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory> AccessFileName .htaccess <FilesMatch "^\.ht"> Require all denied </FilesMatch> LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %O" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent IncludeOptional conf-enabled/*.conf IncludeOptional sites-enabled/*.conf Include sites-enabled/archivo 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.conf Listen 80 Listen 8080 <IfModule ssl_module> Listen 443 </IfModule> <IfModule mod_gnutls.c> Listen 443 </IfModule>En primer lugar, cambie su configuración de vhost a:
<VirtualHost *:80> ServerName sub.domain.frluego, asegúrese de que la redirección no ocurra solo debido a la caché de su navegador: use siempre una ventana anónima o, mejor aún, simule la navegación usando curl para que no use ningún tipo de respuesta en caché.