Podpora
> CGI
Our
UNIX servers have the capability to run CGI
scripts written in Perl. There are a number
of free scripts which you can install automatically
using the CGI Scripts page, alternatively you
can use your own custom scripts.
Using
Custom CGI Scripts
If you have a custom CGI script that you need
use, simply upload it using FTP to the 'cgi-bin'
directory. All CGI scripts must be placed in
the cgi-bin directory and must have an extension
of .cgi or .pl. Ensure that your FTP program
uploads the file in ASCII mode and be sure to
set the correct file permissions using the 'chmod'
command from within your FTP client.
System
Information
The following parameters may be required when
configuring CGI scripts to run on our servers.
If you require any more information regarding
the configuration of our servers please contact
us.
Parameter
Value
Path To Perl /usr/bin/perl
Perl Version 5
Path To Sendmail /usr/sbin/sendmail
Path To PGP /usr/local/bin/pgp
PGP Version 5
Path To Date /bin/date
Path To Your Webspace The path to the web space
for an account is dependant on the account username,
for an account with the username 'joebloggs'
the path to it's web space would be:
/home/j/o/joebloggs/public_html
'j' and 'o' being the first and second characters
of the username 'joebloggs'.
Note that the path to your home directory is
different when you call a CGI script from the
SSL secure server.
Perl
Modules
All modules included in the standard perl distribution
and DBI drivers for mySQL are installed on our
servers.
Debugging
CGI Scripts
If you see a '500 Internal Server Error' page
when you attempt to run your CGI script, you
have an error with your code or a misconfiguration.
The information in your site Error Log may help
you solve the problem.
Technical
Support On CGI Scripts
Please note that we cannot provide technical
support on third party CGI scripts, problems
with a third party CGI script should be referred
to the script vendor.
Notes
on CGI Scripts
Please note that chat/IRC, web proxy and mailing
list scripts are not allowed on our network
under any circumstances. See our Acceptable
Use Policy for more information.
|