Hosting Technology FAQs Support Sign Up Contact us
 

Frequently Ask Questions


Miscellaneous Technical Questions

  1. How should I name my home page ?
  2. How do I create custom error responses ?
  3. How do I setup Java chat room ?
  4. How do I change my account's main password ?
  5. How do I setup a feedback form ?
  6. Why does accessing http://mydomain.com/somefolder/ without index page returns Forbidden error ?
  7. How do I run PHP on your servers ?
  8. How do I run CGI/PHP on a secure server (SSL) ?
  9. Is the PHP's MAIL function enable ?
  10. Web-stats terms definitions
  11. How do I gain shell access ?

How should I name my home page ?

In case when URL does not point to a file name, our web servers were configured to search for following file names ( and in that exact order ) index.html index.shtml index.phtml index.htm index.shtm index.php index.cgi. In other words name your home page using one of the choices above.

contents | top


How do I create custom error responses ?

Create .htaccess file in your docs folder, unless
one already exists.
WARNING:
If you have FrontPage extensions installed, there
is already an .htaccess file in your docs folder. If
that's the case, then use that .htaccess file and do
not create a new one, otherwise you'll corrupt up your
FrontPage extensions.


To map specific error code to the page of your
choice place the following directive into .htaccess file

ErrorDocument error_code path_to_page

path_to_page is relative to your docs folder.

Examples :
ErrorDocument 400 /badreq.htm
ErrorDocument 401 /authreq.htm
ErrorDocument 403 /forbidden.htm
ErrorDocument 404 /notfound.htm

Each of the lines above maps specific error code
to the page which will be displayed in the event of error with that code.

Here are some error codes and the corresponding descriptions.

CODE DESCRIPTION
400 BAD REQUEST
401 AUTHORIZATION REQUIRED
403 ACCESS IS FORBIDDEN
404 PAGE WAS NOT FOUND

contents | top


How do I setup Java chat room ?

Insert following into your HTML page :

<APPLET width="450" height="200" archive="AWChat.jar" code="AWChat.class" codebase="http://chat.acceleratedweb.com/pub-files/awchat">
<PARAM name="chatrooms" value="chatroom1:< user> _1">
<PARAM name="login_view_background" value="#f1f5fa">
<PARAM name="login_view_foreground" value="#000000">
<PARAM name="chat_view_background" value="#f1f5fa">
<PARAM name="chat_view_foreground" value="#000000">
</APPLET>

The only required parameter that needs to be changed is chatrooms.
If your user name is u101 and you'd like to name your chatroom -- MyChatRoom,
then your < PARAM name="chatrooms" line will be :
<PARAM name="chatrooms" value="MyChatRoom:u101_1" >

To add additional rooms, add ,ChatRoomName:<user>_2, incrementing
number after underscore by one.
Ex.
<PARAM name="chatrooms" value="MyChatRoom:u101_1, MySecondRoom:u101_2">

You can also set foreground and background of the applet's components by setting following parameters:
login_view_background
login_view_foreground
chat_view_background
chat_view_foreground
text_area_foreground
text_area_background
user_list_foreground
user_list_background
text_entry_foreground
text_entry_background

contents | top


How do I change my account's main password ?

In order to change your password, you need to:

1) go to your control-panel at http://yourdomain/control-panel/
2) go to Admin Tools, go to Change Password
3) enter new password and click on Change Password button

If you're using FrontPage to publish your files and or have
FrontPage extensions enabled on your account, you will also
have to use your FrontPage editor to change your FrontPage's
password by:

1) going to File from your FrontPage editor
2) go to open web, enter http://yourdomain.com, click Open
3) go to Tools, Server, Change Password
4) enter new password, click OK

If you have any questions or are unable to change your password,
let us know the password you wish to use and we'll change it for you.

contents | top


How do I setup a feedback form ?

Step 1.
Create text file feedback.tmpl with the following format

To: webmaster@yourdomain.com
From: [email]
Subject: 3 questions
                                                    <--- this empty line is mandatory
What is your name? [yourname]
What is your quest? [quest]
What is your favourite colour? [colour]

Using ASCII mode, upload feedback.tmpl into your docs directory.

Step 2.
Create your FORM

<FORM METHOD=POST ACTION="/pub-bin/aw_cgiemail/feedback.tmpl">
Your name: <INPUT NAME="yourname">
Your quest: <INPUT NAME="quest">
Your favourite colour: <INPUT NAME="colour">
<INPUT TYPE="submit" value="Send e-mail">
</FORM>
Make sure you set ACTION to "/pub-bin/aw_cgiemail/feedback.tmpl"
When this FORM gets processed, aw_cgiemail
replaces [varname] occurrences in feedback.tmpl
with the value of the corresponding INPUTS taken from the FORM and
sends it to webmaster@yourdomain.com

Note that the NAME of each input corresponds to what you previously put in the feedback.tmpl. In this example they are yourname, quest, and colour. This is the key concept in using cgiemail.
Be careful to make them exactly the same; if you put NAME="colour" in your HTML form and [color]
(note the spelling difference) in your e-mail template, the input will not show up in the e-mail.

You can also make this script accept file uploads which then gets send to you as attachments.
To do this add enctype="multipart/form-data" to the FORM tag
Ex.
<FORM METHOD=POST ACTION="/pub-bin/aw_cgiemail/feedback.tmpl" enctype="multipart/form-data">

