Forum Moderators: phranque

Message Too Old, No Replies

Virutal wild card subdomains on Lotus Domino

How to stop them?

         

Rumbas

9:43 am on Sep 11, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Been experiencing some problems with a site on Lotus Domino where the client has used some sort of wild card functionality/virutal thing making subdomains. They have quite a few of them and that's all fine, however the server is somehow setup so that you can type everything in as subdomain fx.:

http://rumbas.domain.com
and still get a page - not a 404 but the index page.

I've been talking to them and explained that this is not a very clever setup, due to several reasons. Dublicate content being one of them. People linking to xxx.domain.com where xxx could be just anything - specially some not so nice words come to mind.

We would like to hard code the subs that we use and give 404 for everything else.

Any Lotus Domino experts out there? :)

bcc1234

10:26 am on Sep 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Check your Pass and Rediret directives.
If you are using the web-based interface to administer it then make sure the order is correct.

Domino web server will use the first directive that matches, so if you have something like:
/ mydomain.com pass
/ 99.99.99.99 pass
/ www.mydomain.com pass
/ host.mydomain.com pass
then the first line will always be used, especially if you match by ip address.

What you can do is create the last line
"/ mydomain.com redirct www.mydomain.com" instead of "pass" on the first line, so that all hits that don't match something before the last line get redirected to www.

But don't trust me, it's been several years since I've touched domino. Check the docs.

Rumbas

4:01 pm on Sep 11, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Thanks a bunch! Will look into your suggestions.