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
1 answer
App engine: Static files with special characters causes 404 file not found
As the tite says; I'm having problem accessing static files with special character in them.
I have the following folder structure: "war/public/mystuff/images/my_weird_åäö_chars.png", but when I try to access the image with special character in it I…

Whyser
- 2,187
- 2
- 20
- 40
0
votes
1 answer
Flask : define a route to explore files and folders like SimpleHTTPSever does
I have done a simple Flask application which goal is to generate some output XML files.
I have all my applicative routes properly defined, ajax calls and so forth.
The application works fine and I'm happy with it.
What I am missing is a way to…

codeJack
- 2,423
- 5
- 24
- 31
0
votes
2 answers
Django static files load locally but not on development server
I was able to get my static files (CSS) to load in my local development environment, however when I push the changes to my development server I am unable to load the CSS. My local environment is Mac OS 10.9.2 and my development server is running…

apardes
- 4,272
- 7
- 40
- 66
0
votes
1 answer
Where to store static files from a PaaS?
I am looking at using either OpenShift or Heroku for my Bottle-built API and HTML+JavaScript+CSS frontends.
Deploying my custom API is straightforward, and I can trivially route my static files through the API.
There are many advantages to serving…

A T
- 13,008
- 21
- 97
- 158
0
votes
1 answer
Can I store static files on nginx whith cloudbees?
As far as I know, cloudbees is using nginx servers for routing the requests.
I am wondering if there is a way to drop my static files on nginx to make it serves my static files and save some load on my application server.
M.

poussma
- 7,033
- 3
- 43
- 68
0
votes
1 answer
How to serve static files inside JAR?
Is there a lightweight alternative (while still using Jetty) to WebAppContext for serving static files from a JAR file on the classpath?

Gili
- 86,244
- 97
- 390
- 689
0
votes
1 answer
access to static files on IIS
how to restrict access to files such as gif, jpeg, .js and css files to unauthorized users in an ASP.NET web application? The site is configured with Anonymous access on IIS 8. The content should be hidden/blocked until the user logs in succesfully.

user3544723
- 1
- 2
0
votes
1 answer
Django and/or Apache: serve (static) files with a different name
I store a lot of files, using a hash as file name, but when a user wants to download it, I would like to be able to give the file a new name.
Let's say the user navigates to www.myurl.com/userxy/files/some.pdf. In the Django View for that url, I can…

basilikum
- 10,378
- 5
- 45
- 58
0
votes
0 answers
what is best way server static files
I was reading on the net about to produce static files and how to keep them at max age so that I can use them whenever a request is made through the server. Basically, I have a community forum www.mycommunity.com that works on Nginx and want to…

Digital site
- 4,431
- 12
- 48
- 72
0
votes
1 answer
How to request a APK file from MVC route?
How do I request a Static file (.apk) from MVC route?
I tried the following, But of no use:
routes.IgnoreRoute("{resource}.apk");

Haavali
- 221
- 1
- 4
- 15
0
votes
3 answers
Serving index.html with Node's st module
In short: how can I get st to serve index.html when I visit /?
I'm using the st module with Express (or Connect, doesn't matter). Here's the entirety of my code:
var st = require('st');
var path = require('path');
var connect =…

Evan Hahn
- 12,147
- 9
- 41
- 59
0
votes
1 answer
MVC cannot access file (due to routing?)
I have put an Index.js and an Index.css file inside my MVC application folder Views/MemberField.
Copy always is set for both files.
I tried to load them using:

Serge
- 6,554
- 5
- 30
- 56
0
votes
0 answers
In Struts2, how to specify static content directory other than /struts or /static?
In an existing struts2 project, images are stored in /public/images, js and css are stored in /js/* and /css/* respectively. Currently they are all loaded correctly by the url http://testdomain.com/js/test.js. However, a "Cache-Control: private"…

AbSoLution8
- 1,203
- 1
- 18
- 27
0
votes
1 answer
How can I generate a static site from a Rails project?
I have a simple web site using Rails 3.2. It's just a layout, a few views, some CSS, and very little JavaScript.
I'd like to generate static HTML files for the output of every URL in my site, and I'd like to dump them into some directory outside of…

Chad Johnson
- 21,215
- 34
- 109
- 207
0
votes
1 answer
eclipse dynamic web project: accessing static files without using servletContext
I have read this question about accessing static files in a dynamic project: Where to place a directory of static files in Eclipse Dynamic Web Project
and the only answer suggests using the method getRealPath from ServletContext.
I have a dynamic…

karmapolice
- 326
- 2
- 11