[or-cvs] r13503: The current running and actual working apache config. I shou (weather/setup)

ioerror at seul.org ioerror at seul.org
Thu Feb 14 04:03:56 UTC 2008


Author: ioerror
Date: 2008-02-13 23:03:56 -0500 (Wed, 13 Feb 2008)
New Revision: 13503

Modified:
   weather/setup/tor-weather-apache2.conf
Log:
The current running and actual working apache config. I should refine the mod_rewrite but I wanted to check in something that worked. Yay for breaking trunk and fixing it during a power outage!


Modified: weather/setup/tor-weather-apache2.conf
===================================================================
--- weather/setup/tor-weather-apache2.conf	2008-02-14 00:08:15 UTC (rev 13502)
+++ weather/setup/tor-weather-apache2.conf	2008-02-14 04:03:56 UTC (rev 13503)
@@ -11,6 +11,14 @@
 		# This gives us pretty and reasonable urls
 		RewriteEngine on
 		RewriteBase /
+		
+		# Required for the images and css
+		RewriteRule ^(top-right.png)$ - [L]
+		RewriteRule ^(top-left.png)$ - [L]
+		RewriteRule ^(top-middle.png)$ - [L]
+		RewriteRule ^(stylesheet.css)$ - [L]
+
+		# Required for the actual python app
 		RewriteCond %{REQUEST_URI} !^(/.*)+weather.py/
 		RewriteRule ^(.*)$ weather.py/$1 [PT]
 
@@ -26,7 +34,7 @@
 
 	</Directory>
 
-  LogFormat "%t \"%r\" %>s %b" noip
+        LogFormat "%t \"%r\" %>s %b" noip
 	CustomLog /var/log/apache2/tor-weather-access.log noip
 
 	# Possible values include: debug, info, notice, warn, error, crit,



More information about the tor-commits mailing list