Welcome Guest, Not a member yet? Register   Sign In
[SOLVED]: htaccess lingo
#6

[eluser]Maglok[/eluser]
Thanks for the replies.

@Tominator: No if I change the name of the index.php it will still try to load index.php. It works correctly if I remove the rewriterule, but then I will be stuck with index.php in all urls.

@CroNiX: I get the concept, it just is not working. I tried adding the following things all before RewriteEngine on: (One at a time)
Code:
Redirect 301 / index.html
Redirect 301 / /index.html
Redirect 301 / ./index.html
Redirect 301 / index.html [L]
Redirect 301 / /index.html [L]
Redirect 301 / ./index.html [L]

Of those only the 3rd did something but throw a 500 error: "http://www.domain.nl/index.htmlindex.htmlindex.htmlindex.htmlindex.htmlindex.htmlindex.htmlindex.htmlindex.htmlindex.htmlindex.htmlindex.htmlindex.htmlindex.htmlindex.htmlindex.htmlindex.htmlindex.htmlindex.htmlindex.html?/" then it just quit cause it was looping.


Messages In This Thread
[SOLVED]: htaccess lingo - by El Forum - 03-17-2010, 06:15 AM
[SOLVED]: htaccess lingo - by El Forum - 03-17-2010, 07:07 AM
[SOLVED]: htaccess lingo - by El Forum - 03-17-2010, 07:31 AM
[SOLVED]: htaccess lingo - by El Forum - 03-17-2010, 02:00 PM
[SOLVED]: htaccess lingo - by El Forum - 03-17-2010, 06:18 PM
[SOLVED]: htaccess lingo - by El Forum - 03-18-2010, 02:59 AM
[SOLVED]: htaccess lingo - by El Forum - 03-18-2010, 03:10 AM
[SOLVED]: htaccess lingo - by El Forum - 03-18-2010, 03:27 AM
[SOLVED]: htaccess lingo - by El Forum - 03-18-2010, 06:24 AM
[SOLVED]: htaccess lingo - by El Forum - 03-18-2010, 07:24 AM
[SOLVED]: htaccess lingo - by El Forum - 03-18-2010, 10:57 AM
[SOLVED]: htaccess lingo - by El Forum - 03-19-2010, 01:39 AM
[SOLVED]: htaccess lingo - by El Forum - 03-23-2010, 06:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB