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

[eluser]CroNiX[/eluser]
[quote author="Maglok" date="1268850701"]Not really, because the page I am putting in front of the index.php is not in CI.

EDIT: Well I figured out the DirectoryIndex is technically working. The issue though is that the directoryIndex is not technically a request for 'index.html', so it reroutes it to 'index.php' (The CI entrance). My rewriteRule knowhow is really crappy, how do I get it to transfer the default page to index.html?[/quote]
maybe just a redirect in htaccess for a empty url?

Code:
Redirect 301 / /somedir/non-ci-page-to-load.php

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]


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