Preinstalled Scripts and Frequently Asked Questions    

Preinstalled Scripts

Auction     Banner Wheel Industrial     Boutique   Click and Go    Counter  
Directory Scan    DP Market        DP Tellafriend    Guardian    2B Guestbook    Guestbook
Miva Merchant     Miva Order    Monsterbook    Newspro   NueQuiz   Random Image Generator
Random Link Generator    Random Text    Search 
    Shopmonster    That’s an Order   
Web Based Control Panel (Monstercontrols) 
  Web-based Mail     WWWBoard               Note:   In all example URLs change hostingsupport.com to your domain name.

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://hostingsupport.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://hostingsupport.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://hostingsupport.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

Web-based Mail:   web-based email
Read and compose email using a browser instead of an email client (http://hostingsupport.com/cgi-bin/wmail/wmail.pl).    Or use Monstercontrols (hostingsupport.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://hostingsupport.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://hostingsupport.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://hostingsupport.com/random/random.txt (add text -see example below) http://hostingsupport.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:

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://hostingsupport.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(hostingsupport.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://hostingsupport.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://hostingsupport.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:               Site 1               Site 2

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://hostingsupport.com/bbs to post your messages there. To administer the Board use the wwwadmin.pl at http://hostingsupport.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. NueQuiz
URL http//hostingsupport.com/nuequiz/password.htm (passwd – nuedream) To change the password edit the file named password.cgi in directory nuequiz. Change this enty $password = “nuequiz”; Choose to edit an existing quiz or create a new one. To create a new one, fill in all of the required fields (the question, the answers, checking the correct answer and the reasoning for the answer) and click “Add”. Access the quiz by using the number of the question in the URL as follows:  www.hostingsupport.com/nuequiz/quiz.cgi?expert=1

This will display the first question of the expert quiz.

DP Market
A basic classified ad script.   Users can submit advertisements, which are updated at once and also send to the webmaster if wanted. Setting up and adapting the script is easy and requires no knowledge of Perl/CGI.
Info for running and modifying the script is in /www/user/dp_market/readme.txt Directory Scan
To create the list of files needed for searching run http://hostingsupport.com/dircsan/dirscan.pl.  This will create the file /www/hostingsupport/dirscan/fileinfo.txt.
Then add the following html code to the web page directly in your /www that you want the search button on.  Note:  be sure to change hostingsupport.com to your domain in the code below . Search my Homepage

The search engine receives the input from the CGI form and processes the required files in order to find the search terms.
The list of files is found in /www/user/dirscan/fileinfo.txt. The script would not work if it doesn’t get the valid list of files. For compiling the list of files to process use the dirscan.pl utility (so you’re actually getting two separate projects, disrcan.pl can be used separately for creating a valid list of your files on the disk). Search algorithmFor every search term that is found in a file, a file gets one point. Thus if the search string was “really cool perl script”, and the opened file contained the word “really” 0 times, word “cool” 3 times, word “perl” 11 times and word “script” 1 time, the resulting point count would be 15 points. Search engine featuresThe search engine is case-insensitive, thus “pErl”, “Perl”, “perl” and “PERL” would be treated the same. The location of the search engine on the system is not sensitive, as long as it can get get to the valid list of files provided in the fileinfo.txt file. Is it the right one for me?The search engine is optimized to work with the sites containing up to 300 documents, after that level the performance of the engine tends to be slow (since it has to open every file and count the number of points the file gets). By default it searches the documents with “*.htm” extension, but that can be tweaked in the script. How do I exclude files from the search?There is no option to exclude files from the search, if you want them excluded, an option for excluding directories exists in dirscan.pl, if you don’t want a specific file to be indexed, exclude it from fileinfo.txt, and do it every time you run dirscan.pl, which basically re-indexes your system and compiles a new list of valid files. Can I customize the results screen?The results of the search can be published with the header and the footer, to provide HTML customization, the header and footer should be located in ../search/header.txt and ../search/footer.txt, if you don’t need a header and a footer, comment out the function calls print_header() and print_footer() in find.pl. How the results are published?The results are published as the filenames on your Unix machine, not as the titles. DP Tellafriend
Letting visitors recommend your site to others  is a great way of getting more and more visitors. This script uses a standard text-file as template, which not only makes setting it up a lot easier, but also makes changing the “look and feel” of the email very easy.
http//www.hostingsupport.com/dp_tellafriend/tellafriend.html   Just insert your domain name instead of hostingsupport.com. Edit the files “tellafriend.html” and “tellafriend_ok.html”  to make them fit the rest of your website. Please note the 2 hidden fields on “tellafriend.html”:  “resurl”, which tells the script where to send the visitor after sending  the email, and “subject”, which holds the subject/hedaline of the email. Edit the file “tellafriend.txt” in the /dp_tellafriend/scripts directory. The file contains the text used in the email. In the text, you may use a number of special tags as listed below: ##TO_NAME## The name of the receiver ##TO_EMAIL## The email address of the receiver ##FROM_NAME## The name of the person, who sent the email ##COMMENT## The comment (if entered) Also remember to insert your own email address in the line: $from_email = ‘[email protected]’; Now it’s time to get the script ‘on the air’ ! Files:   /dp_tellafriend/tellafriend.html and tellafriend_ok.html /dp_tellafriend/scripts/tellafriend.txt and tellafriend.pl Finally at your main page add a link to “tellafriend.html” and recommendation is on the way. Guardian
Sends email to your default address whenever someone receives any of the following errors when accessing your site. The 4 lines below need to be in a file named .htaccess in your main /www directory. That file needs to have the permission of chmod 644 (rw-r–r–). Note that the Referer feature won’t work unless you have referer logs installed. ErrorDocument 401 /guardian/guardian.cgi?401 ErrorDocument 403 /guardian/guardian.cgi?403 ErrorDocument 404 /guardian/guardian.cgi?404

ErrorDocument 500 /guardian/guardian.cgi?500 Apache Guardian alerts you of the “backdoor” visitors who would otherwise go unnoticed.  Find more info at http://hostingsupport.com/guardian/index.html  (replace hostingsupport.com with your own domain name). NewsPro
http//hostingsupport.com/newspro/newspro.cgi (change to your own domain name)

First time login Username = setup, Password is left blank This takes you to a page to enter your choice of Username, Password and email address. Click continue and complete the setup process. At this stage NewsPro should be fully installed and working. Go back to http//hostingsupport.com/newspro/newspro.cgi and add a news item. The next step it to make your web pages work with NewsPro.

When you Submit News to NewsPro it is stored in a database file. Build News takes the news entries from the database and builds them into web-usable files. If you install addons, you may end up building several files in several different locations, but NewsPro always builds a file called news.txt in your /newspro directory.

news.txt

contains HTML but is not a complete web page and should not be viewed directly in a web browser. It is designed to be included into an HTML page (often your site’s home page).

SSI (server side includes) is used to add the text to your web page. When you include an SSI in your web page, you are telling the server to merge together two separate files before showing your page to the person visiting your site.
In order to use SSI in a web page, you will need to give the page an extension of .shtml rather than .html.
The exact SSI code you use to include news.txt depends on where news.txt is located in relation to the HTML file it is being included it. If both files are in the same directory, use

in your HTML file at the point where you’d like your news to appear.

If your HTML file and news.txt are in different directories, use the relative URL from your HTML file to news.txt. For instance, if the locations of the respective files are http//www.yoursite.com/index.html and http//www.yoursite.com/newspro/news.txt, use

NOTE don’t forget to change the index.html file name to index.shtml (Be sure that you’ve submitted and built news, otherwise there’s nothing to include.) Once news.txt is being generated and included into your page, you should have a working news system set up. If you post a news item, it will appear on your page. NewsPro is capable of much more than this. You can change what your news items look like, you can archive news items and create different categories of news.

For complete documentation see http//amphibianweb.com/newspro/docs/newspro_documentation.html

2B Guestbook


To administer the guestbook, default passwd = “web”.   To change the password modify the file /cgi-bin/2bguest.pl and change the word “web” to one of your own choosing in the line below (note there are two lines like the one below that need to be changed in the file).
$pass = “web”;
hostingsupport.com/cgi-bin/2bguest/2badmin.pl?action=login
To sign/view guestbook
hostingsupport.com/cgi-bin/2bguest/2bguest.pl?action=home Random Link Generator A random link generator with an admin URL used to add and delete links, get the HTML code and test drive the random link. Visitors can also add their own sites through the browser. Change hostingsupport.com to your own domain name in the URLs below. Add a randon link URL: http://hostingsupport.com/rando/add.html Admin URL: http://hostingsupport.com/rando/rando.cgi?123456

Note: To change the password “123456” modify the rando.cgi file in the rando subdirectory

. Random Image Generator URL: http://hostingsupport.com/randomage/randimg.html (change hostingsupport.com to your domain name) Upload pictures to the following directory: /www/user/randomage/pics (.png, .gif and .jpg filetypes are supported) Features:  +Display random images +Can be called via tag This will successfully take a random image from the /randomage/pics directory and display it. +Supports multiple graphic types

+Small filesize

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://hostingsupport.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://hostingsupport.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://hostingsupport.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://hostingsupport.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”.
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: [email protected] 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 [email protected].

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” 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.

Be sure to replace hostingsupport, 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 (hostingsupport.com/cgi-bin/monstercontrols).

They can also be set up or checked manually using the following info.
Assume your domain is “hostingsupport.com”. You need to edit the .redirect file in your home directory. Here is a sample .redirect file for hostingsupport.com: default [email protected] webmaster [email protected] sales [email protected],[email protected]

info [email protected]

That will automatically redirect all [email protected] emails to [email protected], [email protected] to [email protected] AND [email protected], and [email protected] to [email protected]. All others will go to [email protected]. Note that the webmaster line isn’t necessary, but it’s better to specifically redirect it to [email protected]. 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://hostingsupport.com/cgi-bin/monstercontrols).

How do I use the infobots?

Infobots, also called autoresponders can be easily created using “simple autoresponders” in Monstercontrols (http://hostingsupport.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 [email protected], 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 [email protected]. 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 [email protected] The original email message will be sent to [email protected], and the

original sender will get the infobot text.

How do I create a majordomo mailing list?

For full instructions email our autoresponder at [email protected] 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://machine.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://hostingsupport.com/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 = [email protected] From = [email protected] 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 hostingsupport.com

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

What are the basic Frontpage settings?
Assume your domain is hostingsupport.com:

Location to publish to: http://hostingsupport.com

(note if the domain is not active use the IP number that you received) Username:  hostingsupport 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 hostingsupport.com.

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

https://machine.site-secure.net/hostingsupport/anypage.html 

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

http://hostingsupport.com/anypage.html 

Your cgi-bin dir is:

https://machine.site-secure.net/cgi-hostingsupport/ 

*SPECIAL NOTE FOR FORMMAIL.CGI*

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

https://machine.site-secure.net/cgi-bin/formmail.cgi Here's an example:




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://machine.site-secure.net/hostingsupport/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://hostingsupport.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