|
Joined: Mar 2003
Posts: 215
Junior Member
|
Junior Member
Joined: Mar 2003
Posts: 215 |
How come some pages here are of the forum script.php?title=value, others script.php/title/value ?
|
|
|
|
Joined: Jun 2003
Posts: 1,025
Junior Member
|
Junior Member
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
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
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.
|
|
|
|
Joined: Jun 2002
Posts: 670
Code Monkey
|
Code Monkey
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
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
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.
|
|
|
|
Joined: Jun 2002
Posts: 670
Code Monkey
|
Code Monkey
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
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
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
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.
|
|
|
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.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|