FREQUENTLY ASKED QUESTIONS
What are all the files and
directories in my home directory?
www................This is your web directory. Place all your web files in there.
infobots..........This is where you will need to put all your infobot text files. More Info
anonftp...........This is your anonymous ftp directory. More Info
.redirect..........This is the configuration file for mail aliases. More Info
How do I run my own CGI programs?
There are two ways:
a.) Put your CGI programs in the cgi-bin
directory.
When calling the programs from the web page, you
must use the
alias for the cgi-bin directory. The alias is
"cgi-yourdomainname".
If your domain is example.com, then the alias is
cgi-example.
Note that ".com" is not included. So the
action line from your
form page would look like
action="/cgi-example/program".
b.) Put your CGI programs anywhere outside of
the cgi-bin directory.
In this case, the program name must end in
".cgi".
How do I use cgiemail and the
graphical counters?
CGIemail:This is a program that will email you the forms filled out from the web.
Here's an example -
Create a text file called "example" in
the main web directory.
This is the content of the file:
To: joe@blue.com Subject: example This is a test message. This is a test message. name: [name] phone: [phone]
That is the file that will be sent to joe@blue.com.
Now, cgiemail will automatically replace
[name], [phone], anything
in the brackets with the corresponding user
supplied info from the web
form. Also, you MUST have the To: and the Subject:
line followed by
the blank line. Those three lines MUST be on the
FIRST THREE lines. You
cannot change the From: address.
Here is a part of the web form page called "example.html"
<form method="post" action="/cgi-bin/cgiemail/example"> <input type=text name="name">Your name? <input type=text name="phone">your number? etc... If you want to have your own customized "success" page, place the following line in your form page:
<INPUT TYPE="hidden" NAME="success" VALUE="http://yourdomain/somepage.html"> It will then redirect to somepage.html. Page Counter: A graphical counter that you can use by placing the following line in your page:
<IMG SRC="/cgi-bin/nph-count?width=5&link=http://yourdomain/yourpage">
How do I use the anonymous ftp
site?
Your anonymous ftp site is completely different from your web site.
When people ftp to your domain anonymously, they
will see the following
directories:
bin/ dev/ etc/ incoming/ lib/ pub/
"pub" is where you should put all your
anonymously accessible files.
"incoming" is for the anonymous users to
upload files. incoming directory
is disabled by default. Please ask us to enable it.
You are responsible
for any "pirated" software uploaded by
the anonymous users. The anonymous
ftp sites will be periodically monitored for any
abuses.
You may ignore the other directories.
How do I create email aliases, and
how do I redirect them?
Assume your domain is "example.com" and user is your username.
You need to edit the .redirect file in your home directory.
Here is a sample .redirect file for example.com:
default user@example.com webmaster user@example.com sales joe@aol.com,mike@whatever.com info robert@example.com
That will automatically redirect all
webmaster@example.com emails to
user@example.com, sales@example.com to
joe@aol.com AND
mike@whatever.com, and
info@example.com to robert@example.com.
All others will go to
example@example.com. Note that webmaster
line isn't necessary, but
it's better to specifically redirect
it to example@example.com.
It's important to note that the first column HAS
to be an alias, and the
second column must be REAL accounts. You cannot
redirect real email
addresses to other real email addresses. For
example, you cannot put
robert@example.com example@example.com
or
robert@example.com joe@aol.com
Assuming robert@example.com is a real email(POP) account.
Of course, example@example.com emails will go to
example@example.com, and
robert@example.com to robert@example.com.
Please note that it takes a few minutes for the
.redirect file to go into
effect after you've updated it.
Ask us to create additional real email(POP)
accounts.
Very simple. Just create a text file and put it
in the infobots directory.
Let's say that the name of the text file is
"info". Now, when you send
mail to info@example.com, you will get the text
file mailed back to you.
That's it. Try it out. There is no limit to the
number of these
infobots. Note that the name of the file is simply
"info", and not
"info.txt".
How do I see who is using my
infobots?
Assume your infobot address is info@example.com.
Just put the following line in your .redirect file.
info example@example.com
The original email message will be sent to example@example.com, and the
original sender will get the infobot text.
How do I create a majordomo mailing
list?
Ask us. Tell us the name of the mailing list and
the password for it.
You will then get a detailed instructions on how to
use it.
There may be extra charges if your mailing list is
very
large(>1000 subscribers).
Ask us to set it up for your domain.
How do I change my login password?
Ask us to set it up for your domain.
How do I check the web usage stats
for my domain?
Ask us to set it up for your domain.
Stats are updated once a week.
I need to configure my mail reading program so I can access my emails. What are the proper settings?
mail(SMTP) server=your domain.
POP server=your domain.
What is the correct path to perl(and other programs)?
perl: /usr/bin/perl
sendmail: /usr/sbin/sendmail
date: /bin/date
How do I create my own "404 Not found" error page?
Simply create/modify the missing.html file in your main web directory.