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

[eluser]Maglok[/eluser]
I have an CI application setup with the 'hide the index.php' htaccess, this works perfectly fine on my test environment (which is on the same server).

This is the htaccess:
Code:
RewriteEngine on
RewriteBase /
RewriteCond $1 !^(index\.html|index\.php|images|css|forum|xml|vertigo|symbols|scripts|favicon\.ico|robots\.txt|google847290c1a8337c56\.html|wip\.jpg)
RewriteRule ^(.*)$ ./index.php?/$1 [L]

I have included a index.html and wip.jpg on the list of things to not throw at index.php. If I go to domain.nl/index.html it does load, but it won't go to index.html by default.

I know of the command 'DirectoryIndex index.html' that should tell the webserver to serve the index.html page if it is available, yet that doesn't work. I basically want a (temporary) splash/puzzle before the index.php. It is giving me hell. Smile What am I missing?

The test environment htaccess is nearly the same only the rewritebase is /test/


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