|
Script Configuration
Q:Can I have CGI and ASP and Perl on my Website?
A: Spirit Hosting will set up your account to have custom CGI abilities. But since this is running in an NT or Windows 2000 environment, you need to obtain CGI-Script written for specifically NT or Windows 2000.
Also supported is ASP, ASP.net (in some packages) and Perl Script.
Q: Do my scripts require e-mail authentication?
A: Yes, all of our SMTP servers require authentication:
SMTP: Use smtp.youraccountdomain.com
Authentication example:
Mail.Host = "smtp.youraccountdomain.com" ' Specify a valid SMTP server
Mail.Username = "admin@youraccountdomain.com" 'Specify the valid use account here
Mail.Password = "xxxxx" ' Specify you actual user password here
Q: What are the paths to set up scripts for my Website?
A: Supported are both CGI and Perl Scripts:
Unix:
remember perl and cgi is run under /cgi-bin folder and you will run the scripts residing in the secure directory referenced to the regular CGI folder.
#!/usr/bin/perl
full path: /home/webuser/domainname.com/cgi-bin
full path: /home/webuser/domainname-com/public_html
Unix URL is http://www.yourdomain.com/cgi-bin/ or ./cgi-bin
Sendmail Path: /usr/sbin/sendmail
NT:
NT Physical Path
/home/webuser/yourdomain.com/cgi-bin
or
e:/webuser/web/yourdomain.com/
NT URL is http://www.yourdomain.com/cgi-bin/ or ./cgi-bin
#!/usr/local/bin/perl
Sendmail not available with NT
|