tag:blogger.com,1999:blog-4345066302652424538.post2205773788156141169..comments2023-09-27T09:21:42.903+02:00Comments on @datapythonista: Media data without media directoryMarchttp://www.blogger.com/profile/01286849404527531329noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-4345066302652424538.post-16899799784945989622008-01-18T19:46:00.000+01:002008-01-18T19:46:00.000+01:00I'm pretty sure that they give an example in the d...I'm pretty sure that they give an example in the docs on the Django site where they use something like the following:<br><br><br> SetHandler None<br><br><br>Which will snag any file with an extension that you've listed and stop mod_python from serving it .... much simpler than sorting your pngs and gifs into their own files : )Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4345066302652424538.post-21178438313351254202008-01-18T19:54:00.000+01:002008-01-18T19:54:00.000+01:00Hmmm .... your comment system ate my config (must ...Hmmm .... your comment system ate my config (must have thought that it was html)<br><br>I had the following:<br><br> LocationMatch "\.(jpg|css|png|gif|js)$"<br><br>inside the tags, which is capturing the file extension of whatever is being served (rather than the folder).Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4345066302652424538.post-81843664198128553102008-01-19T15:46:00.000+01:002008-01-19T15:46:00.000+01:00I haven't seen it in the documentation, may be it'...I haven't seen it in the documentation, may be it's in the django book.<br><br>Anyway, I prefer to set it by directory. May be I have an image in my django directory that I don't want to share.<br><br>Thanks anyway for your comment, it's always good having more opinions, ideas...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4345066302652424538.post-31829372441429209182008-02-04T00:05:00.000+01:002008-02-04T00:05:00.000+01:00Admin, please send me mail at ninoksa@gmail.com, t...Admin, please send me mail at ninoksa@gmail.com, thanks.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4345066302652424538.post-17726859394139205752008-05-14T03:26:00.000+02:002008-05-14T03:26:00.000+02:00Thanks for the tip!Thanks for the tip!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4345066302652424538.post-10480696791170289832008-08-04T00:08:00.000+02:002008-08-04T00:08:00.000+02:00That was a well written article, very intereting,t...That was a well written article, very intereting,thank you for a good read.Anonymousnoreply@blogger.com