BirdOPrey5 |
05-24-2014 06:05 PM |
Quote:
Originally Posted by RichieBoy67
(Post 2499206)
Thanks bro, awesome!
Just to verify here I am doing this correctly, One test would be to put a non existent path into the form and it should show a 404 error instead of the Vbulletin no permission page?
I think I may be a little confused as to what this does. This does not change error pages but rather response header code so those pages are no longer crawled therefor reducing soft errors and the like?
|
Not exactly...
This mod kicks in when vBulletin shows a vBulletin generated error message.
One way to test it is to test a thread URL such as-
Code:
http://www.qapla.com/mods/showthread.php/1203
(you will see that URL works and response code will be 200)
then change the thread number to something much higher, that you don't have a valid thread for like-
Code:
http://www.qapla.com/mods/showthread.php/999999999999
Now that should return a 404 response code... If this mod wasn't enabled then that URL would return a 200 response code. The 404 proves the mod is working.
Be aware when testing on your own forum the exact URL may be cached by the status checker... so if you test before the mod is installed be sure to use a different URL (even if it is just a little different) when you test again after installing the mod.
If you used a URL that doesn't exist at all like
Code:
http://www.qapla.com/mods/shugugaga
That returns a 404 response because your server is producing a 404 page, vBulletin isn't running at all in this case, it has nothing to do with this mod.
|