Welcome to WebmasterWorld Guest from 54.162.151.77

Forum Moderators: ocean10000

Message Too Old, No Replies

Isapi rewrite 2.X

layman's terms required.

     
7:49 am on Jul 1, 2008 (gmt 0)

Preferred Member

10+ Year Member

joined:Oct 19, 2004
posts:355
votes: 1


Hi,

I'm not at all experience in the isapi rule creation and would like an easy to follow explanation on how i can stop back slashes being added to my URL's

at present i'm seeing url's being index by search engines with an addition / added to the end.

www.example.com/widgets/index.htm/
and
www.example.com/widgets/directory/index.htm/

i'd like to redirect these request to my custom 404 page so these URL's that are index will be removed.

can any one help me with a rule and some explanation what it does.

Help greatly appreciated.

Vimes.

9:29 am on July 11, 2008 (gmt 0)

Preferred Member

10+ Year Member

joined:Oct 19, 2004
posts:355
votes: 1


Sorry i've just come back to this and re-reading it, it didn't make a lot of sense sorry must have been in a real panic.

I'll try and explain it better this time.

what i need to do is stop access to my server when my static pages are accessed with url's like this:

www.example.com/directory/index.htm/something-else

at the moment my server is generating a server header 200 and delivering my
www.example.com/directory/index.htm page

what i'd like to do is have isapi send these request to my custom 404 page.

how can i create a rule that denies anything thats added after the .htm extension I'd like to keep bookmarks how ever.

Could some please guide me in the right direction.

Vimes.