We also run a web server on our Windows NT server. If you prefer to work under NT, you may want to put your web pages here instead. Baylor even has a university-wide web server if you would like to use that.
Yes. We have a web server running on the school's primary NT host. If you like to work under Windows NT, you can serve your web pages from there.
Baylor also runs a campus-wide web server under the name
http://www.baylor.edu. As a
student, you can have a web account on this server if you like. Online
instructions are available to help get you started.
Unfortunately, we are not able to let students run CGI scripts from Unix. If you have some special needs or ideas, Dr. Sturgill may be able to help you out, but ordinarily we just serve web pages.
The following command should make the required directory for you.
mkdir $HOME/public_html
The web browser is configured to look in a public_html directory for
each user account. This way, each user can serve their own html files
without having to put them in some other place in the filesystem.
Since all of our Unix machines share the same filesystem, you can
build your web pages on any of our Unix hosts and the primary host
will still serve them.
As long you don't want any other files or directories in your home
directory to be world readable, the following commands should set
permissions appropriately.
The first line makes it so that files and directories inside your home
directory can't be ready by anyone other than yourself. This is
probably a good idea since you don't want other students to look at
things like copies of your homework assignments.
The second line makes your home directory itself readable by
everyone. The last line does the same thing for your public_html
directory. This is necessary because the web server does not run with
any special permissions. If regular users can't read your web pages,
then the web server won't be able to read them either.
You can edit your web pages with a regular text editor like vi or
emacs. You can even make subdirectories under public_html to organize
your website in a way that makes sense.
Although we don't enforce any absolute restrictions on the amount of
disk space you can use for web pages, we ask that you don't abuse this
resource. If you take too much space, we may have to ask you to get
rid of some things.
If you put a file named index.html in a directory, the server will use
this file as the default when a browser visits that file's
directory. A common trick is to make $HOME/public_html/index.html a
symbolic link to your home page (say, $HOME/public_html/home.html),
then users will get your home page whenever they visit
http://cs.baylor.edu/~your_login_name.
chmod 700 $HOME/*
chmod 755 $HOME
chmod 755 $HOME/public_html