[SOLVED] .htaccess redirect from https to http shows the "index.php?" |
[eluser]PowerCode[/eluser]
Oops, I'm really sorry. You actually need the index.php or index.php? (as required by some hosts). So your previous query was right. That's the reason for the internal server error. So you need to change it back to RewriteRule ^(.*)$ /index.php?/$1. My bad. Just make sure you've set $config['index_page'] I mentioned above to "", though it may not be the problem. Anyways, I just did a small test, Code: RewriteEngine On I had this in a folder called HTTPS, and thus tried http://localhost/HTTPS/auth, which matched the second condition. Now instead of redirecting to https://localhost/HTTPS/auth, it redirects to https://localhost/HTTPS/auth?/auth. I don't know what the problem is . |
Messages In This Thread |
[SOLVED] .htaccess redirect from https to http shows the "index.php?" - by El Forum - 12-29-2008, 09:20 AM
[SOLVED] .htaccess redirect from https to http shows the "index.php?" - by El Forum - 12-29-2008, 10:00 AM
[SOLVED] .htaccess redirect from https to http shows the "index.php?" - by El Forum - 12-29-2008, 10:29 AM
[SOLVED] .htaccess redirect from https to http shows the "index.php?" - by El Forum - 12-29-2008, 10:48 PM
[SOLVED] .htaccess redirect from https to http shows the "index.php?" - by El Forum - 12-30-2008, 04:03 AM
[SOLVED] .htaccess redirect from https to http shows the "index.php?" - by El Forum - 12-30-2008, 06:21 AM
[SOLVED] .htaccess redirect from https to http shows the "index.php?" - by El Forum - 01-01-2009, 04:31 AM
[SOLVED] .htaccess redirect from https to http shows the "index.php?" - by El Forum - 01-01-2009, 11:31 AM
|