|
Joined: Jun 2006
Posts: 53
journeyman
|
journeyman
Joined: Jun 2006
Posts: 53 |
If I turn on spider-friendly URLs all the threads in my site return blank. The CP says that the PATH_INFO environmental variable must be available for this to work.
Does anyone know what I need to do with the Path_INFO variable to get it to work?
Thanks.
|
|
|
|
Joined: Jun 2006
Posts: 956
Old Hand
|
Old Hand
Joined: Jun 2006
Posts: 956 |
do you have access to your php.ini on your server or do you use an shered environment? In this case you have to ask your hoster to set it for you.
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Also, if you go into your control panel, you'll see a link to PHP Info. If you bring this up look and see if the variable ORIG_PATH_INFO has any information in it. It's possible we can use this as it seems to be set sometimes when PATH_INFO isn't.
|
|
|
|
Joined: Jun 2006
Posts: 53
journeyman
|
journeyman
Joined: Jun 2006
Posts: 53 |
I have access to the php.ini on the server, I'm just not sure what to change. I don't see anything saying path_info in the php info page.
Rick, I sent you a PM with a link to the php info.
Thanks for the help.
|
|
|
|
Joined: Aug 2006
Posts: 111
member
|
member
Joined: Aug 2006
Posts: 111 |
If I click on a post from the main index page it wants to go to something like this: http://www.MyDomainName.com/NewForums/ubbthreads.php/ubb/showflat/Number/2383/Main/81/#Post2383 And my web server says the page doesn't exist. If I remove the # like this: http://www.cessna-pilots.com/NewForums/ubbthreads.php/ubb/showflat/Number/2383/Main/81/Post2383 It returns the post and works fine. This also happens in version 6.5.5. Any work arounds? Fred
|
|
|
|
Joined: Aug 2006
Posts: 111
member
|
member
Joined: Aug 2006
Posts: 111 |
|
|
|
|
Joined: Jun 2006
Posts: 3,837
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837 |
It sounds like you have a separate bug - not related to the spider-friendly URL's - otherwise ubbthreads.php/ubb bit would not work.
Might be easier to open a new thread under the 'bugs forum' - as it sounds like a bug and not related to spider-friendly URL's.
If it isn't a bug, it can then be moved to a better forum.
|
|
|
|
Joined: Jun 2006
Posts: 53
journeyman
|
journeyman
Joined: Jun 2006
Posts: 53 |
I still haven't been able to get my spider-friendly URLs to work. Anyone have any ideas what I should do with the ORIG_PATH_INFO to get it to work?
|
|
|
|
Joined: Jun 2006
Posts: 16,292 Likes: 116
|
Joined: Jun 2006
Posts: 16,292 Likes: 116 |
MMG, what OS (Windows or nix?) using apache? what version is your php? can you upload a phpinfo.php containing:
|
|
|
|
Joined: Dec 2003
Posts: 6,560 Likes: 78
|
Joined: Dec 2003
Posts: 6,560 Likes: 78 |
Also, if you go into your control panel, you'll see a link to PHP Info. If you bring this up look and see if the variable ORIG_PATH_INFO has any information in it. It's possible we can use this as it seems to be set sometimes when PATH_INFO isn't. Using threads 7.4.1 I get 404 pages when spider friendly is turned on. Path_info is not available but ORIG_PATH_INFO is. I am on a windows server with IIS. Looking at Rick's comments is there a work around for this?
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Jun 2006
Posts: 869
old hand
|
old hand
Joined: Jun 2006
Posts: 869 |
Under the old system 6 point something i had as many as 282,000 listings.. now i run between 10-20,000 AT BEST..
|
|
|
|
Joined: Dec 2003
Posts: 6,560 Likes: 78
|
Joined: Dec 2003
Posts: 6,560 Likes: 78 |
Bump! Bump! I revived an old thread but If needed I will post a new one. See Comments from prior posts. I have had this problem since upgrading from Classic almost two years ago but finally getting around to it after finding this post.
Last edited by Ruben Rocha; 11/20/2008 8:21 PM.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Dec 2003
Posts: 6,560 Likes: 78
|
Joined: Dec 2003
Posts: 6,560 Likes: 78 |
I surrender on this issue. I think I am going to go linux/Apache to solve my few issues. To hell with Bill Gates. I will probably post a inquiry to the age old question of which host is best.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
|
Pooh-Bah
Joined: Dec 2003
Posts: 1,796 |
hehe, you might open a support ticket with Rick, he mentioned ORIG_PATH_INFO might be the variable needed. If so, then we'd know the answer for future windows IIS people.
|
|
|
|
Joined: Dec 2003
Posts: 6,560 Likes: 78
|
Joined: Dec 2003
Posts: 6,560 Likes: 78 |
Yes I thought about it but in my case with testing it and calling my host to change some setttings it just does not work at all.(PATH_INFO or ORIG_PATH_INFO) There are a few tech notes noted here at Microsoft but Billy removed them all. Probably not my flavor of IIS anyway. A few people have posted here and out in the web world that said they got it to work but they never replied on what the did. Also I have reserrected this post for days with only your reply. So I am moving on with life and looking at A non Windows host. See my other post in the Admin forum.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
|
Pooh-Bah
Joined: Dec 2003
Posts: 1,796 |
Does your host not have a control panel for you to make changes with? Remote desktop?
|
|
|
|
Joined: Dec 2003
Posts: 6,560 Likes: 78
|
Joined: Dec 2003
Posts: 6,560 Likes: 78 |
Not for IIS settings or php.ini. They changed some settings in PHP.INI such as cgifix etc that was supposed to works but it did not. The problem is it still looks for a valid folder and file name. In my research I found that is is because of another setting in IIS I believe something about scriptmapping or so. My host was not willing to turn it off. So even though ORIG_PATH_INFO works and PATH_INFO still does not exist it will not allow a non valid URL request with out a supporting folder or filename. BUT I did find out that ISAPIReWrite is availible. I have never used it before so it is quite intimidating at first glance for me. I did a modest test of URL ubbthreads?ubb=cfrm to ubbthreads.php/forum_summary.html which works perfectly. It may take me quite some time to learn. It is supposed to be a IIS replacement for APACHE mod_rewrite which I don't know either.
Anybody out there that has used ISAPI Rewrite?
Last edited by Ruben Rocha; 11/24/2008 4:13 PM.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
0 members (),
744
guests, and
147
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|