FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » url rewrite without /index.php/
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
url rewrite without /index.php/ [message #162922] Mon, 30 August 2010 09:52 Go to next message
INVY is currently offline  INVY   Italy
Messages: 33
Registered: November 2009
Karma: 0
Member
default path_info it it_IT.UTF-8 it Yes Yes

url= http://mysite/index.php/f/36/

how can I remove /index.php/ for having a url

url= http://mysite/f/36/

thanks
icon7.gif  Re: url rewrite without /index.php/ [RESOLVED] [message #162923 is a reply to message #162922] Mon, 30 August 2010 13:53 Go to previous messageGo to next message
INVY is currently offline  INVY   Italy
Messages: 33
Registered: November 2009
Karma: 0
Member
File:

/include/compiler.inc

code:

$cmpl['ROOT'] = 'index.php';

replace:

$cmpl['ROOT'] ='';

file:

.htaccess:

code:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
Re: url rewrite without /index.php/ [RESOLVED] [message #162924 is a reply to message #162923] Mon, 30 August 2010 14:52 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3772
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Great, this is also documented in the FAQ.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Problems with install in current SVN revision
Next Topic: problem FEED
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Dec 18 02:26:14 GMT 2024

Total time taken to generate the page: 0.29171 seconds