Thanks and you are, of course, correct. I knew that but I was desperate to try to get something, anything, working. I did fix it but since the more generic version did not work, it is not a surprise that the more specific rule does not work either.
Yes I did check all the logs I could thing of but nothing that indicates it even ran a rewrite rule. I don't see anything in the ssl_access or error logs either so that tells me ssl is never being used. Does that not imply that the rewrite engine is not working?
When I use http://... it brings up the correct page. As I said originally, everything works if I use http or if I manually use https. It is forcing https that doesn't. Once again it seems to be pointing to the rewrite engine not working.
On 5/22/2012 2:25 PM, Mark Sapiro wrote:
Dennis Putnam wrote:
I assume you mean the entire mailman site as opposed to the entire web site.
No. I meant the entire web site. Just because you put something in /etc/httpd/conf.d/mailman.conf doesn't make it magically just apply to Mailman. It depends on where in httpd.conf that file is included.
In a normal Centos distro, the
Include conf.d/*.conf
directive is in the Global Environment section of httpd.conf and thus anything in any of the included files affects or at least sets a default for the entire site.
If you want to force https only for Mailman CGIs, your rewrite rule should be something like
RewriteRule ^/mailman(/.*) https://%{HTTP_HOST}/mailman$1 [L,R]
If you want to include forced https for public archive access (why would you?), maybe something like
RewriteRule ^/pipermail(/.*) https://%{HTTP_HOST}/pipermail$1 [R] RewriteRule ^/mailman(/.*) https://%{HTTP_HOST}/mailman$1 [L,R]
or
RewriteRule ^/(mailman|pipermail)(/.*) https://%{HTTP_HOST}/$1$2 [L,R]
would be appropriate.
Yes, that is what I want. Yes, it SHOULD work but doesn't. The main problem is that there are no errors anywhere I can find and I have no idea how to debug this.
Have you looked in all the httpd logs (/var/log/httpd/*log)?
What actually happens when you go to http://www.example.com/mailman/admin/?