[cummiskey]$ cat .htaccessOptions +ExecCGIAddHandler cgi-script .pyDirectoryIndex index.py/<IfModule mod_rewrite.c>RewriteEngine onRewriteBase /public/RewriteCond %{REQUEST_URI} !^/favicon.ico$RewriteCond %{REQUEST_URI} !^/static/(.*)$RewriteCond %{REQUEST_URI} !^(/.*)+index.py/RewriteRule ^(.*)$ /index.py/$1 [PT]</IfModule>
67.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"
I have no doubt this will turn out to be dumb, but I'm not very experienced with .htaccess files and I'm having a struggle.I've got a pretty straight forward web.py application I'm building. It works fine running the local webserver. However, when I put it on Dreamhost, I can't access my static files.Per the Dreamhost instructions, the .htaccess file is:[cummiskey]$ cat .htaccessOptions +ExecCGIAddHandler cgi-script .pyDirectoryIndex index.py/<IfModule mod_rewrite.c>RewriteEngine onRewriteBase /public/RewriteCond %{REQUEST_URI} !^/favicon.ico$RewriteCond %{REQUEST_URI} !^/static/(.*)$RewriteCond %{REQUEST_URI} !^(/.*)+index.py/RewriteRule ^(.*)$ /index.py/$1 [PT]</IfModule>