Why did my stylesheet stop working?

Why did my stylesheet stop working?

am 20.11.2007 05:06:47 von John Salerno

Hi everyone. I recently moved my website to a new (free) address and
I've noticed that now the style sheet for one section isn't working
anymore. It's this page and any of the links:

http://johnjsal.infernohost.net/gestalt/

The stylesheet link is:



and I've retained the same structure as before, so I'm not sure why it
doesn't still work the same.

The only difference is that previously, the link was a subdomain like
this: gestalt.johnjsal.com, whereas now it's just an extra directory at
the end of the URL. But still, does this have anything to do with it?

Thanks,
John

Re: Why did my stylesheet stop working?

am 20.11.2007 05:14:20 von John Salerno

John Salerno wrote:
> Hi everyone. I recently moved my website to a new (free) address and
> I've noticed that now the style sheet for one section isn't working
> anymore. It's this page and any of the links:
>
> http://johnjsal.infernohost.net/gestalt/
>
> The stylesheet link is:
>
>
>
> and I've retained the same structure as before, so I'm not sure why it
> doesn't still work the same.
>
> The only difference is that previously, the link was a subdomain like
> this: gestalt.johnjsal.com, whereas now it's just an extra directory at
> the end of the URL. But still, does this have anything to do with it?
>
> Thanks,
> John

P.S. This is the structure:

"gestalt" directory contains the index.html file and the folders:
functions, tutorial, and style

"functions" directory contains the pages for everything but the
"Tutorial" link, which is contained in the "tutorial" directory

"style" directory contains "MSDN.css"

Thanks

Re: Why did my stylesheet stop working?

am 20.11.2007 05:32:31 von rf

"John Salerno" wrote in message
news:47425eb2$0$3150$c3e8da3@news.astraweb.com...
> Hi everyone. I recently moved my website to a new (free) address and I've
> noticed that now the style sheet for one section isn't working anymore.
> It's this page and any of the links:
>
> http://johnjsal.infernohost.net/gestalt/
>
> The stylesheet link is:
>
>

(note
case)

And by the way, if you type in an incorrect URL, say
http://johnjsal.infernohost.net/gestalt/indexyz.html rather than
http://johnjsal.infernohost.net/gestalt/index.html (try it and see) whatever
hosting you are using hijacks the browser and fires up to a dozen bloody
popup windows advertising absolutely everything and no, I don't know how
they get around firefox's popup blocker. Bloody annoying IMHO. Is this what
you *really* want your viewer to see instead of a standard 404 page?

If I were you I would not now, nor ever again, use that free host.

--
Richard.

Re: Why did my stylesheet stop working?

am 20.11.2007 06:04:48 von cfajohnson

On 2007-11-20, rf wrote:
....
> And by the way, if you type in an incorrect URL, say
> http://johnjsal.infernohost.net/gestalt/indexyz.html rather than
> http://johnjsal.infernohost.net/gestalt/index.html (try it and see) whatever
> hosting you are using hijacks the browser and fires up to a dozen bloody
> popup windows advertising absolutely everything and no, I don't know how
> they get around firefox's popup blocker.

I don't get any popups with Firefox 2.0.0.9. Pehaps AdBlock helps.

--
Chris F.A. Johnson, webmaster
============================================================ =======
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)

Re: Why did my stylesheet stop working?

am 20.11.2007 07:25:42 von John Salerno

rf wrote:

>>
>
> (note
> case)
>

Wow, that's weird. I didn't change anything from the way it was on the
other website, and it used to work. Does it depend on the server?

Thanks though!

> And by the way, if you type in an incorrect URL, say
> http://johnjsal.infernohost.net/gestalt/indexyz.html rather than
> http://johnjsal.infernohost.net/gestalt/index.html (try it and see) whatever
> hosting you are using hijacks the browser and fires up to a dozen bloody
> popup windows advertising absolutely everything and no, I don't know how
> they get around firefox's popup blocker. Bloody annoying IMHO. Is this what
> you *really* want your viewer to see instead of a standard 404 page?
>
> If I were you I would not now, nor ever again, use that free host.
>

But the regular link doesn't produce any pop-ups, does it? It's not
supposed to.

Re: Why did my stylesheet stop working?

am 20.11.2007 07:44:50 von Bone Ur

Well bust mah britches and call me cheeky, on Tue, 20 Nov 2007 04:32:31
GMT rf scribed:

