Skip to main content
Filter by
Sorted by
Tagged with
0 votes
2 answers
311 views

I build an anonymous board with SvelteKit, it can handle the user uploaded image, and save it to path like <project_folder>/static/images/abc.jpg, and we can access it with a URL http://...
xubeiyan's user avatar
  • 205
0 votes
1 answer
125 views

Problem statement I'm trying to set the favicon for my QuasarPages in a JustPy web app, adding the attribute favicon="book_icon_32.png" to my QuasarPage. When looking at the page source in ...
Steve Elkind's user avatar
0 votes
1 answer
124 views

In one of the sample code I am seeing: <fo:static-content flow-name="rest-page-footer" font-family="Arial" font-style="normal" font-size="4"> <fo:...
Rito Sarkar's user avatar
1 vote
1 answer
462 views

This is really a philosophical question; I'm curious what the community thinks. I'm not so concerned with the how; but rather the why. Let's say I want to set up a super simple web server to serve ...
claypooj's user avatar
  • 413
4 votes
0 answers
3k views

Next.js documentation says: "Only assets that are in the public directory at build time will be served by Next.js. Files added at runtime won't be available. We recommend using a third party ...
Hairmenu's user avatar
3 votes
0 answers
262 views

I would like to know what is the best way to serve private(to an user) files from my Express server (API). Every user may have associated files that contain private data and should not be available ...
Hairi's user avatar
  • 3,813
0 votes
1 answer
137 views

My application is ASP.NET 4.5 Website : https://www.monstermmorpg.com/ I serve all the static content from a static domain https://static.monstermmorpg.com However cookies are still getting attached ...
Furkan Gözükara's user avatar
3 votes
0 answers
1k views

I'm running a springboot jar application, and I'm facing some issues accessing static content from it. I placed my static content under src/main/resources/static and it is getting copied to the jar as ...
Dhanuj Dharmarajan's user avatar
1 vote
0 answers
88 views

I have JBoss running in clustered mode. I access the application via load balancer URL. As per specifications, JBoss EAP 7.1 serves the static content from welcome-content directory. I have a file ...
Ashish's user avatar
  • 1,932
0 votes
1 answer
357 views

I have added some mime that I needed for my project in MVC5 because in production it did not work. <system.webServer> <staticContent> <mimeMap fileExtension=".woff&...
Geo's user avatar
  • 355
0 votes
0 answers
593 views

I am trying to design a site using Flask for a store and need to serve the customers with lots of product pictures. I came across this stack overflow answer that said: In production, you don't want ...
Rr9's user avatar
  • 33
1 vote
2 answers
1k views

I have a simple Spring Boot app with a static content. I would like the browsers to cache not all but just some of the types, like css. So I added following configuration: @Override public void ...
merlik's user avatar
  • 23
1 vote
1 answer
2k views

I have a node.js project, working with nginx acting as a reverse proxy. I'm trying the configure nginx to serve static content. Both nginx and node.js are docker containers. I've tried to use the ...
Omri's user avatar
  • 1,706
2 votes
1 answer
3k views

I have a problem with my application not finding my static files. This however only happens on a certain level. As you can see from the code fragments below, the css, images, js, etc works on certain ...
Quentinb's user avatar
  • 510
6 votes
1 answer
4k views

Nginx (docker image, 1.17.2) requires a basic authentication for a subpath. Although my config says otherwise for https://example.org/subpath: // /etc/nginx/conf.d/mysetup.conf ssl_session_cache ...
pico_prob's user avatar
  • 1,415
0 votes
1 answer
281 views

Im building spring-boot 2 App and want to know if i can and how to add static resources location for the server files but different that server where app is. Im using application.properties file to ...
davidSWK's user avatar
0 votes
2 answers
2k views

It's a standard (possibly trivial) situation, but I cannot find detailed information on the topic. Suppose we have a web application A (http://my-webapp) and a file server F (http://file-server). ...
diziaq's user avatar
  • 7,895
1 vote
1 answer
578 views

Good afternoon. I am trying to load static content for my Html to PDF converstion using Itext 7's PdfHTML add-on. At this point I am just doing a hello world example following the boilerplate example ...
SoftwareSavant's user avatar
1 vote
0 answers
141 views

I have built a Gitlab Pages site using the Start Bootstrap Creative theme. The theme has some static files, which reside in their own directory tree at static. When the site is deployed, content ...
user149408's user avatar
  • 6,269
1 vote
1 answer
2k views

I im trying to configure nginx to serve images on request. Consider the following config below; sites-available/images.conf server { listen 8888; server_name localhost; location ...
lemoncodes's user avatar
  • 2,421
5 votes
2 answers
11k views

We have an Angular application deployed to DigitalOcean => Ubuntu => Nginx, => www folder, this accepts all the GET request. We call some third party API, and in reponse the third party hits our ...
Suraj Manandhar's user avatar
1 vote
0 answers
286 views

Undertow 4 in Wildfly 10 can add some kind of authentication to limit the access to static resources: Example: http://localhost/img/my_img.jpg -> will return will return 401 Forbidden http://...
InsertUserHere's user avatar
0 votes
1 answer
773 views

I am using Tomcat 9.0.6 on Ubuntu 16.04 running on java-1.8.0-openjdk-amd64. The application serves a page which contains a URL to pdf file that supposed to display a pdf file in a browser when user ...
Robert P.'s user avatar
2 votes
0 answers
658 views

In ASP.NET Core MVC these ways are possible to serve Favicon: Place favicon in wwwroot and then serve it using /favicon path Place it in a custom folder, and then use PhysicalFileProvider to configure ...
mohammad rostami siahgeli's user avatar
1 vote
0 answers
56 views

I would like to make the "Leave a Suggestion" static cell open the mail and allow me to compose a message with a set subject. How would I accomplish this? EDIT: import UIKit import MessageUI class ...
Nigel Denny's user avatar

1
2 3 4 5