Jump to content

Goffy webserver.


Recommended Posts

Guest jamieanderson

Having connected to the link and looked at the source code, I couldn't find a txt file at all.

 

Jamie.

Link to comment
Guest jamieanderson

By definition a html file is a straight ascii text file. True it should have starter and ender tags, <HTML> and </HTML>but most browsers are rather forgiving about that.

 

However this link leads to a file which contains two html commands

 

<a href="http://neo.kafuka.org/gaiasim/">

<img src="http://neo.kafuka.org/gaiasim/button.gif" border="0">

 

And nothing else.

 

Jamie.

Link to comment

by defalt the webserver should serve the file as text as it's exstention is .txt

 

however the webserver is serving the file as HTML, and I have ferther tested it by placing both text and html comand lines in a .txt file and again it loaded as a .html file. In nother words it is treating .txt files as .html files

 

when loading the above text file you should see

 

button.gif

 

in your brouser, NOT the actule image but the raw html. I was going to write a how to for webpage creation but seeing how I can't do it in .txt I guess I will have to find another means of doing it.

 

worry not I have my ideas.

Link to comment
Guest jamieanderson

Ah, now I see your problem. Well there is a fairly

simple solution. Replace the < and the > with ampersand hash 60 semicolon

and ampersand hash 62 semicolon

Then you can save it as an HTML file and it should work.

See the example on

 

http://www.xs4all.nl/~mts/jamie/a.html

 

Jamie.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Our Privacy Policy can be found here: Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..