Closed Thread Icon

Preserved Topic: .SHTML bookmarks (anchor name=) Pages that link to <a href="https://ozoneasylum.com/backlink?for=20887" title="Pages that link to Preserved Topic: .SHTML bookmarks (anchor name=)" rel="nofollow" >Preserved Topic: .SHTML bookmarks (anchor name=)\

 
Author Thread
JKMabry
Maniac (V) Inmate

From: out of a sleepy funk
Insane since: Aug 2000

posted posted 04-17-2001 22:42

I just discovered, after much frustration and mumbling under the breath, that .shtml documents will return a 404 error if you click on a "bookmark". For example:

<a href="#bottom>click to get to the bottom of the page</a>
much content
<a name="bottom">bottom</a>

anyone discovered a way around this, besides using an html instead of shtml file extension?

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 04-17-2001 22:56

Something is wrong with your web server... It works fine for me, and you can see it for yourself here: http://www.max.co.yu/ozone/bookmark.shtml#bottom

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 04-17-2001 23:18

Umm that particular example is missing a close-quote.

Something here is off the mark, "bookmarks" are a completely client-side issue. It doesn't know or care whether you are a .shtml file or how your server is configured.

I'd double check your HTML


Walking the Earth like Kane

JKMabry
Maniac (V) Inmate

From: out of a sleepy funk
Insane since: Aug 2000

posted posted 04-17-2001 23:43

GOOD! That didn't make a bit of sense to me, I'm glad it was for a reason. I checked my html side by side and it was exactly the same from 's' to 'h'. H worked, S did not. Frustrating

I published it to the server and it worked fine, now I have to figure out why it doesn't work locally. Like Bitdamaged points out, it's all client side so something is whiggin' here...

Any ideas on that one?

Mr. Pecker
Nervous Wreck (II) Inmate

From: Goslow
Insane since: Apr 2001

posted posted 04-19-2001 17:09

JKMabry, is your computer running a webserver capable of SSI?

Since you're trying to view a page that requires the server, you've gotta have one running. And my guess is that you do not.

I use Xitami for testing, its free.

--

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 04-19-2001 22:51

You can also install Apache on Windows...

butcher
Paranoid (IV) Inmate

From: New Jersey, USA
Insane since: Oct 2000

posted posted 04-20-2001 01:11

I don't know about Xitami, but Apache was very easy to install on windows, and it was easy to add SSI and PHP. It's very nice to be able to test these types of pages locally.

JKMabry
Maniac (V) Inmate

From: out of a sleepy funk
Insane since: Aug 2000

posted posted 04-20-2001 05:54

Cool, I had no idea you could do that. I'm gonna do it - thanks guys

Mr. Pecker
Nervous Wreck (II) Inmate

From: Goslow
Insane since: Apr 2001

posted posted 04-20-2001 14:58

*smacks his head*
I cannot believe I didn't ever think to install Apache.

Out of curiosity, do any of you know if its anything like the linux version? Or would someone be able to help me to set that up? I'd like get a webserver running in my house.

--

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 04-20-2001 21:50

It is more or less the same as the linux version (I'm running Apache on my Linux server and on my Win2K box). You can set it up very easy, and you can also install other gizmos like PERL, PHP, MySQL on a Windows platform. Only thing that you should have in mind is that you should run Apache on a Win2K box with NTFS file system if you want to have a secure system (I'm talking about file permissions)...

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 04-22-2001 01:18

Definately check out the Apache 2.0 server.

One of the main upgrades in 2.0 is dealing with cross OS issues. It's still a bit buggy but it is supposed to be considerably better on the PC


Walking the Earth like Kane

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 04-23-2001 00:11

I think I know what *might* be the issue, I've had problems with this where the page I'm on has form variables appended to it, and depending on the browser setup (chache etc..) you can find yourself at the page, with no variables! I usually use the href= "javascript:scrollTo(0,0)" for my "top of page" link, I think that's the way it is here too.

Your pal, -doc-

« BackwardsOnwards »

Show Forum Drop Down Menu