Try giving the full path (https://gbumc.church/css/css.photo) instead of (
../css/css.photo.)


Deepak
"The greatness of a nation can be judged by the way its animals are treated
- Mahatma Gandhi"

+91 73500 12833
deic...@gmail.com

Facebook: https://www.facebook.com/deicool
LinkedIn: www.linkedin.com/in/deicool

"Plant a Tree, Go Green"

Make In India : http://www.makeinindia.com/home


On Thu, Jun 16, 2022 at 9:02 PM Konstantin Kolinko <knst.koli...@gmail.com>
wrote:

> чт, 16 июн. 2022 г. в 16:05, Tom Browder <tom.brow...@gmail.com>:
> >
> > I have a website whose home page appearance online is as expected. The
> site has a subpage using css (in a separate file linked into the head
> element) to form a modern, simple grid layout for testing. Both pages look
> as expected when I view them on my local host using Firefox. However, when
> I view the online site the subpage does not appear to be reading the css
> file.
> >
> > I have checked the directory and file permissions and they are correct
> as far as I have used in the past (all owned by apache:apache). The
> directory structure is such that the Document Root is at
> /home/web-server/gbumc.church/public/ and the home index.html is rooted
> there. Under that directory are css/ and pages/. The pages/congregants.html
> file internally points to ../css/css.photo.
> >
> > The online site is at https://gbumc.church.
> >
> > Any suggestions are greatly appreciated.
>
> Rename your stylesheet file to "photo.css"
> so that (thanks to conf/mime.types configuration file) it will be
> served with the correct Content-Type of "text/css".
> As of now the server does not recognise what type of file it is.
>
> Calling "wget --save-headers" with the URL I see that server sends
>
> HTTP/1.1 200 OK
> Date: Thu, 16 Jun 2022 15:23:53 GMT
> Server: Apache/2.4.53 (Unix) OpenSSL/1.1.1n
> Strict-Transport-Security: max-age=604800; includeSubDomains
> X-Frame-Options: SAMEORIGIN
> Upgrade: h2
> Connection: Upgrade, Keep-Alive
> Last-Modified: Thu, 16 Jun 2022 01:43:40 GMT
> ETag: "14f-5e186c468f30d"
> Accept-Ranges: bytes
> Content-Length: 335
> X-Content-Type-Options: nosniff
> Referrer-Policy: same-origin
> Keep-Alive: timeout=20, max=200
>
> Note that
> a) No "Content-Type" header is present in the response,
> b) A "X-Content-Type-Options: nosniff" header is present.
>
> As such, the content type cannot be auto-detected by the browser.
>
> BTW, HTTPD  2.4.54 has been released a week ago.
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

Reply via email to