On 11/14/2013 01:44 PM, Stuart Cracraft wrote:
Hi,
We'd like to convert to an ssl-only apache for everything on the box.
I've messed with rewrite rules and the like, with no success. It just
removed access to existing url's to use https, like the trac login.
Undoing those, put it back and trac login works and repository / browse
works.

You've said nothing about your config.

Assuming typical name-based vhosting, you want:

<VirtualHost *:80>
    ServerName www.example.com
    ServerAdmin [email protected]
    RewriteEngine on
    RewriteRule . https://www.example.com/%{REQUEST_URI} [R,L]
</VirtualHost>

For every vhost you have.

If you could send me the reference for ssl-only apache (all url's for
the website),

I do not believe this is possible with name-based vhosting. Your current apache config plays heavily into a correct solution.

--
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.

Reply via email to