I have a website where all requests for non-existing files or folders are being sent to index.php. It works great with standard http on port 80. When I try to access such "non-existing" file over https, I get 404 error. SSL itself is working fine, since I can get existing files over https.
My rewrite rule in .htaccess is:
- Code: Select all
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine on
# Note! I tried it with and without RewriteBase, but the problem remains
# RewriteBase /
RewriteCond %{REQUEST_URI} !^/(media|skin|js)/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php [L]
</IfModule>
RewriteLog is on level 3 and there are no reports if I access the site over https.
Any idea what might be wrong?