× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Quite a party it was I see looking back!

For me, I "always" use paths starting with a /. It removes all the
confusion, well, after you understand that it's still a virtual path set by
the apache server.

I hate no front slash in almost anything. I hate ../.../... even WORSE!

So my advice, go back the the beginning and use front slashes, put your CSS
it it's own folder under the Document root, and instead of just copying
source, learn what it does (or is supposed to do).

Bradley V. Stone
www.bvstools.com
Native IBM i e-Mail solutions for Microsoft Office 365, Gmail, or any Cloud
Provider!

On Mon, Jan 30, 2017 at 8:57 AM, Kevin Turner <kevin.turner@xxxxxxxxxxxxxx>
wrote:

Yes so was I :) You have come late to the party and probably missed the
background.

The HTML says href="mobile.css" so he isn't deliberately looking in
CGI-BIN or making reference to it. Apache is doing that (due to other
directives in the config) so his question is:
"why, when I reference 'mobile.css' in my HTML, does Apache try to look in
'/cgi-bin/mobile.css'.

It is because the current location at the time is "cgi-bin"....so he just
needs to change href="mobile.css" to href="/mobile.css" OR, as you
suggested, put it in a css specific subfolder and refer to that with a
leading "/" instead.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.