Hola, tengo una app con el framework codeigniter, que quiero ponerla por https:
ya tengo configurado el virtualhost con el certificado y todo,
el login de la app que produce el controlador por defecto se muestra por https bien, pero el tema está que cuando el formulario es enviado por ajax al servidor la petición lo que me devuelve el server es un error 403.
Aquí está el htaccess:
Código:
<IfModule mod_rewrite.c>
RewriteEngine on
Options +FollowSymLinks
RewriteBase /
#RewriteCond %{REQUEST_URI} !(xhr|welcome)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} (welcome)
RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301]
</IfModule>
<IfModule !mod_rewrite.c>
ErrorDocument 404 /index.php
</IfModule>