SSH
- How do I setup SecureCRT
for SSH?
- What is SSH?
COUNTERS
AND STATS
- How can I use the counter
script on my website?
.HTACCESS
MAILING
LISTS
- How do I send to a mailing
list?
- Forwarding restrictions.
URL
- What is the difference between
a numerical URL and an alpha URL?
SSH
1. How
do I setup SecureCRT for SSH?
To telnet, you must use an SSH program.
If you are using a PC and wish to use SecureCRT from
www.vandyke.com, these
are the settings.
Protocol: SSH
Port: 22
Cipher: 3DES
Authentication: RSA
2. What
is SSH?
As
the internet grows it is more frequently the subject
of security breaches. The easiest way to hack a web
site is to setup a sniff program, usually at an ISP
and grab the username and password where a user is logging
into. This is very easily done when a client uses telnet
because telnet passes all information to the server
in clear text. When we allowed users to access our network
with telnet we had at least one hack attempt per day.
Successful hack attempts result in damaged or destroyed
sites, stolen information, and FBI investigations.
Brython
Hosting now has one of the most secure networks thanks
to the cooperation of all shell account users who are
abandoning telnet and accessing their account via Secure
Shell. SSH does not pass any information in clear text
but rather uses secure encryption.
To
get started with SSH, you must do the following:
A.
Acquire client side software
There
are two companies we recommend who sell client versions
of SSH.
1)
The most stable is SecureCRT. They have a 30 day free
trial available at their web site. SecureCRT is at
http://www.vandyke.com/products/SecureCRT/.
2)
A stable international version is available at Datafellows
http://www.datafellows.com/download-purchase/
Users
looking for a free version or users outside the United
States should file through the free implementations
at:
http://www.net.lut.ac.uk/psst/
Pay
attention to the totally free internationally available
ttssh:
http://www.zip.com.au/~roca/ttssh.html
COUNTERS AND STATS
1. How
can I use the counter script on my website?
There
are different types of counters you can setup on any
of your web pages. Below are a few examples. To create
the counter image, you need to do the following two
things. Decide what type of counter you would like to
use, and place the corresponding code in your web page
(example code is under "HTML Code" below).
You
can place this code in your HTML page by using the File
Manager in the control panel to edit your pages.
Note:
Input your site specific data in place of "Business
Hosting Plus-PageName.html" in the HTML tag below.
Please be sure not to use strange characters like "/"
in the name of your data file.
Counter
Examples:
Image (HTML Code)
<img
src="/cgi-sys/Count.cgi?df=Business Hosting Plus-PageName.html">
<img src="/cgi-sys/Count.cgi?df=Business
Hosting Plus-PageName.html&display=date">
<img src="/cgi-sys/Count.cgi?df=Business
Hosting Plus-PageName.html&display=clock">
How do I change
the appearance of my counter?
1.
CHANGE THE DIGIT STYLE
We
have five (5) different styles of digits installed on
our server. You can change the style of your counter
by simply adding dd=(A,B,C,D,or E) to the img tag.
For example:
<img
src="/cgi-sys/Count.cgi?df=Business Hosting Plus-PageName.html&dd=C">
Below
are the five styles of digits included on our server:
Style A <img src="/cgi-sys/Count.cgi?df=Business
Hosting Plus-PageName.html&dd=A">
Style B <img
src="/cgi-sys/Count.cgi?df=Business Hosting Plus-PageName.html&dd=B">
Style C <img
src="/cgi-sys/Count.cgi?df=Business Hosting Plus-PageName.html&dd=C">
Style D <img
src="/cgi-sys/Count.cgi?df=Business Hosting Plus-PageName.html&dd=D">
Style E <img
src="/cgi-sys/Count.cgi?df=Business Hosting Plus-PageName.html&dd=E">
2.
CHANGE THE BORDER OF THE COUNTER
You
can change the width of the border on your counter by
adding ft=X (where X is the number of pixels).
For example:
<img
src="/cgi-sys/Count.cgi?df=Business Hosting Plus-PageName.html&dd=C&ft=0">
3.
WHAT IF I WANT TO USE MORE THAN ONE COUNTER?
No
problem, all you need to do is simply change the data
file (df) to Business Hosting Plus-whatever. Make sure
you include your domain name or sub-directory name in
the name of the data file. Just be sure not to use
strange characters like "/" in the name of
your data file.
.HTACCESS
1. What
is .htaccess?
Important
Note: Do not edit the .htaccess file if you are
using MS Frontpage! which uses the .htaccess file, and
editing it may cause errors in your configuration.
The
.htaccess file can be placed in one or more of your
/home/$user/$domain-www subdirectories.
Among other things, this file can be used to restrict
access to other files and web pages.
When
a request for a web page is made, the web server first
checks for an .htaccess file. The server begins this
check by looking for .htaccess in the root of the current
web directory, and on down the directory tree until
it reaches the directory where the requested file resides.
Since the placement of the .htaccess file determines
when it is executed, this fact can be used to restrict
access only in certain subdirectories.
Functions
- Restrict
access to directories using passwords.
- Redirect
hits onto another web page.
- Control
and set the messages generated for various error
conditions.
- Edit
Mime-types.
- Activate
and deactivate various server features.
To
create an .htaccess file, make a text
file as described below, name it .htaccess
and upload it.
Except
for the first feature, described below, the following
features will only work for a .htaccess file placed
in /home/$user/$domain-www. Add all features
you want to the same file.
----------------------------------------
Restricting Access:
Password Protection
The
directory you want protected must have a .htaccess file
in it that looks like the following (do not put the
comments in the actual .htaccess file [comments begin
with #]):
AuthUserFile
/home/$user/.passwd
AuthGroupFile /home/$user/.group
AuthName "Protected Space"
AuthType Basic
<Limit GET>
require group $users and #users, is the group of users
that you give access to
#require user as $user #if there is only one user in
the group, you can substitute this line; remove the
#.
</Limit>(Other
possible groups are administrators, etc)
Groups
and users are stored in the .group file, and
passwords are stored in .passwd. The
.htaccess file looks for these files in
the /home/$user directory. Do not attempt
to edit these manually! Alabanza has a special script
you can use to manage your .group and .passwd files
(the "webmister" script). Ask support to install
it for you.
Redirects
Redirecting
allows you to send the user to, for example, new.html
when they attempt to access old.html. To see this example
in practice, simply add the following line to the .htaccess
file:
Redirect
/$directory/old.html http://$domain.com/$directory/new.html
------------------------------------------
Error Documents
There
are two main styles of error messages you may encounter.
The first is the standard form, which looks something
like:
MAILING LISTS
1. How
do I send to a mailing list?
After
adding a mailing list to your account, a message similar
to below appears as confirmation (sample mailing list
is test2):
------------------
Create A New Mailing list
Create
list test2!
Done!
To
subscribe to the mailinglist, simply send a message
with the word "subscribe" in the Subject:
field to the -request address of that list.
To:
test2-request@domainname.com
Subject: subscribe
To
subscribe the digest, simply send a message with the
word "subscribe" in the Subject: field to
the following address.
To:
test2-d-request@domainname.com
Subject: subscribe
To
send email to the mailinglist, write to the following
address:
To:
test2@domainname.com
To
unsubscribe from the mailinglist, simply send a message
with the word "unsubscribe" in the Subject:
field to the -request address of that list.
To:
test2-request@domainname.com
Subject: unsubscribe
To
unsubscribe from the digest, write a email like this.
To: test2-d-request@domainname.com
Subject: unsubscribe
Done!
-----------------------
An
alternative way to edit a mailing list it to edit the
"dist" file in from the File Manager in the
control panel; directory "/home/$user/$domain-mail/$listname".
Add
email addresses, one per line, below the following text
which in the text area box by default:
------------------
test2-d@$domain.com
(Only addresses below this line can be automatically
removed)
-----------------
E-mailing
the list must take place from one of the email addresses
located in the "accept" files also located
in the same directory below the following text:
------------------
test2-d@$domain.com
(Only addresses below this line can be automatically
removed)
------------------
Be
sure to include your email address here.
2. Forwarding
Restrictions
You
can use mail manager to set up mailboxes, create aliases
(box1 sends directly to box2), and even
forward mail off our server to be received somewhere
else (like box@aol.com).
But
there is one important exception:
Using mail manager, you can set up any of the following:
['--->' means 'forwards to']
box1
---> box1
box1 ---> box1, box2 [both boxes get a copy]
box1 ---> box@aol.com
box1 ---> box1, box@aol.com
box1 ---> box2
box2 ---> box2, box@aol.com
BUT
THIS PART WILL NOT WORK:
box1
-->box2 ---> box@aol.com [box1 forwards to box2,
which forwards to box@aol.com]You
have to do this:
box1
--> box2, box@aol.com [box1 forwards to box2 and
to box@aol.com]
URL
1. What
is the difference between a numerical URL and an alpha
URL?
A
correct URL for a browser is http://www.adomainname.com/
(note the end "/"). Most modern browsers
will know that most people supply the wrong URL so it
goes ahead and adds the http:// and the end "/"
if it has not been entered. Now because I have a IP#
URL (static/numerical URL the browser will NOT correct
such an address. It will not put on the required http://
or the "/". So that is why when I put in a
address like http://xyz/trainee it would not add the
"/" at the end and take me to the correct
address.