Author |
|
rskb4u
Joined: 14 Apr 2014 Posts: 25 Location: India
|
Posted: Thu 07 Aug '14 16:16 Post subject: How to Resolve Trailing Dot issue after the domain name? |
|
|
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: 7373 Location: Germany, Next to Hamburg
|
Posted: Thu 07 Aug '14 16:53 Post subject: |
|
|
Did you try different clients / browsers? |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
|
Back to top |
|
rskb4u
Joined: 14 Apr 2014 Posts: 25 Location: India
|
Posted: Fri 08 Aug '14 8:57 Post subject: |
|
|
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
|
Posted: Fri 08 Aug '14 15:12 Post subject: |
|
|
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
|
Posted: Mon 11 Aug '14 7:47 Post subject: |
|
|
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: 7373 Location: Germany, Next to Hamburg
|
Posted: Mon 11 Aug '14 15:21 Post subject: |
|
|
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
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Mon 11 Aug '14 17:51 Post subject: |
|
|
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
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 12 Aug '14 10:15 Post subject: |
|
|
Well that is PATH_INFO since 2.0.30 |
|
Back to top |
|
CamaroSS
Joined: 24 Jan 2013 Posts: 78 Location: RF, Tver
|
Posted: Tue 12 Aug '14 10:26 Post subject: |
|
|
Thank you, I didn't even know where to look. |
|
Back to top |
|