Preinstalled Scripts |
Auction Banner Wheel Industrial Boutique Click and Go Counter 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. http://hostingsupport.com/manual/addons.html#Order and http://miva.com 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. 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
Web-based Mail: web-based email 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. http://hostingsupport.com/manual/cgib.html#2
Cgiemail is a form processing script that takes the contents of fill-in boxes on a form and mails them to a specified address. That woudl simply call the program from a Server Side Include and the Random Text woud appear in that location on your web page. 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.
Click and Go 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. 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 This will display the first question of the expert quiz. DP Market The search engine receives the input from the CGI form and processes the required files in order to find the search terms. 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 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
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.
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.
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.
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).
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).
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