Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Mar 2003
Posts: 215
Junior Member
Junior Member
Offline
Joined: Mar 2003
Posts: 215
How come some pages here are of the forum script.php?title=value, others script.php/title/value ?

Sponsored Links
Joined: Jun 2003
Posts: 1,025
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 1,025
I believe that is due to Joshpet's spider mod.

Joined: Jun 2002
Posts: 670
Code Monkey
Code Monkey
Offline
Joined: Jun 2002
Posts: 670
It's Josh's mod all right Josh be very smart.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yup - it's a search engine friendly thing.

Joined: May 2003
Posts: 1,068
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 1,068
Yep, guaranteed to get a kajillion listings in the major search engines. Okay, maybe a slight exaggeration but I am well over a thousand and the bots are always all over my site.

Sponsored Links
Joined: Jun 2002
Posts: 670
Code Monkey
Code Monkey
Offline
Joined: Jun 2002
Posts: 670
How do you do that Josh? Do you use an .htaccess file to rewrite the urls?

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
No my mod does not use mod rewrite - it alters the URLs directly.

Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Most servers allow you to append a random path to an executable script... i.e. if your script is called showflat.php, you can call showflat.php/other/path/stuff.

The extra path bits get put into an environmental variable called PATH_INFO. That can then be read and split to figure out what page was called.

Unfortunately, this doesn't work with IIS servers.


UBB.classic: Love it or hate it, it was mine.
Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
[]JoshPet said:
No my mod does not use mod rewrite - it alters the URLs directly. [/]

What impact does this mod have on bandwidth? Also, my forum gets crawled like crazy now (extra bandwidth) because I have Google adsence ads on it.

Joined: May 2003
Posts: 1,068
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 1,068
I have found that it's not that big of an impact, I also run the Google adsense but have learned that they don't index your site from what I can tell, best way to tell is to use the Online Users Mod and it will show you where your users are coming from in the Who's Online page. It's for version 6.4 but maybe you can get it to work for 6.2.3?

After adding Josh's mod my traffic sky rocketed and I am getting more people registering than ever now.

Sponsored Links
Joined: Jun 2002
Posts: 670
Code Monkey
Code Monkey
Offline
Joined: Jun 2002
Posts: 670
There is the Online Users Mod for 6.4, but there is an earlier version floating around somewhere. I have it installed on 6.3.2.

Joined: Sep 2001
Posts: 129
Member
Member
Offline
Joined: Sep 2001
Posts: 129
[]Charles_Capps said:
Unfortunately, this doesn't work with IIS servers. [/]

Oh yes it does but not by default, if you run the following two scripts it should work just fine:

adsutil set w3svc/1/AllowPathInfoForScriptMappings True

You will need to change the /1/ to the value of the site you what to use it for or:

adsutil set w3svc/AllowPathInfoForScriptMappings True

will set if as defaut for all sites.


Regards
Clint

Running on WIN2003 Web Server.

Paranoid people get followed too!
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Aha! Excellent tip.

Is there any GUI switch for that? It's easier to provide instructions to reluctant hosts when it doesn't involve the command line...

Also, how does one determine the site number?


UBB.classic: Love it or hate it, it was mine.
Joined: Sep 2001
Posts: 129
Member
Member
Offline
Joined: Sep 2001
Posts: 129
gui switch there isnt

the site number can be easily identified in the top line of the sites log file.


Regards
Clint

Running on WIN2003 Web Server.

Paranoid people get followed too!
Joined: Mar 2003
Posts: 215
Junior Member
Junior Member
Offline
Joined: Mar 2003
Posts: 215
Where can I find a simple example of doing this?

Should I look into the spider mod and just find it there?

Thanks.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
hatter
hatter
USA
Posts: 69
Joined: January 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)