> And by the way, if you type in an incorrect URL, say
> http://johnjsal.infernohost.net/gestalt/indexyz.html rather than
> http://johnjsal.infernohost.net/gestalt/index.html (try it and see)
> whatever hosting you are using hijacks the browser and fires up to a
> dozen bloody popup windows advertising absolutely everything and no, I
> don't know how they get around firefox's popup blocker. Bloody
> annoying IMHO. Is this what you *really* want your viewer to see
> instead of a standard 404 page?
>
> If I were you I would not now, nor ever again, use that free host.

Saw this in source:





rel="EditURI" type="application/rsd+xml" title="RSD"
href="http://blog.byethost.com/xmlrpc.php?rsd" />

I kept trying to load something from ad.directaclick.com on my box but
that's as far as it got, I think because I have Hostman. Page sucks.

--
Bone Ur
Cavemen have formidable pheromones.

Re: Why did my stylesheet stop working?

am 20.11.2007 10:16:13 von rf

"John Salerno" wrote in message
news:47427f43$0$3136$c3e8da3@news.astraweb.com...
> rf wrote:
>
>>>
>>
>> (note
>> case)
>>
>
> Wow, that's weird. I didn't change anything from the way it was on the
> other website, and it used to work. Does it depend on the server?

The Windows file system is case insensitive. Linux's is case sensitive. That
flows through the server. You have probably moved from a Windows based
server (be it IIS or Apache, doesn't matter) to a Linux one. Very common
problem.

--
Richard.

Re: Why did my stylesheet stop working?

am 20.11.2007 14:24:23 von Harlan Messinger

John Salerno wrote:
> Hi everyone. I recently moved my website to a new (free) address and
> I've noticed that now the style sheet for one section isn't working
> anymore. It's this page and any of the links:
>
> http://johnjsal.infernohost.net/gestalt/
>
> The stylesheet link is:
>
>
>
> and I've retained the same structure as before, so I'm not sure why it
> doesn't still work the same.
>
> The only difference is that previously, the link was a subdomain like
> this: gestalt.johnjsal.com, whereas now it's just an extra directory at
> the end of the URL. But still, does this have anything to do with it?

How can this have worked before? If, previously, your pages were
directly under gestalt.johnjsal.com, then the ".." would have referred
to a nonexistent parent directory.

As for now, the ".." would take you up to the parent of the gestalt
directory, but perhaps the web server has been configured (for security
reasons) not to allow use of the parent operator "..".

Re: Why did my stylesheet stop working?

am 20.11.2007 19:50:05 von John Salerno

Harlan Messinger wrote:

> How can this have worked before? If, previously, your pages were
> directly under gestalt.johnjsal.com, then the ".." would have referred
> to a nonexistent parent directory.
>
> As for now, the ".." would take you up to the parent of the gestalt
> directory, but perhaps the web server has been configured (for security
> reasons) not to allow use of the parent operator "..".

Well, the link was gestalt.johnjsal.com, but I guess that was just an
alias for www.johnjsal.com/gestalt, because the directory structure was
the same as it is now.

Re: Why did my stylesheet stop working?

am 20.11.2007 19:51:12 von John Salerno

Bone Ur wrote:
> Well bust mah britches and call me cheeky, on Tue, 20 Nov 2007 04:32:31
> GMT rf scribed:
>
>> And by the way, if you type in an incorrect URL, say
>> http://johnjsal.infernohost.net/gestalt/indexyz.html rather than
>> http://johnjsal.infernohost.net/gestalt/index.html (try it and see)
>> whatever hosting you are using hijacks the browser and fires up to a
>> dozen bloody popup windows advertising absolutely everything and no, I
>> don't know how they get around firefox's popup blocker. Bloody
>> annoying IMHO. Is this what you *really* want your viewer to see
>> instead of a standard 404 page?
>>
>> If I were you I would not now, nor ever again, use that free host.
>
> Saw this in source:
>
>
>
>
>
> > rel="EditURI" type="application/rsd+xml" title="RSD"
> href="http://blog.byethost.com/xmlrpc.php?rsd" />
>
> I kept trying to load something from ad.directaclick.com on my box but
> that's as far as it got, I think because I have Hostman. Page sucks.
>

You saw that in my source? Where? I don't see it.

Re: Why did my stylesheet stop working?

am 20.11.2007 20:25:35 von Harlan Messinger

John Salerno wrote:
> Harlan Messinger wrote:
>
>> How can this have worked before? If, previously, your pages were
>> directly under gestalt.johnjsal.com, then the ".." would have referred
>> to a nonexistent parent directory.
>>
>> As for now, the ".." would take you up to the parent of the gestalt
>> directory, but perhaps the web server has been configured (for
>> security reasons) not to allow use of the parent operator "..".
>
> Well, the link was gestalt.johnjsal.com, but I guess that was just an
> alias for www.johnjsal.com/gestalt, because the directory structure was
> the same as it is now.

If before your pages were under gestalt.johnjsal.com and now they are
under www.johnjsal.com/gestalt, then the directory structure was not the
same as it is now because before your pages were in the root and now
they are one directory down. I think your point is that *within* your
pages the structure is the same, or even that they haven't even been
moved within the server's physical directory structure, but that's
beside the point. What matters is the logical *website* structure. If
you previously navigated to http://gestalt.johnjsal.com/x.y and that's
the address that continued to appear in the browser's address field
after the page loaded, then that means that there *was* no parent
directory: the root doesn't have a parent directory. This technically
made ".." meaningless. At best, the web server would have treated the
root as its own parent--but that *isn't* the case now: with your pages
one level down, the parent directory is the root directory, which is now
*different* from the directory containing the pages.

Re: Why did my stylesheet stop working?

am 20.11.2007 20:29:07 von Harlan Messinger

Harlan Messinger wrote:
> John Salerno wrote:
>> Harlan Messinger wrote:
>>
>>> How can this have worked before? If, previously, your pages were
>>> directly under gestalt.johnjsal.com, then the ".." would have
>>> referred to a nonexistent parent directory.
>>>
>>> As for now, the ".." would take you up to the parent of the gestalt
>>> directory, but perhaps the web server has been configured (for
>>> security reasons) not to allow use of the parent operator "..".
>>
>> Well, the link was gestalt.johnjsal.com, but I guess that was just an
>> alias for www.johnjsal.com/gestalt, because the directory structure
>> was the same as it is now.
>
> If before your pages were under gestalt.johnjsal.com and now they are
> under www.johnjsal.com/gestalt, then the directory structure was not the
> same as it is now because before your pages were in the root and now
> they are one directory down. I think your point is that *within* your
> pages the structure is the same, or even that they haven't even been
> moved within the server's physical directory structure, but that's
> beside the point. What matters is the logical *website* structure. If
> you previously navigated to http://gestalt.johnjsal.com/x.y and that's
> the address that continued to appear in the browser's address field
> after the page loaded, then that means that there *was* no parent
> directory: the root doesn't have a parent directory. This technically
> made ".." meaningless. At best, the web server would have treated the
> root as its own parent--but that *isn't* the case now: with your pages
> one level down, the parent directory is the root directory, which is now
> *different* from the directory containing the pages.

Let me make this clearer. If the current page is

http://example.com/x.y

and it has an href on it that reads

"../a.b"

this will either be treated as a bad address or as

http://example.com/a.b

If the same page is now at the address

http://example.com/foo/x.y

then the href "../a.b" will be treated as

http://example.com/a.b

unless parent directories aren't allowed, in which case who knows how
this will be treated.

Re: Why did my stylesheet stop working?

am 20.11.2007 21:09:00 von Bone Ur

Well bust mah britches and call me cheeky, on Tue, 20 Nov 2007 18:51:12
GMT John Salerno scribed:

>> Saw this in source:
>>
>>
>>
>>
>>
>>
>> >> href="http://blog.byethost.com/xmlrpc.php?rsd" />
>>
>> I kept trying to load something from ad.directaclick.com on my box
>> but that's as far as it got, I think because I have Hostman. Page
>> sucks.
>>
>
> You saw that in my source? Where? I don't see it.

No, not in the source of your page, in the source of a redirected error
page which is one of the most heinous bits of markup and j/s code I've ever
run across. Someone probably thought he was being clever, but he was just
being obtuse. This is one of the advantages of browsers like
Firefox/Mozilla and even Opera pretty much which give a thought to common
security and sense. The underlying prevailing attitude might be considered
the antithesis to the mindwork which concocted Active-X.

--
Bone Ur
Cavemen have formidable pheromones.

Re: Why did my stylesheet stop working?

am 20.11.2007 22:44:37 von John Salerno

Harlan Messinger wrote:

>> If before your pages were under gestalt.johnjsal.com and now they are
>> under www.johnjsal.com/gestalt, then the directory structure was not the
>> same as it is now

Yeah, I think I was thinking that the structure was the same *within*
the pages, like you said.

Re: Why did my stylesheet stop working?

am 21.11.2007 00:38:15 von a.nony.mous

John Salerno wrote:

> Bone Ur wrote:
>> rf scribed:
>>> And by the way, if you type in an incorrect URL, say
>>> http://johnjsal.infernohost.net/gestalt/indexyz.html rather than
>> Saw this in source:
>>
>>
>>