...

View Full Version : mod_rewrite problem



latemodern
04-05-2008, 04:37 PM
Hi,

Sorry if it turns out that I'm being daft but some help would be much appreciated.

My site'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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum