On Oct 23, 6:54 am, Thadeus Burgess <thade...@thadeusb.com> wrote:
> When specifying, does this mean static files get redirected to being served
> by apache? Or are they still served by web2py?
>
> From testing it seems to still be served by web2py, it just isn't working
> quite right.
>
> Should I use a subdomain with its own virtualhost to serve the static
> content?
>
> AliasMatch ˆ/([ˆ/]+)/static/(.*) \
>
> /users/www-data/web2py/applications/$1/static/$2
>
> <Directory /users/www-data/web2py/applications/*/static/>
>
> Order Allow,Deny
>
> Allow from all
>
> </Directory>
It is very easy to tell. Make a request to a non existent file within
the static directory via that URL. If you get back generic Apache 404
error document, served by Apache. If a web2py error page, then web2py.
That said, above looks correct in itself, but if you have gone and
made other changes to the configuration example from web2py book, then
you could have inadvertently caused it all to not work. So, posting
full configuration related to web2py hosting would be a good idea.
Graham
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---