*** Users of formmail.pl please read this! ***
What is your dns information?(all accounts)
2. How do I FTP my files to the
server? (all accounts)
3. How do I use Telnet or
Shell Access to work with my files? (all
4. How do I configure my mail
client to access the mail server? (all accounts)
5. How do I set up mail aliases
and autoresponders? (all accounts)
6. How do I configure my
counter CGI script to work? (all accounts)
7. How do I configure my Local
Search CGI script to work? (all accounts)
How do I use the cgiemail script?
9. I need to know where
certain files are for my cgi scripts. Where
could they possibly be? (all accounts)
10. How do I use the Real Audio
Server? (available to Advanced, and Commerce
11. How do I use the Secure
Server? (available to Advanced, and Commerce
12. How do I password protect
a file or directory? (all accounts)
How do I use the Mini Sql server v2 (available
to Advanced, and Commerce accounts)
14. How do I view the stats
for my site? (all accounts)
15. How do I set up my bulletin
board/guestbook? (all accounts)
*** Users of formmail.pl.
How do I use htaccess to password protect
files and directories?
Due to yet another vulnerability in formmail.pl 1.9 we have had to completely remove it from our system and replace it with a new version, nms-cgi (more info available here)
There is minimal setup work to be done to get it running as it is a drop-in replacement for Matt Wright's FormMail.pl. The file itself can be found in your cgi-bin directory under the filename "formmail-secure.pl". There is a README file with directions on how to set up formmail on your site (fairly simple, mostly identical to the old formmail with referers, recipients and the like) The README is available here. What the readme does not mention is the importance of changing the sendmail line from '/usr/lib/sendmail -oi -t' to '/usr/lib/sendmail -i -t' please make sure you do this.
Users on hercules or users whose formmail has gone mysteriously missing can download the file here. ***MAKE SURE YOU CHANGE THE PERMISSIONS ON THE FILE*** If you do not change the permissions to 755 (rwxr-xr-x) on formmail-secure.pl, it WILL NOT EXECUTE. If you are getting script execution errors, this is why.
Please keep the filename as-is. Any formmail.pl of a different version found on the server will be removed immediately without notification. If you have any questions, please do not hesitate to contact our technical support staff by phone or email.
What is your dns information?
this information when you need to change the
nameserver information listed with one of
the domain registrars.
primary dns server name : ns3.anonwebhost.com
primary dns server ip : 184.108.40.206
secondary dns server name : ns4.anonwebhost.com
secondary dns server ip : 220.127.116.11
How do I FTP files to the server?
FTP to the server you will need a FTP program.
There are many available on the web. Two that
are popular are CuteFTP and WS_FTP. There
are three things you must know in configuring
your FTP program. The first thing you need
is your host address . This is your IP number
which you have been assigned or your domain
name if it is already registered. Next you
need your user name or user ID, this is sent
to you by the tech department on setting up
your account. It usually starts with either
a w or f. The last thing you need is your
password which you picked upon signing up
for services. Leave the rest of the fields
blank or at the default settings.
you are logged into the server you will
be in your Root directory. Just name your
first pag e index.html or home.html and
you should be able to view your page through
a browser. You can create your own directory
structure from there.
How do I use Telnet or Shell Access to work
with my files?
must request telnet access in order to receive
it. Telnet gives you a text based interface
into the server. You can use this to move
or copy files. You can write and edit files
and programs and perform many other functions.
Your FTP username and password are required
to log in. There are many teln et clients
available on the net. Windows 95 comes with
a telnet program that you can access from
the start, run command by typing telnet (your
IP number) from the run dialogue box. When
prompted for login, type your username and
then password. Since al l of our servers run
the Solaris OS, most standard Unix commands
will work just fine. Here is a short list
of some of the most common:
ls List contents of a directory.
each file that is a directory, ls lists
the contents of the directory; for each
file that is an ordinary file, ls repeats
its name and any other information requested.
The output is sorted alphabetically by default.
When no argument is given, the current directory
is listed. When several arguments are given,
the arguments are first sorted appropriately,
but file arguments appear before directories
and their contents.
files in long format, giving file permissions,
size, owner, group and other info
hidden files along with other files
Change working directory.
cd utility will change the working directory
of the current shell execution environment.
When invoked with no operands, and the HOME
environment variable is set to a non-empty
value, the directory named in the HOME environment
variable will become the new working directory.
current working directory to dir
current working directory to your home
is a unix text editor that is excellent
for making changes to files on line. It
is invoked by typing pico [file name] from
the command prompt. You can write and save
your changes right on line without uploading
and downloading your files.
Unix environment is a rich one to perform
many tasks on line. Our servers are packed
with most programs you will need to perform
a multitude of tasks. A short review of
Unix commands available at many locations
on the net will allow you to harn ess this
power for your site. Also typing "help"
at any command prompt will bring up a help
How do I log on with my mail client into the
log into our mail servers requires that you
configure your mail program for our servers.
With all of the good mail programs available
today it is impossible to have exact instructions
to each one. However, in general they all
ask for some common info rmation.
Pophost or popserver refers to the name
of the pophost on our network. You are given
your pophost information along with your
pop account information when you signup.
For example "pophost.pwebtech.com".
is the outgoing mail server. For this you
should enter the smtp host you were assigned
at signup. For example "smtp.pwebtech.com".
box name or user name
mail program seems to call this something
else or requires different information.
You should try first using your the first
part of your mailbox name. Meaning before
the "@" symbol. Other programs
require your complete mail address and some
ot hers will ask for the username we assigned
you with either the rest of your domain
name or not. The only way to find out if
you don't know is to try. If after trying
all possibilities you still cannot get it
to work contact
tech for help. Be sure to tell them
what mail program you are using.
this just put in the password you picked
when you signed up for service.
How do I set up aliases and autoresponders?
set up new email aliases and autoresponders,
go to http://yourdomain.com/site-admin/. If
you have been assigned an administrative username
and password for your site, enter them here.
If not, contact firstname.lastname@example.org
to request one. Once you are in the autoresponder
creation area, the "autoresponder name" is
the name of the email address people send
mail to in order to get an autoresponse. (If
your domain is fun.com and you want email@example.com
to be where people send mail to get an autoresponse,
your autoresponder name is "respond". The
owner email address must be a VALID email
address on your domain, it is the address
that gets notified when an autoresponder gets
sent out. The "subject" is what you want to
appear in the subject heading of the autoresponse
that is sent out. The big empty text field
is the area in which you put the body of the
6. How do I use the counter CGI script?
Pegasus account comes with many stock CGI
scripts. In general the stock scripts we give
you have been tested and are fairly easy to
get running on your site. On most of our accounts
you also have the option of running your own
custom scripts. We do support the stock scripts
we supply you with but cannot be responsible
for your own custom scripts. We will attempt
to help you with any script you are having
trouble with. Just email firstname.lastname@example.org with questions.
of the most common CGI scripts is for a
hit counter on your page.
Setting up the Counter:
to the directory "counters"
'count.pl' and change the following:
$url - the URL of the 'digits' directory;
should be http://www.yourdomain.com/images/digits
$ext - digits file extension (this should
be left the way it is)
$file - is the directory where the counter
count file is installed. By default,
its installed in your cgi-bin/counter/
directory. For example, if your user
directory is w055036, the $file entry
would be '/web1/home1/w055036/cgi-bin/counter/count.txt'
'count.pl'. There are two lines, starting
To use a graphic counter - disable the
To use a text counter - disable the
To use a hidden counter - disable both
(nothing will be displayed on the web
page. You can check hits by looking
at the count.txt file).
To disable a line, put a # at
the begining of the line.
To control the number that is displayed
- open 'count.txt' and change the number
to '0' or to whatever number you want
your counter to start from. As many
digits you put - as many digits the
script will display.
To call the counter, put <!--#exec
wherever you want the counter to be
on the page. To activate the counter,
you must rename the extension of the
files that will display the counter
How do I install a local search engine?
simple search script was written to allow
you to set up a search of your site, so that
the visitors of your site could enter keywords
and find all documents matching those keywords.
In the directory:
you will find the following files:
- Useful installation instructions.
- The Perl script which does the searching.
- A sample HTML Search Page.
= ''; This is the base directory
to the files you will want to search.
If you have all of your files in /web1/home1/w00000
and you want to search files that are
in /web1/home1/w00000/work and /web1/home1/w00000/fun,
then you would set your base directory
at /web1/home1/w00000/. The $basedir
variable just saves you the time of
having to type out the basedir over
and over again for every file you want
= ''; This is very similar to
the basedir variable except that it
will be used as a base reference to
the files you want to search in terms
of the web. For the example if your
domain is helloworld.com, your baseurl
would probably be something like: http://helloworld.com/
. so that when the searched files are
appended to this baseurl, they form
a complete url to his files to place
in the results.
= (); This is an array that includes
all of the files you want to search.
The directory paths and filenames should
be in reference to $basedir. Wild cards
are allowed in this array, so if you
wanted to search all html files in fun/
and work/, you would set your @files
array up as: @files = ('fun/*.html','work/*.html');
You can also search whole directories
at one time, like: @files = ('fun/','work/');
This would search all text files located
in these directories. Putting exact
filenames will search only that filename.
= ""; This variable
is used to display the title of your
page in the search results and used
to link back to your main page. For
example if your domain is helloworld.com
you might want to set the $title
to be 'Hello World'.
= ''; This is the url that would
link to the page $title. Example: $title_url='http://helloworld.com/';
= ''; This is the url to the
search.html page you set up, so that
it can be referenced from in the results
page if users want to make another search.
Example: $search_url = 'http://helloworld.com/mysearch.html';
the permissions on the search.pl script
by running: chmod 755 search.pl
page needs only a little changing. You
will probably want to change the title
and header of this page to match your
site, and you may want to change the
background and other features of it
to make it fit into your site better.
main thing you will need to change is
the action="" of your script
from the fake url, to the url of your
search.pl script. Once you have changed
this, and have implemented the changes
listed above in search.pl, the search
program should work. Example: action="http://helloworld.com/cgi-bin/Search/search.pl"
should be chmoded 744 so that it is readable
more information on this script please consult
README file at
off your home directory.
I need to know where certain files are for
my cgi programs. Where could they possibly
These files are in your path from your shell
account and do not require a full path to
How do I use the Real Audio Server?
use the real audio server, make a subdirectory
in your document root called "ra".
Put all real audio files into that directory.
For example "jovovich.ra". To reference
this file from an html document, you must
first create a ".ram" file, for
example "j ovovich.ram". This file
must contain the following, depending on which
server you're on:
for example, if your are on the orion.pwebtech.com
server, and your domain is hingis.com, then
you might have in your jovovich.ram file
you are unsure of which server you are on,
or what to reference your domain as, email
Finally you can reference the ".ram"
file from your html document. For example:
How do I use the Secure Server?
- If your secure server has been activated, merely copy ALL the files you want to reference securely into the secure directory in your root directory. The secure directory is a directory with an "s" followed by your user number. For example: for the username f255255 the secure directory is s255255. You can then reference all your ssl encrypted files through the secure url. For most of you that will be: https://ssl3.pwebtech.com/(secure-user)/(file). To continue using our example above: https://ssl3.pwebtech.com/s255255/index.html would be the index file on the secure server for the user f255255.
utilize htaccess dynamic password protection
on a directory:
Create a passwd file. You can create a passwd
file with the "htpasswd"
utility on the server.
create a new password file run: htpasswd
-c [filename] [user]
For example: htpasswd -c .htpasswd hingis
will then be prompted for a password for
add a new user to an existing password file,
run the command: htpasswd [passwd file]
For example: htpasswd .htpasswd martina
you will be prompted for a password for
Create a .htaccess file. You can either
create this file locally and ftp the file
to the server, or you can edit the file
directly on the server using the text editor
pico: pico .htaccess
standard .htaccess file contains the following:
<full path to the password file>
AuthGroupFile <full path to a group file>
AuthName <Prompt to be displayed in the
pop up window>
example, if you want to protect a directory
"members" in your root directory,
place the following .htaccess file in the
members directory. Be sure to include the
full path including your home directory
for the AuthUserFile. This assumes your
document directory is located in /web3/home1/www255,
and your passwd file is named ".htpasswd"
and is located in the members directory.
AuthName "This Area is Restricted to Members
How do I view the stats on my site?
How do I set up my bulletin board/guestbook?
view your stats go to www.yourdomain.com/site-admin,
login and click view statistics.
your browser to http://yourdomain/ubb/cp.html
click on "General Settings"
enter the username and password below
for administrative access
scroll down to "URL for your UBB CGI Directory"
the URL should be http://yourdomain/cgi-bin/ubb
the username and password that are asked
for at the bottom default to
To change this, register a new user with
the board then, in the control panel,
go into the "user info & permissions"
section and, logging in with the Admin5
username, give administrator permission
to the new username. Remember to remove
Admin5 only once you have successfully
created a new administrator.
For more in-depth help check out http://ultimatebb.com/