ASF Bugzilla – Attachment 34598 Details for
Bug 60558
%{HTTPS} and %{REQUEST_SCHEME} sometimes inconsistent
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
minimal httpd configuration to exhibit bug
example.conf (text/plain), 1.28 KB, created by
Ulrich Schwarz
on 2017-01-06 12:08:22 UTC
(
hide
)
Description:
minimal httpd configuration to exhibit bug
Filename:
MIME Type:
Creator:
Ulrich Schwarz
Created:
2017-01-06 12:08:22 UTC
Size:
1.28 KB
patch
obsolete
>ServerName localhost >ServerRoot "/tmp" > >LoadModule unixd_module modules/mod_unixd.so >LoadModule authn_core_module modules/mod_authn_core.so > >User nobody >Group nobody > > >LoadModule rewrite_module modules/mod_rewrite.so > >Listen 80 >Listen 443 https > ># SSL config, please provide a dummy key/cert pair >LoadModule ssl_module modules/mod_ssl.so >LoadModule socache_shmcb_module modules/mod_socache_shmcb.so > >SSLCertificateFile /etc/pki/tls/certs/localhost.crt >SSLCertificateKeyFile /etc/pki/tls/private/localhost.key >SSLSessionCache shmcb:/run/httpd/sslcache(512000) >SSLSessionCacheTimeout 300 >SSLRandomSeed startup file:/dev/urandom 256 >SSLRandomSeed connect builtin >SSLCryptoDevice builtin >SSLProtocol all -SSLv2 -SSLv3 > ><VirtualHost _default_:443> > ServerName dummy.invalid > # it seems we just need one vhost on 443 with sslengine on, > # even if the name won't match, to load in the key/cert etc. > SSLEngine On ></VirtualHost> > ># ># ># > ><VirtualHost *:80 *:443> >ServerName localhost > ># with this off (default) we get "port=80&scheme=http&https=on" on port 443 ># with this on we get "port=443&scheme=http&https=on" on port 443 >UseCanonicalPhysicalPort On > >RewriteEngine On >RewriteRule ^ mailto:nobody@example.example?port=%{SERVER_PORT}&scheme=%{REQUEST_SCHEME}&https=%{HTTPS} [R] > ></VirtualHost> >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 60558
: 34598