Merchant Accounts - Accept Credit Cards Online

asp
Main
Menu
Web Hosting ASP and ASP.NET

ASP Scripting

 
Note: You can use either ASP or .NET, However, you can not use both of them at the same time.

To enable either ASP or .NET
1. Login to Account Manager
2. Click on "Hosting Accounts"
3. Click on the "WebSite Manager" button next to your hosting domain name
    to launch your WebSite Manager Control Panel.
4. On the top left corner of the  WebSite Manager Control Panel page,
    click on "Site Builders" from the menu.
5. Then click on "ASP / CFM Enabler"
6. Select the "ASP" tab.
7. Check either "standard" or "Secure (SSL)" depending on which you will be using.
   
Note: To enable ASP using the "standard" option, you must have at least one ASP file in the "public" directory first.
    To enable ASP using the "Secure (SSL)" option, you must have at least one ASP file in the "secure" directory first.
8. Click on "Ok/Apply"


What is the DSN connection string for ASP to use with databases:
DSN connection for MS Access:

Set conn = Server.CreateObject("ADODB.Connection")
conn.open "DSN=prefix_domain_com"

DSN connection for MySQL:
Set conn = Server.CreateObject("ADODB.Connection")
conn.open "DSN= prefix_domain_com;UID=dbm.domain.com;PWD=password"


What is the DSN-less connection strings for ASP to use with databases:
DSNless connection for MS Access:

mdbfile = "/stuff/database.mdb"
connstr = "Driver={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPah( mdbfile ) & ";"
 
DSNless connection for MySQL:
Driver={MySQL};Server=sqlc1.megasqlservers.com;DATABASE=prefix_domain_com;
UID=dbm.domainname.com;PWD=password;


Where to upload ASP scripts:
Upload your asp programs to the "public" directory folder.

What is the path to the SendMail Program?
/usr/sbin/sendmail

What is the absolute path to: (Use the following format, but do not take it literally!)
cgi-bin directory:  /services/webpages/
FirstCharacterOfDomain/SecondCharacterOfDomain/your-domain.com/cgi-bin/
public  directory:  /services/webpages/
FirstCharacterOfDomain/SecondCharacterOfDomain/your-domain.com/public/
private directory:  /services/webpages/
FirstCharacterOfDomain/SecondCharacterOfDomain/your-domain.com/private/

access_log:

/services/webpages/
FirstCharacterOfDomain/SecondCharacterOfDomain/your-domain.com/logs/access_log

Just as an example using domain name:  HostSite.com
The absolute path to the cgi-bin directory for this case would be:
/services/webpages/h/o/hostsite.com/cgi-bin/

Follow the example format for hostsite.com to derive the absolute paths for your own hosting domain name.

 

Submit A Support Request and Get An Answer Back Quick. Try it!

Click the Checkbox to Help Us Verify:  
Question Regarding Subject:  
Enter the question you want to ask us:
(remember to include your domain name if applicable)
 
Provide your email address so that
we can reply to your question.
Your Email Address:
Please provide an optional phone number
in case we need to contact you for clarification.
Your Phone Number: