Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
9 registered (mcasado, Mike L, Gizmo, SD, Bjab, driv, SteveS, nims2, Ruben), 23 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 04/22/10
Posts: 5
Top Posters (30 Days)
Ruben 63
SD 54
Gizmo 48
gliderdad 33
Dunny 21
driv 18
Iann128 16
dbremer 16
Stan 15
Mark S 13
Latest Photos
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Gizzo Marx
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 Online   hyper

Registered: 12/20/03
Posts: 4268
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 Online   hyper

Registered: 12/20/03
Posts: 4268
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 Online   hyper

Registered: 12/20/03
Posts: 4268
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 Online   hyper

Registered: 12/20/03
Posts: 4268
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
Edit Post
by Bert
Today at 01:19 PM
A positive note
by SteveS
Yesterday at 09:36 PM
How to locate links to particular site if they are only used in images?
by Conrad
02/10/12 09:41 PM
Pictures not displaying
by Marker23
02/09/12 10:04 PM
Issue with logging out constantly
by Flanuva
02/09/12 07:05 PM
Forum Stats
10213 Members
36 Forums
33667 Topics
180917 Posts

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