I have magento in a subdirectory in the root, and if I set the link to the secure base url and the secure link to the base url to the correct shared ssl-url to enable secure pages, I have no problem in FRONTEND. Pages are displayed as they should. However, when I try to access the administrator using the secure link below, I cannot access.
For example, in the interface: http://mydomain.com/shopbecomes http://mydomain.com- this is correct.
https://mydomain.sharedssl.com/shop/customer/account/login/becomes
https://mydomain.sharedssl.com/customer/account/login/- that's right.
But then I can access the administrator without https://mydomain.com/shop/index.php/admin/andhttps://mydomain.com//index.php/admin/
In the root directory, I have this in my htaccess:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !^/shop(.*)
RewriteRule (.*) /shop/$1 [L]
and in the store (Magento) I have the following:
DirectoryIndex index.php
<IfModule mod_php5.c>
php_value memory_limit 128M
php_value max_execution_time 18000
php_flag magic_quotes_gpc off
php_flag session.auto_start off
php_flag suhosin.session.cryptua off
php_flag zend.ze1_compatibility_mode Off
</IfModule>
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
<IfModule mod_deflate.c>
- , Magento?