Use PATH_INFO style URLs with url sessions turned on/off not working properly [message #11847] |
Fri, 18 July 2003 17:47 |
jrobbio
Messages: 32 Registered: June 2003
Karma: 0
|
Member |
|
|
Hi all,
My forum is on a server with Apache 1.3.27 and PHP 4.32 gzip enabled and I'm having terrible trouble getting the path_info to work flawlessly.
I followed the steps of creating a new template with the path_info template set and everything kind of works okay on the site. However, there seems to be some sort of problem from time to time where I will click on the reply button or new thread (these in particular) and either an error page will come up saying such and such page doesn't exist or I'll get a botched up page of my sites index page. I currently have it in a subdomain as well, but it didn't work particularly well when I had it somewhere else.
What I find confusing is that sometimes it works and sometimes it doesn't so that I can't reliably leave it on and hope for the best.
Any ideas?
Rob
|
|
|
|
|
|
Re: Use PATH_INFO style URLs with url sessions turned on/off not working properly [message #11853 is a reply to message #11850] |
Fri, 18 July 2003 22:13 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I went to the page you've showed and checked the reply link. In my case (anon user) I get a link to:
http://bbclone.topfunwebsites.com/index.php/r/reply_to/338/0/
When clicked, it takes me to the reply form.
I took the opportunity to browse to a few other forums on your site and still was unable to find the faulty links. Are you using >1 active path_info theme?
Quote: |
More problems seem to occur in the profile when you try to go try to go back to default after being in the path_info template. It takes the change, but it sends you to a non-existent page.
|
What do you mean going back to the default?
FUDforum Core Developer
|
|
|
|
|
|
|
|
|
|
Re: Apache 1.3.28 [message #11865 is a reply to message #11864] |
Sat, 19 July 2003 00:48 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
This could potentially be the result of the mod_rewrite bug that is supposedly fixed. But you would only be affected if you were using mod_rewrite.
FUDforum Core Developer
|
|
|
|
|
|
Re: Use PATH_INFO style URLs with url sessions turned on/off not working properly [message #12336 is a reply to message #12335] |
Tue, 05 August 2003 00:41 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
jrobbio wrote on Mon, 04 August 2003 20:26 |
prottoss wrote on Tue, 05 August 2003 00:40 | The bug you've mentioned has nothing to do with your problem. The error occurs on apache level before it even reaches PHP.
|
Okay just checking
|
Like I said before the problem is quite simple, although the solution probably is not. The problem is that the apache looses the host when it resolves a url with multiple //. Solving that problem would make the bug go away.
FUDforum Core Developer
|
|
|