I've got a simple web.py application, running at Dreamhost.  The .htaccess file, per the DH documentation is in the example.com home directory, not public:Options +ExecCGIAddHandler cgi-script .pyDirectoryIndex index.py/<IfModule mod_rewrite.c>  RewriteEngine on  RewriteBase /public/  RewriteCond %{REQUEST_URI} !^/favicon.ico$  RewriteCond %{REQUEST_URI} !^/static/(.*)$  RewriteCond %{REQUEST_URI} !^(/.*)+index.py/  RewriteRule ^(.*)$ /index.py/$1 [PT]</IfModule>When I try to access the page, however, I get67.165.250.93 - - [12/Sep/2011:19:40:38 -0700] GET /index.py/ HTTP/1.1 200 678 - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:6.0.2) Gecko/20100101 Firefox/6.0.2 67.165.250.93 - - [12/Sep/2011:19:40:39 -0700] GET /index.py/static/reset.css HTTP/1.1 404 255 http://www.microscopy.salveteomnis.com/index.py/ Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:6.0.2) Gecko/20100101 Firefox/6.0.2 67.165.250.93 - - [12/Sep/2011:19:40:40 -0700] GET /index.py/static/common.css HTTP/1.1 404 256 http://www.microscopy.salveteomnis.com/index.py/ Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:6.0.2) Gecko/20100101 Firefox/6.0.2 67.165.250.93 - - [12/Sep/2011:19:40:40 -0700] GET /index.py/static/microscope-large.jpg HTTP/1.1 404 256 http://www.microscopy.salveteomnis.com/index.py/ Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:6.0.2) Gecko/20100101 Firefox/6.0.2 It's clear that this isn't being rewritten correctly -- the static contents should be /static/foo -- but I've been unsuccessful fixing the problem.
Rewriting isn't doing what's expected
apache;htaccess