Your problem isn't rewrite rules.
Your problem is that you haven't turned on https.
I suggest you get that working, then figure out redirecting http traffic
to https.
Look at the apache SSL docs, specifically:
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/server_cert.pem
SSLCertificateKeyFile /etc/apache2/ssl/private.key
You also need to change it to listen on port 443, which is likely going
to be:
ServerName somewhere.over.the-rainbow.com:443
On 11/14/2013 05:09 PM, Stuart Cracraft wrote:
http://somewhere works but not https://somewhere.
somewhereovertherainbow is ca-sna-pm01
error when trying to visit https is:
This page can't be displayed
* Make sure the web address https://ca-sna-pm01 is correct.
* Look for the page with your search engine.
* Refresh the page in a few minutes.
* Make sure TLS and SSL protocols are enabled. Go to Tools > Internet
Options > Advanced > Settings > Security
* Check that all network cables are plugged in.
* Verify that airplane mode is turned off.
* Make sure your wireless switch is turned on.
* See if you can connect to mobile broadband.
* Restart your router.
Fix connection problems
On Thursday, November 14, 2013 1:24:23 PM UTC-8, Matthew Caron wrote:
Nothing in here sets up SSL, or does any VirtualHost stuff.
So, I ask again, does https://somewhere.over.the-rainbow.com
<https://somewhere.over.the-rainbow.com> actually work?
On 11/14/2013 04:17 PM, Stuart Cracraft wrote:
> Here is /etc/httpd/conf.d/trac.conf which is being included.
>
> ##LogLevel debug
>
> Alias /trac/chrome/common /u01/trac/apache/htdocs/common
>
> Alias /trac/chrome/site /u01/trac/apache/htdocs/site
>
> <Directory "/u01/trac/apache/htdocs">
>
> Order allow,deny
>
> Allow from all
>
> </Directory>
>
> WSGIScriptAlias /trac /u01/trac/apache/cgi-bin/trac.wsgi
>
> <Directory /u01/trac/apache/cgi-bin>
>
> WSGIApplicationGroup %{GLOBAL}
>
> Order deny,allow
>
> Allow from all
>
> </Directory>
>
> <Location "/trac/login">
>
> Order allow,deny
>
> Allow from all
>
> AuthType Basic
>
> AuthName "trac"
>
> AuthBasicProvider "ldap"
>
> AuthLDAPURL
>
"ldap://10.201.99.9/ou=ABBREV,dc=somewhereovertherainbow,dc=com?sAMAccountName?sub?(objectClass=user)
<http://10.201.99.9/ou=ABBREV,dc=somewhereovertherainbow,dc=com?sAMAccountName?sub?(objectClass=user)>"
>
> AuthLDAPBindDN "usernameā
>
> AuthLDAPBindPassword "usernamesPassword"
>
> AuthzLDAPAuthoritative off
>
> Require valid-user
>
> require ldap-group
> CN=GROUPNAME,CN=Users,DC=somewhereovertherainbow,DC=com
>
> Require ldap-attribute
> memberOf="CN=ABBREV,CN=Users,DC=somewhereovertherainbow,DC=com"
>
> </Location>
>
>
> On Thursday, November 14, 2013 12:22:05 PM UTC-8, Matthew Caron
wrote:
>
> I see nothing in this config about Trac. I fear you may be
missing
> something.
>
> Anyway, I think part of the issue may be:
>
> ServerName somewhere.over.the-rainbow.com:80
<http://somewhere.over.the-rainbow.com:80>
> <http://somewhere.over.the-rainbow.com:80
<http://somewhere.over.the-rainbow.com:80>>
>
> I've never used this format before (I use an overall "Listen"
> directive,
> and then a NameVirtualHost and separate VirtualHost
directives), but
> reading the apache docs, this suggests that the server will
only listen
> on port 80. So, no SSL.
>
> Have you verified that connecting to
> https://somewhere.over.the-rainbow.com
<https://somewhere.over.the-rainbow.com>
> <https://somewhere.over.the-rainbow.com
<https://somewhere.over.the-rainbow.com>> actually works?
>
> If so, it's likely because of this bit:
>
> # Load config files from the config directory
"/etc/httpd/conf.d".
> #
> Include conf.d/*.conf
>
> So, there may be more configs in there.
>
> --
> Matthew Caron, Software Build Engineer
> Red Lion Controls | www.redlion.net <http://www.redlion.net>
<http://www.redlion.net>
> +1 (518) 877-5173 x138 office
>
--
Matthew Caron, Software Build Engineer
Red Lion Controls | www.redlion.net <http://www.redlion.net>
+1 (518) 877-5173 x138 office
--
Matthew Caron, Software Build Engineer
Red Lion Controls | www.redlion.net
+1 (518) 877-5173 x138 office
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.