Arab Hosting Network - Advanced Website Hosting

Arab Hosting Network - Advanced Website Hosting

On The Menu

 


 
The following is an Arab Hosting Network list of UNIX Shared Hosting Frequently Asked Questions. This is a continually evolving document- please check back periodically for the latest information comments/suggestions to ntsupport@supportteam.net You may also find more information in our SHARED HOSTING MANUAL and in the KNOWLEDGE BASE

UNIX FREQUENTLY ASKED QUESTIONS

    >> UNIX SHARED HOSTING FAQ

   Unix Shared Hosting Frequently Asked Questions

Pre-installed Scripts and Frequently Asked Questions

Preinstalled Scripts


Miva Merchant is a browser based storefront and catalog development and management system. Using nothing more than a web browser, developers can implement dynamic data driven storefronts with integrated shopping basket, catalog, hierarchal categories, boolean product search, and order processing. Miva Merchants architecture lets developers prepare and market specialized look and feel, payment processing, and shipping modules.
Documentation for configuration and usage can be found at http://hostingsupport.com/manual/addons.html#Merchant2 and http://miva.com 


Miva Order (see demo at http://miva.com/products/demo/Order/order.mv)
Miva Order is a customizable browser-based order form and order processing system. It can be personalized with specific color, graphics, product descriptions and other layout options. Businesses simply incorporate a link from the web page where their products are sold, permitting customers to seamlessly access the order form and make purchases.
Users are able to create and manage custom product order forms with provisions that simplify the process of calculating sales tax, shipping costs and currency formatting.
Documentation for configuration and usage can be found at
http://hostingsupport.com/manual/addons.html#Order and http://miva.com 

Back to Top


That's an Order LE:   http://yourdomain.com/cgi-bin/thatsanorder_LE.setup 
A 25 item shopping cart which can be easily created via a web page  with Secure Server order abilities.

That's An Order LE creates a unique order number for each order made, creates an email database which can be used for sales and mailings, and creates a master backup file which will store all order information, except for credit card numbers, for security reasons.
That's An Order will collect First name, Last name, Address, Day phone, Credit Card number, and cardholder's name for each customer. 
The order form checks the validity of the credit card number and the expiration date.
The final total including tax and shipping is displayed to the customer before the order is finalized.
When the customer completes their order a message thanking them for shopping at your store and informing them that they will receive an order confirmation via email is displayed. Provide your customer the option of secure (SSL) or regular checkout. 
Add up to 25 products.

Back to Top

Shopmonster   http://yourdomain.com/shop2/cart.htm
Allows visitors to your on-line shopping site to collect items in a virtual shopping cart over multiple product web pages without losing the items ordered.   The cart keeps track of what the shopper has ordered with a SID (Shopper I.D). There are no cookies used, so the software will work through a firewall and with older browsers.
Shoppers may view the contents of their shopping cart at any time and may add or delete items as needed. The program automatically calculates the subtotal, sales tax, shipping charges, and grand total. When a visitor decides to checkout, the order information including the buyer's name, address and billing instruction is emailed to your order department (or whomever you choose) and a receipt is sent to the shopper.
Operation Details
The shop.pl program is used for all web pages used in the Shopping Cart. It is passed arguments on the URL path. All the web pages used are parsed by Shopping Cart. The page argument tells the Shopping Cart which HTML page to parse. All of these HTML files used by the Cart software must be in the $shopping_root directory, specified in the shop.cfg file. These HTML pages cannot be in subdirectories of the $shopping_root. Each HTML page is parsed and various tokens are searched for. These tokens tell shop.pl where to put the shopping cart list, the SID number, and other information. The SID number is passed on every URL in the Shopping Cart. This is how the Shopping Cart keeps track of the user. If no SID is passed to shop.pl, then it creates one.

The product information is kept in a text database, which consists of: product number, product i.d., product description, price, and product weight separated by a pipe symbol. This database is searched when the shopping cart list is displayed. It is also searched when the items ordered are mailed to the web administrator.

The customer can be presented with a shopping list, which allows then to add more of the same items or remove items. The shopping list also shows the item descriptions, the item prices, the shipping cost, the subtotal, the tax cost, and the total. The shopping list is shown only if the shopping list token in included in the HTML of the shopping cart pages.

When the customer is done ordering they will checkout using the email form. This form collects data about the customer. This data is emailed to the storefront owner and the customer in a receipt. This receipt of course includes the items ordered, shipping costs, tax, subtotal, and the total. The credit card information is only emailed to the storefront owner.

The credit card information is not emailed to the storefront owner if the Cybercash or Secure modules are in use. This information is either stored in a file on the server (Secure Module) or sent to the Cybercash Server (Cybercash Module).

A search feature is included which allows the customer to search the product database for product descriptions that interest them.

Back to Top

Monstercontrols  http://yourdomain.com/cgi-bin/monstercontrols
This is our proprietary web administration system which allows you to perform all aspects of your web site administration. You can add/edit your email redirects and forwards, setup and manage your mailing lists and autoresponders, password protect directories and manage the username/password combinations, download your raw access-logs, manage your site with SiteManager (create, edit and upload files to your web space). You can also change read, write or executable permissions on any of the files or directory in your web site plus much more.
For instructions in using Monstercontrols please see the documentation at
http://www.hostingsupport.com/manual/wba.htm#1

Back to Top

Monstermail  web-based email
Read and compose email using a browser instead of an email client (http://yourdomain.com/mail/mail.cgi).    Or use Monstercontrols (yourdomain.com/cgi-bin/monstercontrols) and choose "web-based email".


Auction:  A web based auction script allows anyone to easily set up an auction page. Easily configured using the following URL:
http://yourdomain.com/cgi-bin/auction.cgi
Usage instructions are available at:
http://hostingsupport.com/manual/auction.html#1

Formmail will mail you the results of your forms. To get your form results mailed to you, you have to add a few hidden fields to your html document. 
NOTE:  Please see the FAQ on this page for more info and for special instructions if you're mailing the form results to some address other than your domain.
Usage instructions also are available at:
http://hostingsupport.com/manual/cgib.html#2

Back to Top

Cgiemail is a form processing script that takes the contents of fill-in boxes on a form and mails them to a specified address.
Usage instructions are available at:
http://hostingsupport.com/manual/cgib.html#1

Free For All Link page allows visitors to add links to specified categories. This script is already configured for use by calling the following URL:
http://yourdomain.com/links/links.htm
The only configuration you may want to do is to customize the look of the links.htm page. Just leave the method and input tags the way they are. If you decide to change the category names, you must do so in the links.htm document, AS WELL AS the links.pl file in your cgi-bin.

Random Text Generator  takes a plain text file, which contains a series of phrases, quotes, lines of text, html tags, etc... and a delimiter (the percent "%" character) which separate each entry) and will randomly choose one of the phrases and display it on your web page. This scripts does require the use of Server Side Includes so each html page that you call it from needs to end with the extension .sht or .shtml.
http://yourdomain.com/random/random.txt  (add text -see example below)
http://yourdomain.com/cgi-bin/randomtext.cgi  (the script)
Example of random.txt file below.
Phrase one would go here. As much white space or formatting as you want.
 %%
Second Phrase would go here. %% And the next Second line of the next. %%
Next line, and so on...
How to call the randomtext.cgi:
This script must be called as a Server Side Include, or it can also be called on a page by itself (however that is not as nice looking.) Below is an example of how to call this program within an html page using SSI:
<!--#exec cgi="/cgi-bin/randomtext.cgi"-->
That woudl simply call the program from a Server Side Include and the Random Text woud appear in that location on your web page.

Graphical counter:  Simple counter called using "img" tag.  You can edit the count on any page by going to the counter directory off of your main www and changing the number in the txt file of the page you would like to correct.
http://yourdomain.com/counter

Password Protected Directory:
Sometimes there is information on your Web site you don't want to share with everyone. For this reason we've included a program that enables you to password protect any directory in your Web site.   It is easily set up through Montercontrols(yourdomain.com/cgi-bin/monstercontrols) then click on "password protected directories".   Choose the directory name from the drop-down list of directory names and type in the Authname (Note: this word will show in the box that prompts for Username and Password when pulling up the URL in a browser and must not contain spaces, example = Private),  type in the Username and password and click on the "Protect Directory" button.  To test pull up the subdirectory that you protected.  Example:  if you protected /www/username/secure then pull up http://yourdomain.com/secure.

Back to Top

Monsterbook lets you set up as many individual guestbooks as you want! The Master Admin Program lets you (the administrator) easily add, modify, or delete VisitorBooks from your system.

Administrator Options:
Create New VisitorBooks 
Set password for each VisitorBook
Edit VisitorBooks
Delete VisitorBooks
http://domain.com/monsterbook/admin_login.html
U = admin, P = admin   (be sure to change these after  you login)

Guestbook allows you to set up your own comments page. From there, visitors can add entries to your guestbook and they will be displayed with the most recent at the top and scrolling down, or vice versa. Other options include the ability to limit HTML in the entry, link to e-mail address with mailto tag, use a log to log entries, redirect to a different page after signing, emailing whenever a new entry is added, and much more.
Usage instructions can be found at  http://hostingsupport.com/manual/cgib.html#3.

Back to Top

Click and Go
This script allows you to design a scroll-down menu that will contains links towards which your visitors can be re-directed. That's the same a using a big bunch of links, but this presentation is much shorter. 
To use this script, build a form that looks like this:
<form method="post" action="http://www.yourdom.com/cgi-bin/clickgo.cgi">
<select name="goto" size="1">
              <option value="www.site1.com">Site 1</option>
              <option value="www.site2.com">Site 2</option>
</select>
<input type="submit" value="GO!">
</form>

Do NOT use the http part of the URL, in the value field.
On the click of the GO! button, the requested page will be loaded on screen.

Back to Top

WWW Board is a threaded World Wide Web discussion forum and message board, which allows users to post new messages, follow-up to existing ones and more. It is already preconfigured for your server. Just go to http://yourdomain.com/bbs to post your messages there.

To administer the Board use the wwwadmin.pl at http://yourdomain.com/cgi-bin/wwwadmin.pl.
The Username and Password for initial login should be included in the logins you received in the Order confirmation email.  If you need assistance with changing them please contact Support.

Search.cgi
Search will look at all your html pages for words you enter, and return all pages on a list with links. This program is completely configured and ready to run at http://yourdomain.com/cgi-bin/search.cgi.

There is a configuration file called search_define.pl  in your cgi-bin which accompanies search.cgi and sets up the variables for it. You can customize which files you wish to exclude from searches, and also the cosmetics of the search and results pages.
To exclude files from the search add the file name(s) to search_define.pl in your /cgi-bin in the entry for @unwanted_files.

Back to Top

Boutique Single Page Shopping Cart
There is a Single Page Shopping Cart program installed on your server. You can see what it looks like by going to this URL with your browser: http://yourdomain.com/shop/boutique.html
Note:  This script is not easily configured to work with the Secure Server.
.
Modifying Boutique Files.
The following web pages make up your shopping application:

PRODUCT PAGE -
This page, (http://yourdomain.com/shop/boutique.html), displays the products from which your shopper may choose. Edit this page in any manner you choose, just being careful to maintain the four major parts of the html tags that interact with the program:
Call to program - this is the opening form statement where the "action" is a call to the /www/username/cgi-bin/shop/boutique.cgi program.
Products Listings - you will see nine separate parameters that must be used to define each product....the value of each parameter may be anything you choose, or they may also be equal to ("") nothing. All nine, however, must be used for each product listed on the page.
Customer Information - this section is used to collect your shopper shipping and payment information. You may collect any amount and type of information you desire, being sure to repeat the field names on the saleslip.html page for presentation of this information to your customer.
Customer options - this section contains a hidden input line, sending the program a value for "Operation" and the "submit" button.
saleslip.html -
This page presents the final sales slip to your shopper, indicating products purchased and giving a total order summary. Notice that certain sections on this page interact with the program, and are expressed as hidden input lines. However, all sections with are involved in displaying data on the web page may be designed in any manner you choose. Just carry the field names from your product page forward on this saleslip page for display.
thankyou.html -
This page will present the order number to the customer and is the final and ending page for the shopping experience.

Back to Top

Banner Wheel Industrial - http://yourdomain.com/bwi/docs
A powerful advertising program that offers the ablility to have several clients advertise on your website, with each client containing an unlimited amount of ads or "banners".

   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?


Put your CGI programs in the cgi-bin directory.
  • The cgi-bin will automatically chage the permissions to chmod 755 for you
  • Its important because of the apache wrapper being run that scripts and there directories be chmod 755, chmod 777 will not work

A special note - this does not apply to frontpage webs, follow normal cgi instructions



How do I use cgiemail and  Formmail?


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"

Your name? your number? etc... 


If you want to have your own customized "success" page, place the following
line in your form page:


It will then redirect to somepage.html.

Formmail is a very easy to use form processor, simply place the following on any page after entering your domain.

<FORM METHOD=POST ACTION="http://yourdomain.com/cgi-bin/formmail.cgi">
<input type=hidden name="recipient" value="sales@yourdomain.com">
<input type=hidden name="subject" value="Order">
<input type=hidden name="return_link_url" value="http://yourdomain.com/">
<input type=hidden name="return_link_title" value="Back to Main Page">

Be sure to replace yourdomain, with your real domain name

Full Formmail instructions click here  



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.

For security the following applies

  • Only the incoming directory can be written to anonymously
  • Subdirectories are not creatable
  • The incoming directory is not readable by people dropping files there
  • 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?

Email aliases can be created very easily using "email redirects" in Monstercontrols (yourdomain.com/cgi-bin/monstercontrols).

They can also be set up or checked manually using the following info.
Assume your domain is "example.com".

You need to edit the .redirect file in your home directory.

Here is a sample .redirect file for example.com:

default example@example.com
webmaster example@example.com
sales joe@aol.com,mike@whatever.com
info robert@example.com

That will automatically redirect all webmaster@example.com emails to
example@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 the webmaster line isn't necessary, but it's better to specifically redirect it to example@example.com.

It's important to note that the second column must be REAL accounts. You cannot redirect emails to an alias.
Please note that it takes a few minutes for the .redirect file to go into effect after you've updated it. Try waiting at least 10 minutes before testing.

Additional POPs can be created using Monstercontrols (http://yourdomain.com/cgi-bin/monstercontrols).



How do I use the infobots?

Infobots, also called autoresponders can be easily created using "simple autoresponders" in Monstercontrols (http://yourdomain.com/cgi-bin/monstercontrols).

To create or check them manually us the following instructions:
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.
Its important that you have the infobot installed
before entering the address line in the .redirect

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?

For full instructions email our autoresponder at domo@site-secure.net
There may be extra charges if your mailing list is very
large (mail quota = 2000 emails per day on shared servers).



How do I use Real Audio?

RealAudio is a real time audio transmission/player system. A digital audio stream is transmitted from the server over the internet to the destination and played immediately, rather than being stored to disk first and then played.

Each audio clip requires two files: a metafile with extension .ram, and the digital audio clip itself, with extension .ra. The .ram file holds one or more lines of ASCII text, each of which references the .ra file to be played when the .ram file is accessed by the browser.

Entries in .ram files have the form:

rtsp://slate.propagation.net/your-domain/name-of-clip.ra

Place your .ram and .ra files in the realaudio subdirectory under your web directory.

.ram files must be uploaded in ASCII mode while .ra files must be uploaded in BINARY mode.

You may then access these files at realaudio/file.ram under your www directory.



How do I change my login password?

Telnet to your domain. After you've logged on, type "passwd" to change your password. You can exit the telnet session by typing "exit".



How do I check the web usage stats for my domain?

Stats are updated once a week. You may check your stats by
going to http://yourdomain/wusage with your favorite browser.



I need to configure my mail reading program so I can access my emails. What are the proper settings?


Assume your domain is fred.com

SMTP = fred.com
POP = fred@fred.com
From = anyname@fred.com
passwd = the same used for FTP/telnet



What is the correct path to perl(and other programs)?


perl5: /usr/bin/perl
perl5.003: /usr/bin/perl5.003
sendmail: /usr/sbin/sendmail
date: /bin/date
java: /usr/bin/java
python: /usr/bin/python

Domain paths
Using example if your domain was example.com

  • Main dir: /www/example/
  • Cgi-bin: /www/example/cgi-bin




What are the basic Frontpage settings?

Assume your domain is example.com:
Location to publish to: http://example.com
(note if the domain is not active use the IP number that you received)
Username:  example
Passwd:  As-sent-to-you (the FP password is separate from the telnet/ftp/POP password)
If you need the FP password reset please contact Support.
For more info please see the online manual at:
http://hostingsupport.com/manual/addons.html#3



What are the basic Msql2 settings?

Msql2 is a database engine, docs may be found at Hughes SQL
We dont provide technical support on this because of its complexity, the basic access path is below

To use this you must submit your domain name and a database name to us, so we can set it up for you.

/usr/local/Hughes/bin/msql database-name



How do I create my own "404 Not found" error page?


Simply create/modify the missing.html file in your main web directory.



How do I use the SSL server for my order form?


Normally, any text(such as your credit card number) sent from your browser to the web server is sent as plain text. This means that a hacker could potentially intercept(however unlikely) the information sent from your browser and read it.
However, by using the secure server, the information is encrypted before it is sent from your browser. It would be practically impossible for anyone to decrypt it without knowing the key.
Please use the secure server only when necessary.

Assume your domain is example.com.

Use the following url to access your pages via the secure server.

https://slate.site-secure.net/example/anypage.html 

The above page would be accessed from the normal web server as:

http://example.com/anypage.html

Your cgi-bin dir is:

https://slate.site-secure.net/cgi-example/ 

*SPECIAL NOTE FOR FORMMAIL.CGI*

If you are using formmail.cgi thru the secure server, you MUST use the following url:

https://slate.site-secure.net/cgi-bin/formmail.cgi

Here's an example:

<FORM METHOD=POST ACTION= "https://slate.site-secure.net/cgi-bin/formmail.cgi">
<input type=hidden name="recipient" value="sales@yourdomain.com">
<input type=hidden name="subject" value="Order">
<input type=hidden name="return_link_url" value="http://yourdomain.com/">
<input type=hidden name="return_link_title" value="Back to Main Page">

The last two line allow a link back to your main page - thus they get a report of what they ordered and a link. We made the modification for you already

Its important that you call your order page thru a secure URL in order to work properly

Ex. https://slate.site-secure.net/yourdomain/yourorderform.htm



How do I use the maillists directory?

Refer to the online manual for help with these.



SOLUTIONS TO COMMON PROBLEMS

 

SOLUTIONS TO COMMON PROBLEMS

 

Access logs

"I can't find my access log!"

They are in your home directory, this is the directory you are in when you first logon.

 

2.1.2) Error logs

"I can't find my error log?"

We don't keep error logs for performance reasons.

Cgi-bin scripts

"Where do I put my cgi-bin scripts?"

Put them in the subdirectory cgi-bin which should be under your www directory.

Perl scripts

"I am being told file not found"

"I am being told No such file or directory"

Upload your Perl script in ascii mode, not binary mode.

Sometimes it seems like this is asked about once a day, so we're going to repeat it, loudly.

Upload your Perl script in ascii mode, not binary mode.

"I get errors such as

Literal @sdfsdf now requires backslash at ./test.rob line 2, within string
Execution of ./test.rob aborted due to compilation errors."

Place a "\" before such offending @ characters. This is an incompatibility between Perl 5 and Perl 4.

 

Anonymous ftp

"Where should I store files for anonymous ftp access?"

Put files in the directory named anonftp/pub. This will allow a file to be accessed by a customer with ftp://yourdomain.com/pub/your-file-name.

For security the following applies

  • Only the incoming directory can be written to anonymously
  • Subdirectories are not creatable
  • The incoming directory is not readable by people dropping files there

Setting permissions

"Hey, how do I stop people who are not in my group from reading a directory?"

Type chmod o-r directory while you are in the directory above it.

"I don't care if people in my group can read my directory, but I don't want them to write in it!"

Type chmod g-w directory while you are in the directory above it.

"Who is in my group?"

In general, each domain has its own group. If you find you are in the group users, let us know if you wish for your domain to have its own group.

"Tell me more about permissions, they sound neat!"

To list the access permissions of a file or directory, type ls -ls *. r=read access, x=execute access, w=write access. The first three letters apply to you, the second three letters apply to your group, the last three letters apply to everyone else. Execute access enables you to run programs or enter directories.

Examples of using chmod:

    PEOPLE                                      PERMISSIONS
    u = the file's user (or owner)           r = read access
    g = the file's group                        x = execute access
    o = others                                   w = write access
    a = the user, the group, and others.

    chmod a+w =  let everyone write to the file
    chmod go-r =  don't let people in the file's group or others to read
                        the file
    chmod g+x  =  let people in the file's group execute the file

Don't have permission to access /

This error message means that you are missing your index.html file.

Note that files that start with a "." are hidden files. To see them, type ls -al at shell prompt.

If you wish to ftp this file in, go to the /home/fred directory assuming your userid is fred.

I get a forbidden when trying to access my site

This error is generally because you have not placed a default page in the main directory.
A default page must be called index.htm, or default.htm and it should be your main page



How Can I find more Questions and Information about NT SHARED HOSTING?

Well, try our our SHARED HOSTING MANUAL and KNOWLEDGE BASE, as they contain the latest information from our HostingSupport.com support team. 



How do I contact support? 

Log in a Trouble Ticket describing the problem, and we will get back to you shortly. Or you may try to CHAT with our Support Team, If it is urgent feel free to use our Technical Support Toll Free Number.

Arab Hosting Network

Sales@arabhostingnetwork.com

Support@ArabHostingNetwork.com

Home | Copyright | Privacy Policy | Terms & Conditions | Link To Us | Contact Information | About us |

Copyright 1998 - 2001 Arab Hosting Network Inc. All Rights Reserved - Framing, Copying, or reproduction of any part of this site to any other server or location for further reproduction or redistribution is expressly prohibited - Privacy Policy - Support@arabhostingnetwork.com