latemodern
04-03-2008, 02:09 PM
Hi,
Sorry if it turns out that I'm being daft but some help would be much appreciated.
I am using codeigniter (a PHP Framework) and my application's URL is:
http://www.BASEURL.com/index.php/app/
I would like it to be:
http://www.BASEURL.com/
I have managed to remove the ;index.php' so that this works:
http://www.BASEURL.com/app/
But I would like to get rid of ''/app' too.
My .htaccess file:
RewriteEngine on
RewriteBase /rosie
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
I tried the following to no avail:
RewriteEngine on
RewriteBase /rosie
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/app/$1 [L]
Any ideas what I'm doing wrong?
Thanks in advance!
Chris
Sorry if it turns out that I'm being daft but some help would be much appreciated.
I am using codeigniter (a PHP Framework) and my application's URL is:
http://www.BASEURL.com/index.php/app/
I would like it to be:
http://www.BASEURL.com/
I have managed to remove the ;index.php' so that this works:
http://www.BASEURL.com/app/
But I would like to get rid of ''/app' too.
My .htaccess file:
RewriteEngine on
RewriteBase /rosie
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
I tried the following to no avail:
RewriteEngine on
RewriteBase /rosie
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/app/$1 [L]
Any ideas what I'm doing wrong?
Thanks in advance!
Chris