Writing HTML pages is fun and even fairly easy. Getting them up on the web is a bit more difficult.

Reading some posts on mcs.support regarding the sticky subject of setting the UNIX permissions so that your files may be read on the Web, I decided to make s "shell script" to make things easier. My script has been modified (3/9/96) to be more flexible:

Having just seen the Roll Your Own Website page, the stuff below looks pretty lame. Still, here goes....

fixhtm script version 1.5b, modified 9/8/96
Enhancements: no longer assumes that the top HTML directory exists, supports multiple subdirectories; easier configuration/editing of script; really uses extension names, not just phrases; no temporary files are created!

September 8th, 1996: basically I made a couple small changes to the script to accomodate the system at clark.net. Forgive my not upadting this whole page ;-).

I generally recommend the following setup:

Keep a "mirror" on your PC and use "relative" path references; i.e. <a href="fixhtm.htm"> not <a href="http://www.clark.net/pub/peterw/fixhtm.htm">. Fiddle around with the files on your PC and once they're OK you can ftp them in to the proper places and run my script to fix your permissions throughout.

To get the script: telnet in to your shell account. Once you're at a UNIX prompt type
"cp /ftp/pub/peterw/fixhtm $HOME/fixhtm" to get the file to your home directory and then
"chmod u+x $HOME/fixhtm" to make it executable.

To run the script you should telnet in to Clark and type
"~/fixhtm" and then your home.htm and all under ~/html will be set!

I encourage you to take a look at the script; it is fairly straightforward and I tried to comment adequately.

Use at your own risk

This script works fine for me, but I make no guarantees. If you do have any trouble with this, please let me know.

Happy weaving.

Need more info? Check out comp.infosystems.www.authoring.html and the other comp.infosystems.www newsgroups.