logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: How to Resolve Trailing Dot issue after the domain name?
Author
rskb4u



Joined: 14 Apr 2014
Posts: 25
Location: India

PostPosted: Thu 07 Aug '14 16:16    Post subject: How to Resolve Trailing Dot issue after the domain name? Reply with quote

Hi Forum,

We are getting the below message in Apache's error.log when accessing from mobile application & updated apache from 2.4.9 to 2.4.10 also.Trailing dot is created after the URL.

I can able to hit https://teampark3.sogeti.com and I cant able to hit https://teampark3.sogeti.com.

[Thu Jul 31 15:27:10.934564 2014] [ssl:error] [pid 12000:tid 6520] AH02032: Hostname teampark3.sogeti.com. provided via SNI and hostname teampark3.sogeti.com provided via HTTP are different

How to resolve the issue? Please anybody suggest me to redirect from trailing dot domain to normal domain.

Many Thanks,
Shiva Rudra
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Thu 07 Aug '14 16:53    Post subject: Reply with quote

Did you try different clients / browsers?
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1266
Location: Amsterdam, NL, EU

PostPosted: Thu 07 Aug '14 18:14    Post subject: Reply with quote

Did you change something since this reply in the other topic:
http://www.apachelounge.com/viewtopic.php?p=28339#28339

There was no Listen 443, there was no <Virtualhost: *:443> ...
Back to top
rskb4u



Joined: 14 Apr 2014
Posts: 25
Location: India

PostPosted: Fri 08 Aug '14 8:57    Post subject: Reply with quote

HI,

We have three ways to hit the platform
1)Web Browser (Working fine for all the browsers)
2)Mobile Browser( Working fine for all the Micro Browsers)
3)Mobile Application ( Giving SNI error in error.log file )

We have secured Virual Host Block in our httpd-ssl.conf file which is loaded by using LoadModule ssl_module modules/mod_ssl.so in our httpd.conf
and below line is uncommented in httpd.conf
Include conf/extra/httpd-ssl.conf

Configuration in httpd-ssl.conf:
<VirtualHost _default_:443>

# General setup for the virtual host
DocumentRoot "c:/Apache24/htdocs"
ServerName teampark3.sogeti.com:443
ErrorLog "c:/Apache24/logs/error.log"
TransferLog "c:/Apache24/logs/access.log"
SSLProxyEngine On
ProxyRequests Off
ProxyErrorOverride Off
ProxyPass / https://teampark3.sogeti.com/
ProxyPassReverse / https://teampark3.sogeti.com/
<Proxy *>
Require all granted
</Proxy>
# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLEngine on
SSLCertificateFile "c:/Apache24/conf/extra/sogeti.crt"
SSLCertificateKeyFile "c:/Apache24/conf/extra/sogeti.key"
</VirtualHost>

Is it possible to redirect URL teampark3.sogeti.com. to teampark3.sogeti.com
If possible how to implement? Please help us.

Many Thanks,
Shiva Rudra
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1266
Location: Amsterdam, NL, EU

PostPosted: Fri 08 Aug '14 15:12    Post subject: Reply with quote

rskb4u wrote:
We have three ways to hit the platform
1)Web Browser (Working fine for all the browsers)
2)Mobile Browser( Working fine for all the Micro Browsers)
3)Mobile Application ( Giving SNI error in error.log file )

I would debug you Mobile Application. It looks like that is adding the dot after the com.
Back to top
rskb4u



Joined: 14 Apr 2014
Posts: 25
Location: India

PostPosted: Mon 11 Aug '14 7:47    Post subject: Reply with quote

Hi Jan,

Our Mobile Application is provided by IBM, not developed by ourself.

We are using IBM Native Mobile Connections Application, Which can be downloaded from Mobile application Store.

So we can't able to get the source code of application to debug.

Is there any possibility to redirect URL from https://teampark3.sogeti.com. to https://teampark3.sogeti.com

Many Thanks,
Shiva Rudra
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Mon 11 Aug '14 15:21    Post subject: Reply with quote

rskb4u wrote:

Is there any possibility to redirect URL from https://teampark3.sogeti.com. to https://teampark3.sogeti.com


Create a vhost with that name and check if it works. (haven't tried).
However that is a bug in the client software! A dot at the end is not a qualified domain name.
Back to top
CamaroSS



Joined: 24 Jan 2013
Posts: 78
Location: RF, Tver

PostPosted: Mon 11 Aug '14 16:09    Post subject: Reply with quote

Well, actually, fully qualified domain name DOES end with a dot. Here's an article on it
http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/web-fully-qualified-domain-name.html
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Mon 11 Aug '14 17:51    Post subject: Reply with quote

CamaroSS wrote:
Well, actually, fully qualified domain name DOES end with a dot.


That is a brutal truth. I noticed that this article is from 2004. The RFC1034 is from November 1987.

Back reality who uses that?
Back to top
CamaroSS



Joined: 24 Jan 2013
Posts: 78
Location: RF, Tver

PostPosted: Tue 12 Aug '14 7:07    Post subject: Reply with quote

Nobody, but it works for domain name resolution everywhere I can check, like curl, nslookup etc.

A little offtopic: what really surprised me in Apache Web Server, is that it supports things like these:

http://site.com/default.php.
http://site.com/default.php...
and even
http://site.com/default.php.../somethinghere/somethingthere

and it launches default.php! Just what kind of behavior is this?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Tue 12 Aug '14 10:15    Post subject: Reply with quote

Well that is PATH_INFO since 2.0.30
Back to top
CamaroSS



Joined: 24 Jan 2013
Posts: 78
Location: RF, Tver

PostPosted: Tue 12 Aug '14 10:26    Post subject: Reply with quote

Thank you, I didn't even know where to look.
Back to top


Reply to topic   Topic: How to Resolve Trailing Dot issue after the domain name? View previous topic :: View next topic
Post new topic   Forum Index -> Apache