Re: Queries regarding staticfiles | pgarchives - Mailing list pgsql-www

From Magnus Hagander
Subject Re: Queries regarding staticfiles | pgarchives
Date
Msg-id CABUevEwAuydhf5fKz8Wg-CO0sp4iyHwbVAhZWdG4eJhK17h=4Q@mail.gmail.com
Whole thread Raw
In response to Re: Queries regarding staticfiles | pgarchives  (Sahil Harpal <sahilharpal1234@gmail.com>)
Responses Re: Queries regarding staticfiles | pgarchives  (Sahil Harpal <sahilharpal1234@gmail.com>)
List pgsql-www


On Tue, Jun 14, 2022 at 6:02 PM Sahil Harpal <sahilharpal1234@gmail.com> wrote:

Because it runs on the same hostname as www.postgresql.org, and otherwise there would be a potential conflict. The folder /media/ is in the filesystem, and should be served up as /media-static/ on http.

What am I supposed to do to resolve 404 I am getting for these urls?
image.png


As I said, you need to make the folder /media/ be served up as /media-static/. This is configuration in your webserver.


 

What do you mean "present in the github" and the one that's in pgarchives? Where is it on github and where do you see it in pgarchives?  
 
main.css file
The CSS that is being loaded for this page: https://www.postgresql.org/list/ (actual CSS that pgarchives using) I compared this by inspecting components in the browser.

 
Um. There is no reference from https://www.postgresql.org/list/ to main.css in media-archives that I can see?

--
Attachment

pgsql-www by date:

Previous
From: Sahil Harpal
Date:
Subject: Re: Queries regarding staticfiles | pgarchives
Next
From: Sahil Harpal
Date:
Subject: Re: Queries regarding staticfiles | pgarchives