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

Home » FUDforum » FUDforum Installation Issues » Can't get rid of index.php
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Can't get rid of index.php [message #168817] Sat, 27 July 2013 02:34 Go to next message
cpreston is currently offline  cpreston   United States
Messages: 160
Registered: July 2012
Location: Oceanside
Karma: 6
Senior Member
I have followed (and enhanced) the instructions found here:
http://cvs.prohost.org/index.php/Frequently_Asked_Questions#How_does_one_re move_the_.27index.php.27_part_from_the_URL.3F

But for the life of me, I'm not getting what I want.

I've verified that PATH_INFO support is enabled using the method outlined in the instructions above (which I grabbed from some other site somewhere).

I have the following in my root's .htaccess file:
RewriteBase /forum
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php/$1 [L]

(Rewrite Engine is already on)

And I edited the compiler.inc and rebuilt the theme.

But...

If I go to /forum, everything is fine. If I click on the first forum, however, I just find myself back at the main page and do not going into the forum.
Re: Can't get rid of index.php [message #168818 is a reply to message #168817] Sat, 27 July 2013 03:00 Go to previous messageGo to next message
cpreston is currently offline  cpreston   United States
Messages: 160
Registered: July 2012
Location: Oceanside
Karma: 6
Senior Member
Wow, after days... I figured it out minutes after. All I had to do was move the .htaccess file into the /forum directory, instead of the way the instructions had it (in the server root).
Done!
Re: Can't get rid of index.php [message #168819 is a reply to message #168818] Sat, 27 July 2013 08:26 Go to previous messageGo to next message
naudefj is currently offline  naudefj   
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Thanks for fixing the instructions on the wiki as well!
Re: Can't get rid of index.php [message #168827 is a reply to message #168819] Sat, 27 July 2013 23:56 Go to previous message
cpreston is currently offline  cpreston   United States
Messages: 160
Registered: July 2012
Location: Oceanside
Karma: 6
Senior Member
I'm a writer/speaker by trade, not a coder. I can kinda hack basic PHP code, which is what I ended up doing in this case, but I hire real programmers for the hard stuff. But editing wikis? THAT I can do!

I'm particularly happy about the bit where I added how to test if PATH_INFO is enabled, which is really important before you move onto the next step. I searched and searched for that to no avail. Came across it accidentally somewhere else!

[Updated on: Sat, 27 July 2013 23:59]

Report message to a moderator

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Upgrading 3.0.0 -> 3.0.4 Error
Next Topic: Install without sql possible?
Goto Forum:
  

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

Current Time: Thu Nov 21 10:47:00 GMT 2024

Total time taken to generate the page: 0.03288 seconds