apache+ssl, appends internal SSL port number with no trailing slash - broken link

This is a discussion on apache+ssl, appends internal SSL port number with no trailing slash - broken link within the Modssl Users forums, part of the Web Server and Related Forums category; Hello all. Thanks in advance for your expertise. Details: Centos 4.4 httpd-2.0.52-28.ent.centos4 openssl-...


Go Back   Usenet Forums > Web Server and Related Forums > Modssl Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-02-2008
James Ziller
 
Posts: n/a
Default apache+ssl, appends internal SSL port number with no trailing slash - broken link

Hello all. Thanks in advance for your expertise.

Details:

Centos 4.4
httpd-2.0.52-28.ent.centos4
openssl-0.9.7a-43.16
mod_ssl-2.0.52-28.ent.centos4


Problem:

Apache listens for SSL traffic internally on port 55106.
The gateway(keepalived/IPtables) forwards all external SSL requests
from externalIP:443 to internalIP:55106.

This works fine, except when a directory is called WITHOUT a trailing
slash.

IE:

secure/ is a directory that contains only a one line index.html file.

https://www.example.com:443/secure/ - works fine and reads index.html.
https://www.example.com:443/secure - doesnt work, and the URL gets
redirected to https:/www.example.com:55106/secure!!

Port 55106 is not accessible externally. Is apache assuming more than
it should about network configuration? And most importantly, how can
I stop this from happening?

I've disabled all SSL related rewrites. I have also changed the
internal SSL port number in the virtualhost config and sure enough, I
am redirected to the new port number mysteriously by apache when the
URL has no trailing slash...so it is definitely something that
happens dynamically based on the internal SSL port number that is
defined within the virtual host.

I realize I could just rewrite a trailing slash, but this problem is
much more far reaching that the simplified example I provided.
Ideally I would like a solution that would apply to all instances of
this problem across multiple directories and multiple sites.

Thanks,
James

__________________________________________________ ____________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:35 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0