Now we just need to create file upload fields by adding following inputs to the FORM
<input type="file" name="uploaded_file1">
<input type="file" name="uploaded_file2">
...

After the form gets successfully submitted redirect to "Thank you" page using
<input type="hidden" name="success" value="http://yourdomain.com/thankyou.html">

contents | top


Why does accessing http://mydomain.com/somefolder/ without index page returns Forbidden error ?

For the security considerations we do not allow
a directory listing by default. This setting
can be overridden by "Options Indexes"
directive placed in .htaccess file in the
directory where directory listing is desired.

contents | top


How do I run PHP on your servers ?

The only requirement to run PHP scripts on our servers
is that the file extension should be .php. So if the
code in a php file is correct and the file has .php extension
then it should run fine. ( This doesn't apply to the SSL servers )

contents | top


How do I run CGI/PHP on a secure server (SSL) ?

For the security reasons ( because SSL server is being shared between
all users on that server ) all scripts under SSL server must
be ran through a CGI wrapper, thus you can only execute scripts
(including PHP ) from the secure/cgi-bin folder. Also for the PHP scripts
you'll have to add a path to the PHP interpreter:
#! /usr/local/bin/php
and as with any other scripts upload them in ASCII and chmod to 755.

contents | top


Is the PHP's MAIL function enable ?

Yes, it's enabled.

contents | top


Web-stats terms definitions

Hits

Any request made to the server which is logged, is considered a 'hit'.
The requests can be for anything... html pages, graphic images, audio
files, CGI scripts, etc... Each valid line in the server log is
counted as a hit. This number represents the total number of requests
that were made to the server during the specified report period.

Files

Some requests made to the server, require that the server then send
something back to the requesting client, such as a html page or graphic
image. When this happens, it is considered a 'file' and the files
total is incremented. The relationship between 'hits' and 'files' can
be thought of as 'incoming requests' and 'outgoing responses'.

Pages

Pages are, well, pages! Generally, any HTML document, or anything
that generates an HTML document, would be considered a page. This
does not include the other stuff that goes into a document, such as
graphic images, audio clips, etc... This number represents the number
of 'pages' requested only, and does not include the other 'stuff' that
is in the page. What actually constitutes a 'page' can vary from
server to server. The default action is to treat anything with the
extension '.htm', '.html' or '.cgi' as a page. A lot of sites will
probably define other extensions, such as '.phtml', '.php3' and '.pl'
as pages as well. Some people consider this number as the number of
'pure' hits... I'm not sure if I totally agree with that viewpoint.
Some other programs (and people :) refer to this as 'Pageviews'.

Sites

Each request made to the server comes from a unique 'site', which can
be referenced by a name or ultimately, an IP address. The 'sites'
number shows how many unique IP addresses made requests to the server
during the reporting time period. This DOES NOT mean the number of
unique individual users (real people) that visited, which is impossible
to determine using just logs and the HTTP protocol (however, this
number might be about as close as you will get).

Visits

Whenever a request is made to the server from a given IP address
(site), the amount of time since a previous request by the address
is calculated (if any). If the time difference is greater than a
pre-configured 'visit timeout' value (or has never made a request before),
it is considered a 'new visit', and this total is incremented (both
for the site, and the IP address). The default timeout value is 24
hours (can be changed), so if a user visits your site at 1:00 in
the afternoon, and then returns the next day at 3:00, two visits would be
registered. Note: in the 'Top Sites' table, the visits total should be
discounted on 'Grouped' records, and thought of as the "Minimum number of
visits" that came from that grouping instead. Note: Visits only occur on
PageType requests, that is, for any request whose URL is one of the
'page' types defined with the PageType option. Due to the limitation
of the HTTP protocol, log rotations and other factors, this number
should not be taken as absolutely accurate, rather, it should be
considered a pretty close "guess".
KBytes

The KBytes (kilobytes) value shows the amount of data, in KB, that
was sent out by the server during the specified reporting period. This
value is generated directly from the log file, so it is up to the
web server to produce accurate numbers in the logs (some web servers
do stupid things when it comes to reporting the number of bytes). In
general, this should be a fairly accurate representation of the amount
of outgoing traffic the server had, regardless of the web servers
reporting quirks.

Note: A kilobyte is 1024 bytes, not 1000 :)

Top Entry and Exit Pages

The Top Entry and Exit tables give a rough estimate of what URL's
are used to enter your site, and what the last pages viewed are.
Because of limitations in the HTTP protocol, log rotations, etc...
this number should be considered a good "rough guess" of the actual
numbers, however will give a good indication of the overall trend in
where users come into, and exit, your site.

contents | top


How do I gain shell access ?

Due to the security problems with telnet we don't support it anymore.
Instead we offer SSH for the shell access.
You'll need an SSH client which will let you connect to the server.
One place to search is www.download.com ( enter ssh in the search box )
or you can get PuTTY which is a free SSH client at
http://www.chiark.greenend.org.uk/~sgtatham/putty/
Logon info (username,password and host) is the same as for FTP.

contents | top



HomeHostingTechnologyFAQSupportSign UpContact us

Copyright © 2000-2024 Accelerated Web Technologies, LLC
All Rights Reserved.
Privacy Policy | Terms & Conditions