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 :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Can't get rid of index.php [message #168817] Fri, 26 July 2013 22:34 Go to next message
cpreston is currently offline  cpreston   United States
Messages: 160
Registered: June 2012
Location: Oceanside
Karma: 6
Senior Member
add to buddy list
ignore all messages by this user
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] Fri, 26 July 2013 23:00 Go to previous messageGo to next message
cpreston is currently offline  cpreston   United States
Messages: 160
Registered: June 2012
Location: Oceanside
Karma: 6
Senior Member
add to buddy list
ignore all messages by this user
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 04:26 Go to previous messageGo to next message
naudefj is currently offline  naudefj   
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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 19:56 Go to previous message
cpreston is currently offline  cpreston   United States
Messages: 160
Registered: June 2012
Location: Oceanside
Karma: 6
Senior Member
add to buddy list
ignore all messages by this user
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 19:59]

Report message to a moderator

Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Sat Oct 21 15:16:58 EDT 2017

Total time taken to generate the page: 0.00766 seconds