Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
5 registered (Gizmo, GregK, Iann128, SteveS, SD), 34 Guests and 16 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 04/22/10
Posts: 5
Top Posters (30 Days)
Ruben 61
SD 52
Gizmo 48
gliderdad 33
Dunny 21
driv 18
dbremer 16
Mark S 13
Stan 12
Iann128 10
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: 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 Offline

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 Offline

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 Offline

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
#237510 - 06/16/10 04:12 PM Re: Spider-friendly URLs not working [Re: Ruben]
Pak Offline
stranger
Registered: 08/12/05
Posts: 3
Hi Ruben
Originally Posted By: Ruben
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.

Does that mean you don't know what permissions you need to get it to work, or that despite applying the permissions, nothing changed? If the former, could you let us know what permissions need to be applied, and to what?
Top
#237511 - 06/16/10 04:30 PM Re: Spider-friendly URLs not working [Re: Pak]
Ruben Offline

Registered: 12/20/03
Posts: 4268
Loc: Lutz,FL
It is hard to tell from my perspective.
When I was on a windows host I had limited access to the server settings.
My previous host did not even know what path_info was.
They were willing to change settings on my direction from research I did. But as I recall there was a roadblock that the version I was on did not recommend the changes needed from microsoft.
And cgi_fix was one of the values to address.
There was another value I found in pathinfo that looked promising ,can't recall what it was but it did not work either.

So I gave up on a futile attempt to get it working. And switched to a linux server.

There are some people here that use iss and have friendly urls working. But I don't think most of them know why it does work it just does.

So like I said Rick can peek under the hood if he has access and may find another value to use.

Bottom line is for a test looking here just add /pak to the url
You will see you do not get a 404 error.
Try it at your test site and you do.
_________________________
Blue Man Group
Top
#237512 - 06/16/10 04:45 PM Re: Spider-friendly URLs not working [Re: Ruben]
Ruben Offline

Registered: 12/20/03
Posts: 4268
Loc: Lutz,FL
HERE is one post on the subject that may help.
It is a old post but...
_________________________
Blue Man Group
Top
#237550 - 06/19/10 05:37 PM Re: Spider-friendly URLs not working [Re: Ruben]
Stan Offline

addict
Registered: 06/05/06
Posts: 687
how do we tell if it is working or not?
_________________________
As of Aug - 2010 I am using version 7.5.6 and hosted by http://www.mindraven.com/

UBBsite
http://clubadventist.com
Top
#237552 - 06/19/10 05:51 PM Re: Spider-friendly URLs not working [Re: Stan]
Ruben Offline

Registered: 12/20/03
Posts: 4268
Loc: Lutz,FL
well it works on clubadventist,com
Because a url that works is:
http://clubadventist.com/forum/ubbthread...tml#Post367895.

otherwise the url would be something like:
http://clubadventist.com/forum/ubbthreads.php?ubb=showflat&Number=367895#Post367895
_________________________
Blue Man Group
Top
#237708 - 07/02/10 08:52 AM Re: Spider-friendly URLs not working [Re: Ruben]
Stan Offline

addict
Registered: 06/05/06
Posts: 687
thanks!
_________________________
As of Aug - 2010 I am using version 7.5.6 and hosted by http://www.mindraven.com/

UBBsite
http://clubadventist.com
Top
#237865 - 07/11/10 10:00 PM Re: Spider-friendly URLs not working [Re: Ruben]
ghdfans2010 Offline
stranger
Registered: 07/05/10
Posts: 2
Loc: VA
I agree with you.I just suggested this fix since it works on some windows servers.
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
10214 Members
36 Forums
33668 Topics
180918 Posts

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