Project

General

Profile

[Solved] Disable trailing dot in domaine name?

Added by ito over 8 years ago

Hello,
I'm testing during few hours to block trailing dot in my lighttp configuration, unfortunately, I can't

samples of this problem :

http://www.lighttpd.net./
http://www.lighttpd.net./story/
http://www.lighttpd.net./download/

If I try to check the dot in the $_SERVER["REQUEST_URI"] with PHP, it don't found it and begin the $_SERVER["REQUEST_URI"] with "/" only.

I think it can generate duplicate content for the search engines.
Thanks for your help.


Replies (4)

RE: Disable trailing dot in domaine name? - Added by stbuehler over 8 years ago

You don't, and please don't try. The dot is perfectly valid.

RE: Disable trailing dot in domaine name? - Added by ito over 8 years ago

You don't think it's a bad think (about duplicate content) ?

RE: Disable trailing dot in domaine name? - Added by stbuehler over 8 years ago

No I don't. Same like upper/lower case hostnames. They are just "the same".

RE: Disable trailing dot in domaine name? - Added by ito over 8 years ago

Thank you for your help Stbuehler.

    (1-4/4)