When user goes to
http://site/web/ I do not want them to be redirected to that web's welcome page,
How can I disable this redirection?
I am fully aware this would result in a 404 error which is what I want.
you can also open up SharePoint designer. Create a new page, right click, select "set as home page", then delete the page.
Be sure to create the page at the root of the site and not in "pages" or you will still get /pages in the URL (although it will still throw a 404).
Here is what I came up with:
This works great. Will probably add this snippet to an event receiver when new webs are created.
Note: Setting the Welcome Page to nothing (