Hi!

I'm trying to setup static files mapping for my application loaded on pythonanywhere service. I followed what indicated in the web configuration panel setting up two static configuration considering that my application is accessible both as init and as <appname>.

In order to be sure the configuration takes effect I used a broken path for one of the two configuration as follows:

1. '/init/static/'             ->    '/home/<my user>/web2py/applications/<appname>/static/' 2. '/init/<appname>/' ->    '/home/<my user>/web2py/applications/<appname>/static_broken/'

than (after reloaded the application) I tried to access the same static file from the browser using the two options:

1. http://<myhostname>/init/static/<pathTo>/<someFile>.js
2. http://<myhostname>/<appname>/static/<pathTo>/<someFile>.js

but (even after reloading file using ctrl+F5) I get the same correct result.

Is there some other configuration or changes to be made on the web2py side to be made for thees porpuses?

Thanks a lot.

    Manuele

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 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/d/optout.

Reply via email to