Questions:
- Need to know the
default path of perl5 and sendmail, please advise.
- Absolute
Paths to Date, Mail, Perl, etc.
Answers:
- Need to know the default path of perl5 and sendmail, please
advise.
CGI scripts often require paths to common server
resources. These paths are as follows:
(puts you in your web directory) (puts you in your cgi-bin)
Sendmail: /usr/lib/sendmail
Perl5.00404: /usr/local/bin/perl
Date: /bin/date
Java: /usr/bin/java
Python: /usr/bin/python
Absolute Domain path: /home/your_username
Absolute Cgi-bin path:
/home/your_username/yourdomain-www/cgi-bin
YOU CAN CHECK THESE BY LOGGING INTO YOUR CONTROL PANEL, AND CHOOSING
FILE MANAGER
- Absolute Paths to Date, Mail, Perl, etc.
CGI scripts often require paths to common server
resources. These paths are as follows:
(puts you in your web directory) (puts you in your cgi-bin)
Sendmail: /usr/lib/sendmail
Perl5.00404: /usr/local/bin/perl
Date: /bin/date
Java: /usr/bin/java
Python: /usr/bin/python
Absolute Domain path: /home/your_username
Absolute Cgi-bin path:
/home/your_username/yourdomain-www/cgi-bin
YOU CAN CHECK THESE BY LOGGING INTO YOUR CONTROL PANEL, AND CHOOSING
FILE MANAGER
|