Each domain name hosted on our system has a "home directory". Within this directory, you store all the HTML files, images, scripts, databases and any other content associated with your website.
When logged into the home directory of one of your domains using FTP you will see the following folders:
|htdocs ||This is the folder that the website for the domain name points to. Inside this folder, you should place your index.htm file as well as any other HTML files, scripts and images that make up your website. |
This folder is for advanced users. Scripts running on your site have access to this folder but the folder is not directly accessible form the web. You should place any databases your site uses in this folder.
If you are using Password Protection for one of your websites, this folder is good place to put your password text file.
|logfiles||Every time someone visits your site, the system updates the current log file for your website. Your log files are stored in this folder and you can download them and delete them as you wish.|
Writing your own server side scripts
In order to use scripts on your website, you must first have scripting enabled. Contact the Webmaster to enable scripting for you.
When writing or configuring scripts, such as Perl scripts or ASP scripts for your website you may need to know the full physical path to your website's home directory. This path is as follows:
x = the first letter of the domain name
domainname is your domain name (without the 'www').
If you are on an Envisage Linux domain the path is:
(You should use PHP info to get the correct path)
Please note that PERL and CGI files will ONLY execute in the cgi-bin directory. They will not run outside this directory structure. They must be uploaded with a .pl or .cgi file extension.
Before you upload your scripts to /htdocs/cgi-bin you should first make sure that your FTP client has been set to ASCII mode for file uploads. For information on how to do this consult the documentation for your FTP client.
The path to PERL is not necessary on the Church of Ireland servers since Active State PERL is used.