Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 136
O
member
member
O Offline
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
Joined: Jun 2006
Posts: 346
R
enthusiast
enthusiast
R Offline
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.

Joined: Jun 2006
Posts: 136
O
member
member
O Offline
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
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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, 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!
Joined: Jun 2006
Posts: 136
O
member
member
O Offline
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
Joined: Jun 2006
Posts: 136
O
member
member
O Offline
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
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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

Joined: Jun 2006
Posts: 136
O
member
member
O Offline
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
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Great! I get lucky once in awhile wink

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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, 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!
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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, 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
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
2 members (Gizmo, Nightcrawler), 553 guests, and 186 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)