Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (57-Vette), 51 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 04/09/11
Posts: 140
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 2 1 2 >
Topic Options
#237465 - 06/14/10 04:40 PM Spider-friendly URLs not working
nemarsde Offline
stranger
Registered: 06/14/10
Posts: 2
Hi there, I'm one of two developers working on DreamLyrics Message Gaming.

http://www.dreamlyrics.com/forums/

The site used to run on UBB.classic, which apparently had in-built archiver tool (for creating offline archives of forums). We've been tasked with bringing this feature to the new UBB.threads site, but we're running short on man-hours.

Our plan is to simply use HTTrack to generate the archives, but we need spider-friendly URLs to be able to constrain HTTrack (otherwise it'll run off and archive the half the site ;)).

We've tried enabling spider-friendly URLs on the test site, but get the following error when loading any forum page:

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.


We're aware of the proviso in the CP:

"Note: The PATH_INFO environmental variable must be available for this feature to function properly."

The site is running v7.4.1 on an IIS server (we have no choice in this matter) and PHP info is reporting cgi_fix.pathinfo is enabled (1).

Can anyone give us some pointers on how to get spider-friendly URLs working?


Edited by nemarsde (06/14/10 04:44 PM)
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#237469 - 06/14/10 05:13 PM Re: Spider-friendly URLs not working [Re: nemarsde]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Hmm, if you bring up a phpinfo() page is it actually filling in the PATH_INFO variable?
Top
#237481 - 06/15/10 06:30 AM Re: Spider-friendly URLs not working [Re: Rick]
nemarsde Offline
stranger
Registered: 06/14/10
Posts: 2
Hi Rick. From a phpinfo() page, the ORIG_PATH_INFO displays a path that matches the location of phpinfo.php file.
Top
#237484 - 06/15/10 08:52 AM Re: Spider-friendly URLs not working [Re: nemarsde]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Hmm, at that point it might require a bit of debugging to see what it's actually sending to the browser resulting in the error. If you want to open a support ticket with ftp and forum admin info we can debug a bit and take a look.
Top
#237487 - 06/15/10 01:59 PM Re: Spider-friendly URLs not working [Re: Rick]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Is not the version 7.4.1 prior to the fix that was applied to use orig_path_info for the iis servers?
File was ubbthreads.inc.php
Should have a line like
Php Code:
$PATH_INFO = array_get($_SERVER, 'ORIG_PATH_INFO', '');
 



Edited by Ruben (06/15/10 02:17 PM)
Edit Reason: Added comment
_________________________
Blue Man Group
Top
#237499 - 06/15/10 07:43 PM Re: Spider-friendly URLs not working [Re: Ruben]
Pak Offline
stranger
Registered: 08/12/05
Posts: 3
Hi - I'm one of the other developers/administrators on that board.
Originally Posted By: Ruben
Is not the version 7.4.1 prior to the fix that was applied to use orig_path_info for the iis servers?
File was ubbthreads.inc.php
Should have a line like
Php Code:
$PATH_INFO = array_get($_SERVER, 'ORIG_PATH_INFO', '');
 


Our copy of the ubbthreads.inc.php file does not have that line. Does that mean that if we upgrade to the current version of ubbthreads, we can get spider-friendly URLs working?
Top
#237505 - 06/16/10 02:51 PM Re: Spider-friendly URLs not working [Re: Pak]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
As I recall you can edit the line .
Your version probably is
Php Code:
$PATH_INFO = array_get($_SERVER, 'PATH_INFO', '');
 

Just edit it to what I posted and give it a try.
_________________________
Blue Man Group
Top
#237507 - 06/16/10 03:28 PM Re: Spider-friendly URLs not working [Re: Ruben]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
FYI, The fix does not work on all windows servers depends on how the host set up the permissions.
Due to security issues with windows.
Thanking Bill Gates.

That is why I switched from a windows host to a linux host.
It never did work at all, No matter what value I used.
_________________________
Blue Man Group
Top
#237508 - 06/16/10 03:41 PM Re: Spider-friendly URLs not working [Re: Ruben]
Pak Offline
stranger
Registered: 08/12/05
Posts: 3
I've edited the line to read
Php Code:
$PATH_INFO = array_get($_SERVER, 'ORIG_PATH_INFO', ''); 

I also disabled the "Verify that file exists" checkbox for the web site in IIS, and turned on spider-friendly URLs in the site, but when I browse to the main forums, I get the CGI error as before for the test site URL
Code:
http://test.dreamlyrics.co.uk/forums/ubbthreads.php/forum_summary
Top
#237509 - 06/16/10 03:54 PM Re: Spider-friendly URLs not working [Re: Pak]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Well then you can let Rick give a try as he suggested. But you will need to open a support ticket with access info.
I just suggested this fix since it works on some windows servers.
If the value is available. So it appears in your case it is not.

memory reminds me the issue with iis is the script mapping value.
If you enable it it opens the site to security issues.
But it was dependent on what versions you were running. IIS5 or IIS6 or IISx.
_________________________
Blue Man Group
Top
Page 1 of 2 1 2 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image