Basic Server Information and Paths

Most important:

Into which directory do your Website's HTML and image files go?
/home/httpd/vhosts/YourDomain.com/httpdocs

(This is equivalent to the "public_html" folder on many other servers.)

Where to put Perl/CGI scripts?
/home/httpd/vhosts/YourDomain.com/cgi-bin

In other words, the CGI-BIN folder is outside the main folder.
PLEASE NOTE: You can execute CGI scripts in any directory, not just the cgi-bin directory !


What is the path to Perl?
/usr/bin/perl
In most CGI scripts the standard path line is therefore:   
#!/usr/bin/perl

And the path to sendmail?
/usr/lib/sendmail
/usr/sbin/sendmail

 

SERVER DETAILS:

Intel Pentium 4
2.0 GHz fast
512 MB RAM
main IP: 207.44.194.17


Administrative Control Panel:

Plesk Server Administrator V. 6.0.2

Software installed:

Admin Apache 1.3.27
PHP 4.3.1 (with GD libraries 2.0+)
ionCube PHP Accelerator 1.3.3r2
FrontPage 2000/2002 support
apache-SSL 1.3.27
mod_perl 1.26
mod_ssl 2.8.12
Suexec
apache-ASP 2.33
MySQL 3.23.55
mod_throttle 3.1.2
libiodbc - 3.0.5
libmcrypt - 2.2.7
mm library 1.2.1
phpMyAdmin_2.2.6
imap-2002.DEV
webalizer-2.01-06
horde v. 2.0
BIND 9.2.1
OpenSSL 0.9.6f
ProFTPD 1.2.4
Webalizer 2.01-09
Qmail 1.03
Courier_IMAP 1.4.6
stunnel 3.22
Webmail: IMP 3.1
Web based file manager
Mailman 2.x
mod_python/2.7.8 Python/1.5.2
OdeiAvir and f-prot or BitDefender (anti-virus prgs.)
MAPS anti-spam (rblsmtpd-0.70)

 



Server Infos:
Systems: linux (Kernel: 2.4.18-24.7.x)
Perl version: 5.006001
IP address: 207.44.194.17


Paths:
Path to perl: /usr/bin/perl
Grep: /bin/grep
Date: /bin/date
Whois: /usr/bin/whois
Ping: /bin/ping
Nslookup: /usr/bin/nslookup
Finger: /usr/bin/finger
Tar: /bin/tar
Gzip: /usr/bin/gzip
Gunzip: /usr/bin/gunzip
ls: /bin/ls
sh: /bin/sh
ImageMagick convert:
Modul-Verz. (@INC): .
/usr/lib/perl5/5.6.1
/usr/lib/perl5/5.6.1/i386-linux
/usr/lib/perl5/site_perl
/usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i386-linux
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/vendor_perl/5.6.1
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux
Sendmail: /usr/lib/sendmail
/usr/sbin/sendmail
/var/qmail/bin/qmail-inject
/usr/lib/sendmail
/usr/sbin/sendmail
/var/qmail/bin/qmail-inject


%ENV
DOCUMENT_ROOT /home/httpd/vhosts/YourDomain.com/httpdocs
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT */*
HTTP_ACCEPT_LANGUAGE en
HTTP_CONNECTION Keep-Alive
HTTP_EXTENSION Security/Remote-Passphrase
PATH /usr/local/bin:/usr/bin:/bin
PWD /home/httpd/vhosts/YourDomain.com/cgi-bin
SERVER_ADDR 207.44.194.17
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE Apache/1.3.27 (Unix) (Red-Hat/Linux) FrontPage/5.0.2.2623 mod_python/2.7.8 Python/1.5.2 mod_ssl/2.8.12 OpenSSL/0.9.6b PHP/4.3.1 mod_perl/1.26 mod_throttle/3.1.2