WebFaction
Community site: login faq
0
1

I'm setting up a Django site and have used the suggested approach of hosting static and media files in a separate "static only" application. While configuring this I enabled the expires max setting, which I no longer think is correct. Is there a way to toggle this setting without having to delete and add the static only application?

asked 06 Apr '13, 18:43

chrisch
323
accept rate: 0%


Unfortunately no. You have to delete that app and recreate it.

permanent link

answered 06 Apr '13, 18:45

bmeyer71 ♦♦
1.5k3613
accept rate: 33%

Thanks for your reply. Just to confirm: deleting it will actually delete it from the filesystem, correct? I ask because one app contains user-uploaded content (e.g., photos). I'd need to temporarily move them out of that directory before making the change? Thanks!

(07 Apr '13, 00:30) chrisch

Yes, this is correct. Any time you delete an application, the corresponding item under ~/webapps is deleted.

(07 Apr '13, 00:37) ryans ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×186
×125
×31
×9

question asked: 06 Apr '13, 18:43

question was seen: 4,184 times

last updated: 07 Apr '13, 00:37

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM