Thank you, I did this and I think its Apache serving static files now, because all headers are OK. But if I make request for static file in Opera it has *X-Powered-By: web2py *header...
Also I had response.static_version set in model file and now I have problem with it. I`m reading in web2py manual now, that I need to use this line with AliasMatch and response.static_version: *AliasMatch ^/([^/]+)/static/(?:/_[\d]+.[\d]+.[\d]+)?(.*) /home/www-data/web2py/applications/$1/static/$2* but it still does not work. Half of the .css files have version string - "_0.0.6" and return "not found" error. Other half for some reason does not have version string, I`m attaching the screenshot. So I had to remove response.static_version from model. Here is my httpd.conf: NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot "d:/web2py/applications" ServerName autosim.ru RewriteEngine on RewriteCond %{HTTP_HOST} !^www\.autosim\.ru [NC] RewriteCond %{HTTP_HOST} !^$ RewriteRule ^/?(.*) http://www.autosim.ru/$1 [L,R,NE] <Directory "d:/web2py"> AllowOverride None Order allow,deny Deny from all </Directory> AliasMatch ^/([^/]+)/static/(?:/_[\d]+.[\d]+.[\d]+)?(.*) d:/web2py/applications/$1/static/$2 <Directory d:/web2py/applications/*/static/> Options -Indexes Order Allow,Deny Allow from all </Directory> <Location "/"> Order deny,allow Allow from all </Location> WSGIScriptAlias / "d:/web2py/wsgihandler.py" </VirtualHost> <https://lh4.googleusercontent.com/-2rY7cs9-MBQ/UaiuyWbmMFI/AAAAAAAAAA8/8ol73yGYUv8/s1600/static.jpg> -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.