Hello, I installed a small Bottlepy application following the instructions at How to Setup a Python Bottle Application? (I didn't put my files inside /htdocs instead I created a directory on the same level) I would like to serve static files through Apache/nginx and not through Bottle. I created a symbolic link to static-only app and pointed it to /home/username/webapps/mysite/bottleapp/static That didn't do the trick. My guess is that I have to configure Apache to remove the WSI handler for /static however my knowledge of web servers is very limited. I tried adding (as per mod_wsgi Configuration Guidelines):
with no luck. In fact, it yields "Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration" Alexei asked 16 Apr '13, 12:39 Alexei |
Don't do anything with your Apache config. Instead, use our control panel to create a "symbolic link to static-only" application, pointing to your Then, use our control panel to add that application to your site, using Hope that helps! answered 16 Apr '13, 12:48 seanf Like I said, I already did that. However, I noticed earlier that I mounted the app only on the https website. I added it now in both places and it works. Thank you!
(16 Apr '13, 12:56)
Alexei
Ah, sorry that I missed that part of your question! Glad you got it working though :)
(16 Apr '13, 13:00)
seanf
|