Previous Thread
Next Thread
Print Thread
Hop To
[NOTABUG] spider-friendly URLs not being friendly #165154 10/07/2006 8: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 10:47 AM.

Okusi Associates -- Indonesian business and management services
Re: spider-friendly URLs not being friendly [Re: Okusi] #165157 10/07/2006 9:33 AM
Joined: Jun 2006
Posts: 346
Ron M Offline
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 [Re: Ron M] #165158 10/07/2006 9: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 [Re: Okusi] #165189 10/07/2006 1:43 PM
Joined: Jun 2006
Posts: 15,852
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,852
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.
Need to Upgrade?
Forums: A Gardeners Forum 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 [Re: Gizmo] #166497 10/19/2006 7: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 [Re: Okusi] #166580 10/20/2006 8: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 [Re: Okusi] #166597 10/20/2006 10:14 AM
Joined: Jun 2006
Posts: 9,243
Rick Offline
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 [Re: Rick] #166678 10/20/2006 7: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 [Re: Okusi] #166679 10/20/2006 7:15 PM
Joined: Jun 2006
Posts: 9,243
Rick Offline
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 [Re: Rick] #166698 10/21/2006 3:13 AM
Joined: Jun 2006
Posts: 15,852
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,852
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.
Need to Upgrade?
Forums: A Gardeners Forum 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 [Re: Gizmo] #166707 10/21/2006 3:33 AM
Joined: Jun 2006
Posts: 15,852
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,852
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.
Need to Upgrade?
Forums: A Gardeners Forum 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!

Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Mobile app?
by Baldeagle - 12/06/2019 9:32 PM
How do you change Text Line spacing?
by jorb - 11/23/2019 12:14 AM
What happened to FAQ or Forum Help
by Ruben - 11/20/2019 11:58 AM
Search feature encountering an Error message
by jorb - 11/20/2019 12:06 AM
Followed List v7.7.2 Question
by Ruben - 11/12/2019 12:22 PM
Who's Online Now
0 registered members (), 72 guests, and 413 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
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
(Snapshot build 20191023)