Previous Thread
Next Thread
Print Thread
Hop To
[NOTABUG] spider-friendly URLs not being friendly
#165154 10/07/2006 9:27 AM
Joined: Jun 2006
Posts: 136
Okusi Offline OP
member
OP Offline
member
Joined: Jun 2006
Posts: 136
whenever i "Enable Spider-friendly URLs" i keep getting all sorts of errors with php program files not being found (eg, clicking any of the above menu items brings up an "input file not found" error.

i am presuming this is related to "PATH_INFO" environmental variable. so does anyone know: where is this set, and what is it set to?

Last edited by Rick; 10/23/2006 11:47 AM.

Okusi Associates -- Indonesian business and management services
Re: spider-friendly URLs not being friendly
Okusi #165157 10/07/2006 10:33 AM
Joined: Jun 2006
Posts: 346
enthusiast
Offline
enthusiast
Joined: Jun 2006
Posts: 346
What version of PHP and apache are you running assuming you are on a Linux box?

I have been running spider friendly URLs since the first version of 7 without errors. It sounds like you have an apache or PHP issue, not a script issue.

Re: spider-friendly URLs not being friendly
Ron M #165158 10/07/2006 10:53 AM
Joined: Jun 2006
Posts: 136
Okusi Offline OP
member
OP Offline
member
Joined: Jun 2006
Posts: 136
i ran spider-friendly urls with my previous system with no problems.

PHP Version is 4.3.11.

Apache/1.3.37 (Unix) mod_tsunami/3.0 FrontPage/5.0.2.2634


Okusi Associates -- Indonesian business and management services
Re: spider-friendly URLs not being friendly
Okusi #165189 10/07/2006 2:43 PM
Joined: Jun 2006
Posts: 15,937
Likes: 27
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 15,937
Likes: 27
My .htaccess has the following:
AcceptPathInfo on

Please note however that I'm running:
PHP Version 4.3.9
Apache/2.0.52 (CentOS)

I believe however that AcceptPathInfo is an Apache 2.0 option (more info here).

I'm not entirely sure of the equivelant to this in apache 1


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, I Find Rocks, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: spider-friendly URLs not being friendly
Gizmo #166497 10/19/2006 8:51 AM
Joined: Jun 2006
Posts: 136
Okusi Offline OP
member
OP Offline
member
Joined: Jun 2006
Posts: 136
i've found out where to put this PATH_INFO environment variable (php.ini). now all i need to know is what value it has to have. any suggestions?


Okusi Associates -- Indonesian business and management services
Re: spider-friendly URLs not being friendly
Okusi #166580 10/20/2006 9:41 AM
Joined: Jun 2006
Posts: 136
Okusi Offline OP
member
OP Offline
member
Joined: Jun 2006
Posts: 136
this is rather depressing ... no-one here knows anything about this spider problem? my site is starting to lose traffic i suspect because of this, so it's not a small issue. at least not to me, anyway ...


Okusi Associates -- Indonesian business and management services
Re: spider-friendly URLs not being friendly
Okusi #166597 10/20/2006 11:14 AM
Joined: Jun 2006
Posts: 9,243
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,243
I'm not sure if your version of PHP has this option, but if php is running as a cgi, there is a setting in php.ini that can be changed to make sure PATH_INFO returns a value:

cgi.fix_pathinfo =1

Re: spider-friendly URLs not being friendly
Rick #166678 10/20/2006 8:13 PM
Joined: Jun 2006
Posts: 136
Okusi Offline OP
member
OP Offline
member
Joined: Jun 2006
Posts: 136
Originally Posted by Rick
I'm not sure if your version of PHP has this option, but if php is running as a cgi, there is a setting in php.ini that can be changed to make sure PATH_INFO returns a value:

cgi.fix_pathinfo =1


thanks, that seems to have fixed it!


Okusi Associates -- Indonesian business and management services
Re: spider-friendly URLs not being friendly
Okusi #166679 10/20/2006 8:15 PM
Joined: Jun 2006
Posts: 9,243
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,243
Great! I get lucky once in awhile wink

Re: spider-friendly URLs not being friendly
Rick #166698 10/21/2006 4:13 AM
Joined: Jun 2006
Posts: 15,937
Likes: 27
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 15,937
Likes: 27
odd, I have that commented out in mine and I know i'm running php as a cgi lol


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, I Find Rocks, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: spider-friendly URLs not being friendly
Gizmo #166707 10/21/2006 4:33 AM
Joined: Jun 2006
Posts: 15,937
Likes: 27
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 15,937
Likes: 27
Myself I have the following in my htaccess to make this work:
Code
AcceptPathInfo On

I'm not sure if it requires AllowOverride On for your site though (AllowOverride would be in your host block for your domain)


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, I Find Rocks, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Unread posts no longer tracked per user...
by KirkW - 06/16/2020 12:21 AM
Max Image file size upload
by jjjjj - 06/10/2020 10:25 PM
Error on Inert into POSTS
by jjjjj - 06/07/2020 8:09 PM
YouTube embedding
by jjjjj - 06/06/2020 6:14 PM
PHP Version
by DennyP - 05/18/2020 1:40 PM
Who's Online Now
1 members (Gizmo), 119 guests, and 40 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4