|
CGI Path & Settings
What are the files and folders in my root directory?
How do I run my own cgi programs?
How do I use cgiemail and Formmail?
What are the incoming POP and outgoing SMTP mail settings
?
What is the correct path to perl (and other programs) ?
What are your domain paths ?
What are the basic Fronpage settings ?
What are the files and folders in my root directory
?
public_html................This is your web directory. Place all your
web files in there.
www................This is the same directory. They are aliased/linked
to each other.
public_ftp................This is your anonymous ftp directory. Users
can only download from this directory the files that you place there.
public_ftp/incoming................This is the anonymous user upload
area.
public_html/webstore................This is the WebStore Shopping Cart
directory.
public_html/webstore4................This is the WebStore 4.0 Shopping
Cart directory.
_private................ This is part of MS Frontpage Extensions. DO
NOT TOUCH.
_vti_*................ These are parts of MS Frontpage Extensions. DO
NOT TOUCH.
public_html/cgi-bin................This is your cgi-bin directory. Put
all of your own scripts here. This is not the location of the
preinstalled scripts.
cpanel..........This is your Control Panel. DO NOT TOUCH. You may
utilize the control panel thru: http://www.bes1.com/cpanel
.xfm..........This is your part of your Control Panel. DO NOT TOUCH.
You may utilize the control panel thru: http://www.bes1.com/cpanel
.lists..........This is your Mailing List information. DO NOT TOUCH.
You may utilize the control panel thru: http://www.bes1.com/cpanel
.mail..........This is your Mail information. DO NOT TOUCH. You may
utilize the control panel thru: http://www.bes1.com/cpanel
[Top]
How do I run my own CGI programs ?
Put your CGI programs in the cgi-bin directory. The
cgi-bin should automatically change the permissions to chmod 755 for
you. The location of preinstalled scripts is /cgi-sys. [Top]
How do I use cgiemail and Formmail ?
CGIemail:This is a program that will email you
the forms filled out from the web.
Please use formmail.cgi while we rewrite the section on CGIemail.
Formmail is a very easy to use form processor,
simply place the following on any page after entering your domain.
<FORM METHOD=POST ACTION="cgi-sys/FormMail.cgi">
<input type=hidden name="recipient" value="sales@yourdomain.com">
<input type=hidden name="subject" value="Order">
<input type=hidden name="redirect" value="http://yourdomain.com/">
Be sure to replace yourdomain, with your real domain name.
You can view a sample form at
www.mybes.com/testform.htm .
If you want to copy the html code, just choose "View" from your web
browser then
"Source". Copy all the code and paste them into your html editor.[Top]
What are the incoming POP and outgoing SMTP mail
settings?
Assume your domain is fred.com
Smtp = mail.bes1.com
pop = mail.bes1.com
username = username@fred.com
from = anyname@fred.com
passwd = was chosen in "pass" field of control panel pop setup [Top]
What is the correct path to perl(and other
programs)?
Sendmail: /usr/sbin/sendmail
Perl: /usr/bin/perl
Date: /bin/date
Whois: /usr/bin/whois
Web directory: /home/username/www
Cgi-bin: /home/username/www/cgi-bin
perl5: /usr/bin/perl
perl5.003: /usr/bin/perl5.003
perl5.004: /usr/bin/perl5.004
sendmail: /usr/sbin/sendmail
date: /bin/date
java: /usr/bin/java
python: /usr/bin/python [Top]
What are your domain paths ?
using example if your domain was fred.com
- Main dir: /home/fred/public_html/
- Cgi-bin: /home/fred/public_html/cgi-bin [Top]
What are the basic Frontpage settings?
Assume your domain is fred.com
location to publish to: fred.com (note if the domain is not active use
the ip# we assigned)
FTP server name: fred.com
Directory path: /home/fred/public_html/
or
Directory path: /fred/public_html/
Username: fred
Passwd: As-sent-to-you or try normal one. [Top]
|