with an aliasmatch and a directory directive.....
This comes from the "sponsored" web2py script
AliasMatch ^/([^/]+)/static/(.*) \
/home/www-data/web2py/applications/$1/static/$2
<Directory /home/www-data/web2py/applications/*/static/>
Options -Indexes
Order Allow,Deny
Allow from all
</Directory>
Adjust to your environment and check that static files are not sent back
with an x-powered-by : web2py header ^_^
Il giorno venerdì 31 maggio 2013 14:48:20 UTC+2, Andriy ha scritto:
>
> Niphlod, could you please tell me how to serve static files from apache
> without passing through web2py? Or where to read on this? Thanks.
>
> I may reinstall Apache. May be its problem with my current version (2.2)
> or with configuration...
>
--
---
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.