Re: Queries regarding staticfiles | pgarchives

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Queries regarding staticfiles | pgarchives
Дата
Msg-id CABUevEwAuydhf5fKz8Wg-CO0sp4iyHwbVAhZWdG4eJhK17h=4Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Queries regarding staticfiles | pgarchives  (Sahil Harpal <sahilharpal1234@gmail.com>)
Ответы Re: Queries regarding staticfiles | pgarchives
Список 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?

--
Вложения

В списке pgsql-www по дате отправления:

Предыдущее
От: Sahil Harpal
Дата:
Сообщение: Re: Queries regarding staticfiles | pgarchives
Следующее
От: Sahil Harpal
Дата:
Сообщение: Re: Queries regarding staticfiles | pgarchives