Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: /insurrection/src/

Project highlights: A modern, light-weight, self-contained, web-based toolset for Subversion repository browsing and administration.  A live system can be seen in action here.

Discussion topic

Back to topic list

CVS update: /insurrection/src/

Author mksoft
Full name Michae Sinz
Date 2005-05-19 21:40:31 PDT
Message User: mksoft
Date: 2005/05/19 21:40:31


 By forcing the proxy rule to always go to HTTP vs whatever the
 incoming form was we can now support the whole front-end running
 over HTTPS. Note that this does not make the RSS feed produce
 HTTPS links, but it does get everything else right.
 (Plus, I am not sure that the RSS links are HTTPS critical)

File Changes:

Directory: /insurrection/src/

File [changed]: .htaccess
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/.htaccess?r1=1.14​&r2=1.15
Delta lines: +4 -4
--- .htaccess 20 May 2005 04:09:35 -0000 1.14
+++ .htaccess 20 May 2005 04:40:29 -0000 1.15
@@ -103,8 +103,8 @@
 ## last parameter before the end of the URI. Ugly but it works...
 RewriteCond %{QUERY_STRING} Insurrection=(blame|​diff|get|log|rss)
-RewriteRule ^svn(/.*)$ "/%1.cgi?%{QUERY_STR​ING}&Path=$1" [P,L]
-#RewriteRule ^svn/(.*)$ "/%1.cgi/$1" [P,L]
+RewriteRule ^svn(/.*)$ "http://%{HTTP_HOST}/​%1.cgi?%{QUERY_STRIN​G}&Path=$1" [P,L]
+#RewriteRule ^svn/(.*)$ "http://%{HTTP_HOST}/%1.cgi/$1" [P,L]
 ## What a trick - to get the broken browsers to work.
 ## Now the need XMLHttp, but the don't need the XSLT
@@ -137,6 +137,6 @@
 RewriteCond %{HTTP_USER_AGENT} Opera [OR]
 RewriteCond %{HTTP_USER_AGENT} Safari [OR]
 RewriteCond %{HTTP_USER_AGENT} Konqueror
-RewriteRule ^svn(/.*/)$ "/broken_xslt.cgi?&Path=$1" [P,L]
-#RewriteRule ^svn/(.*/)$ "/broken_xslt.cgi/$1" [P,L]
+RewriteRule ^svn(/.*/)$ "http://%{HTTP_HOST}/​broken_xslt.cgi?​&Path=$1" [P,L]
+#RewriteRule ^svn/(.*/)$ "http://%{HTTP_HOST}/​broken_xslt.cgi/$1" [P,L]

« Previous message in topic | 1 of 1 | Next message in topic »


Show all messages in topic

CVS update: /insurrection/src/ mksoft Michae Sinz 2005-05-19 21:40:31 PDT
Messages per page: