Static-files are ones that don't get amended during runtime. This could be a HTML file that's served up by a web server.
Questions tagged [static-files]
769 questions
0
votes
3 answers
possible EventEmitter memory leak detected - nodejs v.0.10.4 - on centos
I'm trying to create simple static file server with Node.js, namely to serve videos as video/mp4 (content-type), for download via http.
To note, the files are large (more then 100mb)
tried using the package node-serve which is recommended for…

Liam
- 1
- 2
0
votes
1 answer
Static files not working on GAE
I'm using the following yaml configuration:
application: xxxxxxxx
version: 1
runtime: python27
api_version: 1
threadsafe: true
handlers:
- url: /bootstrap
static_dir: static/bootstrap
- url:…

Stefan Szakal
- 126
- 1
- 10
0
votes
0 answers
Django: Decouple the dependency between statics files
Django has provided a nice solution to dependency problems concerning with urls, say reverse function in views, or {% static %} in template. Can I use some same approach to deal with static files? For example, I have a css in /static/css and a image…

Mike Lee
- 1,859
- 2
- 14
- 15
0
votes
4 answers
Django: Static files missing when rendering template
I am using django 1.3 and trying to deploy a django project (client sent) on my dev machine (ubuntu 12.04). The problem is regarding the static files. My directory structure is as follows:
project_name
media
static
css
img
…

Zain Khan
- 3,753
- 3
- 31
- 54
0
votes
3 answers
Django static files link
thanks for looking into this, cause it's getting on my nerves now:)
I can't get a style.css (or any static file to get oared at all!) and I have googled around and none of the solutions worked so far.
my urls.py:
from django.conf.urls import…

blargie-bla
- 37
- 2
- 11
0
votes
1 answer
Why can't i edit css files and also use css in django templates?
So i decided to deploy my first django app with appfog, created app in appfog, downloaded the source code so as to use their project structure, made the necessary changes and updated. It all went smoothly untill i did python manage.py collectstatic…

Suziemac Tani
- 455
- 9
- 23
0
votes
1 answer
(nginx + uWSGI + Bottle) Serve static Files
I decided to use Python as a primary language on my starting up website. I'm pretty sure that uWSGI and Bottle framework work perfect together. I'm a little bit worry that they will serve static files slowly ( I experienced this problem in NodeJS ).…

TheJSB
- 151
- 1
- 9
0
votes
1 answer
URL missing trailing slash does not get redirected in CherryPy
I'm having a difficult time with CherryPy's handling of the static files. The problem has to do with the dealing of the URL's trailing slash. Sometimes the missing slash is added and sometimes it is not: the behavior is unpredictable. I'm convinced…

Bob Enohp
- 1,302
- 12
- 11
0
votes
2 answers
express.js static asset management
What lib do you use to minify and concat your static files? Possibly uglify js?
I found one called piler that seemed pretty good until i started using it. It needed a lot of patching up to get working with express 3. I got it working, but the…

mkoryak
- 57,086
- 61
- 201
- 257
0
votes
2 answers
Is it possible to redirect with .htaccess based on a date in the URL for static files?
I have a group of images that should be progressively made available on specific dates in the future until the whole set is visible. The images have the date they should be visible as the file name. Anyone with a few insights into the workings of…

Mark Stickley
- 1,000
- 1
- 12
- 28
0
votes
1 answer
Reading files in exported rcp eclipse product
I am developing an Eclipse RCP application and in some cases I need to read some template files where I have stored inside some of the bundles.
I tried many approaches and they work ok when executing the code but without sucess when I export the…

user847988
- 984
- 1
- 16
- 30
0
votes
3 answers
Django Static Files - CSS not working
Possible Duplicate:
Django and Serving Static Files
I am with one problem to load CSS at base.html. I put all css files at the directory /static.
At urls.py I put this code:
if settings.DEBUG:
urlpatterns += patterns('',
…

user1750551
- 9
- 2
0
votes
2 answers
How to properly set images in templates with django 1.4 (django-skel setup) using the development server
I am trying to serve my Django project, set up with django-skel 1.4, using the development server. My site runs as expected except for my images, they are not served.
Part of templates/home.html


Bentley4
- 10,678
- 25
- 83
- 134
0
votes
1 answer
Not serving staticfiles default behavior when running `gunicorn_django`?
myproject_django$ gunicorn_django serves my site except for the static files. Any Idea why? I am running this from a virtual environment using django 1.3.
Project tree
myproject_django
├── core
│ ├── admin.py
│ ├── __init__.py
│ ├──…

Bentley4
- 10,678
- 25
- 83
- 134
0
votes
2 answers
serving files from file system with node.js, response body comes back as empty
So I'm trying to serve files back to a user after they've been uploaded to the server. I'm storing uploaded files inside the application directory, in a directory called uploads. Here is the code that I'm using to serve the files:
if…

Chairmonkey
- 23
- 4