Basic Server Information and Paths

Most important:

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

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

Where to put Perl/CGI scripts?
/usr/local/psa/home/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

Intel Celeron
1.3 GHz fast
1 Gig RAM
main IP:
216.127.74.21

Administrative Control Panel:

Plesk Server Administrator V. 5.0.5

Software installed:

Admin Apache 1.3.27 Ben-SSL/1.48
PHP 4.2.2 (with GD libraries 1.8.4)

or 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.10-1.3.26
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
OdeiAvir and f-prot or BitDefender (anti-virus prgs.)
MAPS anti-spam (rblsmtpd-0.70)

 



Server Infos:
Systems: linux (Kernel: 2.4.9-31)
Perl version: 5.006
IP address: 216.127.74.21 or 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.0
/usr/lib/perl5/5.6.0/i386-linux
/usr/lib/perl5/site_perl
/usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux
Sendmail: /usr/lib/sendmail
/usr/sbin/sendmail


%ENV
DOCUMENT_ROOT /usr/local/psa/home/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 /usr/local/psa/home/vhosts/YourDomain.com/cgi-bin
SERVER_ADDR 216.127.74.21 or 207.44.194.17
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE Apache/1.3.27 (Unix) mod_perl/1.26 mod_throttle/3.1.2 PHP/4.2.2 FrontPage/4.0.4.3 mod_ssl/2.8.10 OpenSSL/0.9.6f