| We at Primus Infocom are committed to
provide you the best and the latest tools and technology related
to hosting. We always keep on upgrading our servers with time
and make sure that our clients don’t get hampered and
at the same time make full use of these upgrades. In Case
if you have any query, please mail us at support@primusinfocom.net
Microsoft FrontPage 2000
Microsoft FrontPage is a WYSIWYG
(What You
See Is
What You
Get) editor. One of the best
HTML editors. It is easy to use. You can create, edit, and
modify your HTML, ASP, txt, etc page directly on the server.
Our servers both Linux and Windows 2000 support Microsoft
FrontPage2000.
Statistics
Log files give an accurate picture of who is coming to your
site, what they viewed at your site, and where they came from.
Each domain is given its own log file. Using the Web Control
Panel, you
can see the web statistics for each domain.
CGI-BIN
Every webmaster has heard about CGI. CGI lets you run a program
on the server. Comment forms, message boards, and web counters
are some of the common uses for CGI. While not as fast as
ASP, CGI is still the preferred option by many webmasters.
Our Web Hosting has support for Perl
(UNIX), Visual Basic 4, and Visual Basic 5 scripts.
Unix based Perl scripts
ALL Unix Perl scripts will work at with our servers.
- You will need to chmod to 755
- Perl Path /usr/bin/perl
- Some pathnames will need to be changed,
since the directory structures of might differ UNIX.
- Perl scripts must end in .pl or .cgi
- $mailprog = '/usr/sbin/sendmail';
Form to Email Tutorial
Quick Overview
A very common task for many websites is a form that submits
its results to an email account. We commonly refer to this
task as form to email. There are several ways to add form
to email to your website(s) hosted with us. You can use Perl(Unix),
ASP, or Cold Fusion to accomplish the task. Here we will explains
how to send email using each of those three popular technologies.
Perl based form to email
One of the most popular tools for accomplishing the form
to email task is formmail.pl
- CHMOD scripts to 755. Just place them
in the cgi-bin directory or any other.
- Perl path /usr/bin/perl.
- Some pathnames will need to be changed,
since the directory structures may differ.
- Perl scripts must end in .pl or .cgi
- $mailprog = '/usr/sbin/sendmail';
ASP based form to email
At Windows based hosts , ASP can be used to accomplish the
task of form to email. We do not promote CDONTS. For sending
email via ASP, we support ASPEmail and OXCMAil. Here is a
code sample for sending email from an ASP page.
<%
Set Mailer = Server.CreateObject("ASPMAIL.ASPMailCtrl.1")
recipient = Request.Form("recipient")
sender = Request.Form("sender")
subject = Request.Form("subject")
message = Request.Form("messageline1")
message = message & vbCRLF
message = message & vbCRLF
message = message & Request.Form("messageline2")
' insert your mail server here
mailserver = "your.mailserver.com"
result = mailer.SendMail(mailserver, recipient, sender, subject,
message)
%>
<% If "" = result Then %>
Mail has been sent.
<% Else %>
Mail was not sent, error message is
<H2>
<%= result %>
</H2>
<% End If %>
for more details please see http://www.flicks.com/ASPMail/intro.htm
Cold Fusion based form to email
If you prefer to code your pages in Cold Fusion, you can
use Cold Fusion to accomplish the task of form to email. Cold
Fusion uses the CFMAIL command to send email. The following
code could be used within a Cold Fusion page to send email.
<CFMAIL FROM="#MailFrom#" TO="#MailTo#"
SUBJECT="#Subject#">
#MailMessage#
</CFMAIL>
Important Things to Consider
When sending email for web site hosted with us, Our email
servers will not allow email to relay unless the FROM or TO
address in the email is a valid local email address. If your
form to email page appears to work, but the email never arrives
at the destination, check to make sure either the FROM or
TO address is a valid local email address or not.
In the ASP based form to email example, we list 127.0.0.1
as the outbound SMTP server to use. Each web server has a
simple outbound SMTP relay installed. For optimal effeciency
and reliability, we strongly urge you to use 127.0.0.1 as
the outbound SMTP server in your scripts instead of mail.yourname.com
or IP Address. By default, sendmail and Cold Fusion also use
127.0.0.1.
Please remember that our email servers are not to be used
as spam cannons. Do not write a script that sends lots of
spam. Sending spam through our servers wastes CPU time and
bandwidth, and can degrade performance. Any script being used
to cannon spam will be instantly removed without any warning.
Active Server Pages Enabled
ASP is a powerful server side scripting language that you
can use at no additional charge. ASP was originally developed
at Microsoft for use with their freeware IIS web server package,
but it is also supported by WebSite Pro 2.x, which is used
with our servers. ASP is a powerful tool for creating dynamic
content, and for connecting to ODBC databases. Documents that
have the .asp
extension will be processed as an ASP document.
ASP can connect to databases, dynamically format the page,
execute complex logic statements, and much more. Our Servers
supports the use of VBScript, JavaScript, and PerlASP(Unix)
within Active Server Pages with VBScript set as the default
scripting language.
You can easily build form to email solutions using ASP. All
of the servers cluster have both ASPEmail and JMail components
installed, so you can use those in your ASP pages.
We does not and will not help debug ASP scripts. If you cannot
get your ASP scripts to work properly, consult the Microsoft
website or one of the readily available books about ASP.
We support Perl ASP on our Unix Servers
Online ASP Help
http://www.microsoft.com/
http://www.aspdeveloper.net/
http://www.15seconds.com/faq/
Cold Fusion 5 Enterprise Enabled
Cold Fusion is a powerful server side scripting language
that you can use at no additional charge. Cold Fusion is an
excellent tool for creating dynamic content, and for connecting
to ODBC
databases. It is similar to Active Server Pages.
To use Cold Fusion, the page must
have a .cfm filename extension.
Cold Fusion can connect to databases, connect to remote web
servers, dynamically format the page, add the current date
to an existing page, show the time on a page, execute complex
logic
statements, and much more. We currently have Cold Fusion Enterprise
5 installed on our servers.
Disabled Tags
CFFile, CFDirectory, CFRegistry, and CFObject are disabled
for security reasons. We do not allow any 3rd party Cold Fusion
tags.
Cold Fusion Help
Your local book store should have several good books about
Cold Fusion programming.
SSL - Secure Sockets Layer
SSL certificates offer a secure method for transmitting and
receiving sensitive information (such as credit card numbers,
medical documents, legal writings, and similar). When your
website
is ready for e-commerce, an SSL certificate will be one peice
of the overall e-commerce solution.
Premium Level Accounts can requests SSL certificates for
websites. There is no monthly cost for using SSL. We charges
a US$100 setup for each SSL Certificate Request file. Thawte
(or Verisign) will also charge a setup fee for issuing the
SSL Ceritificate.
To get SSL setup on your website,
follow these simply steps:
- Log into the web control panel
- Create a site called secure.domainname.com
that maps to the same physical directory as www.domainname.com
and domainname.com
- Select Request SSL Certificate from
the main menu of the web control panel
- Enter the appropriate information
into each field in the form
- We will generate an SSL Certificate
Request file based on the information that you enter into
the form
- Once we had generated the request
file, you can copy the request file from the SSL Management
section of the web control panel and then use the request
file to request an SSL certificate from Thawte or Verisign
- Once Thawte or Verisign has created
an SSL Certificate based on the request file, you need to
paste the SSL Certificate into the SSL Management section
of the web control panel.
- Then we will attach the certificate
from Thawte or Verisign
- Once the SSL certificate is attached,
you can use SSL within your site by connecting to https://secure.domainname.com/
Server Side Includes
You can use simple SSI tags within pages to automate many
frequent server side functions, such as including a common
toolbar within multiple pages. Server side include tags can
be used within any pages that have the .shtml filename extension.
List of SSI configuration tags
<!--#config timefmt="%c"
use short date/time -->
<!--#config sizefmt="%d bytes"-->
<!--#config errmsg="##ERROR!##"-->
List of some possible
SSI tags
<!--#daycnt-->
<!--#totcnt-->
<!--#lastzero-->
<!--#exec cgi="/cgi-bin/ssibanner.exe"-->
<!--#include file="ssi-incl.txt"-->
<!--#fsize file="ssi-incl.txt"-->
<!--#flastmod file="ssi-incl.txt"-->
<!--#echo var="DOCUMENT_NAME"-->
<!--#echo var="DOCUMENT_URI"-->
<!--#echo var="LAST_MODIFIED"-->
<!--#echo var="QUERY_STRING"-->
<!--#echo var="QUERY_STRING_UNESCAPED"-->
<!--#echo var="DATE_LOCAL"-->
<!--#echo var="DATE_GMT"-->
<!--#echo var="SERVER_SOFTWARE"-->
<!--#echo var="SERVER_NAME"-->
<!--#echo var="SERVER_PROTOCOL"-->
<!--#echo var="REQUEST_METHOD"-->
<!--#echo var="REMOTE_HOST"-->
<!--#echo var="HTTP_ACCEPT"-->
<!--#echo var="HTTP_USER_AGENT"-->
<!--#echo var="REFERER"-->
<!--#echo var="BOGUS"-->
Java Servlets
We host Java Servlets and JSP. The control panel will allow
resellers to set this up
PHP
PHP4 Support Is Enabled on all Unix servers.
|