Enable PATH_INFO, some links not worked [message #32471] |
Mon, 03 July 2006 09:28 |
floyd
Messages: 6 Registered: July 2006
Karma: 0
|
Junior Member |
|
|
I set the PATH_INFO = Yes, and set the template set = path_info for the default theme.
Link to the forums (http://127.0.0.1/FUDforum2/index.php/f/11/) and topics (http://127.0.0.1/FUDforum2/index.php/t/738/) are fine.
But register link http://127.0.0.1/FUDforum2/index.php/re/ don't work.
When I try to login as admin, after submit login form, I'm redirect to "The page cannot be displayed". But when I click browser back button, I see that I'm logged in!
Also, if I not logged I can't open the urls: "reply", "new topic", "quote".
Help me please!
WinXP + SP2
Fudforum 2.7.5RC
Apache 1.3.34
PHP 5.1.2
[Updated on: Mon, 03 July 2006 09:33] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
Re: Enable PATH_INFO, some links not worked [message #33217 is a reply to message #33216] |
Fri, 18 August 2006 14:03 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The links don't require any .htaccess, when PATH_INFO works in the webserver it'll always pass index.php/foo/bar to index.php with /foo/bar being the PATH_INFO.
I've looked at Apache docs and it appears you need to add "AcceptPathInfo On" into your httpd.conf or try to put it inside .htaccess for this feature to work.
FUDforum Core Developer
|
|
|
|