Does the site load when you type in the https:// URL in the browser? If not, 
then apache is not configured properly, take a look at conf.d/ssl.conf.   

Russ
Sent wirelessly via BlackBerry from T-Mobile.  

-----Original Message-----
From: "Matti" <[EMAIL PROTECTED]>
Date: Mon, 06 Nov 2006 12:02:38 
To:"Trac Users" <[email protected]>
Subject: [Trac] Trac and HTTPS




Hello,

What is required for Trac to work via https? I have a single project
Trac environment under http://www.domain.com/trac/. I use TracCGI and
the following wrapper cgi script:

#!/bin/bash

export TRAC_ENV=/home/watlanti/trac
exec /usr/local/share/trac/cgi-bin/trac.cgi

I use mod_rewrite code in a .htaccess file to redirect request that
point to http://www.domain.com/trac/ to https://www.domain.com/trac.
The mod_rewrite code looks like this:

RewriteEngine On

RewriteCond %{REQUEST_URI} ^/trac/* [NC]
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

However, the rewriting done by the code (from
http://www.domain.com/trac to https://www.domain.com/trac) results in
404. Normally without the rewrite the Trac project page opens normally,
but when it is in place going to the project URL results in 404. Does
anyone have any idea what might be wrong?



--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Trac Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to