![]() |
||||||||
![]() |
||||||||
![]() |
![]() |
![]() |
![]() |
![]() |
||||
![]() |
||||||||
Products | Support | Download | Contact | |||||
![]() |
Contents | Index | About the Icons
A short Zen-like test which verifies that your web server has been properly configured to run the ScriptServer® PAN Printing System.
Motivations and instructions for configuring Apache are given in Technical Memo 99: Apache Considerations when Installing ScriptServer PAN as well as in the installation readmes.
ScriptServer PAN requires the ability to execute CGI scripts and programs. For security reasons, Apache requires that this be turned on on a case by case basis.
In particular, PAN is usually installed under its own account. The group membership of this account is dependent on whether or not suexec is configured (and utilized) in Apache.
This test is borrowed from the standard protocol for installing PAN on RedHat 7/SuSE 8 Linux systems. This test will:
cgi-bin
subdirectory of that directory is
properly configured to execute CGIs; and... all in one simple experiment.
su
or log in to the pan accountIn server-directory/cgi-bin
, create the following file
called test.cgi
:
#!/bin/sh
echo "Content-type: text/plain"
echo ""
echo "It works," `whoami`
exit 0
chmod a+x test.cgi
http://
server-name/
server-directory/cgi-bin/test.cgi
with your web browser.Your browser should display the following, verbatim:
It works,
somebody
where somebody is either the pan account or the web server account.
NOTE: If suexec is not enabled, be sure to put the pan account in the same group as the web server account before proceeding with the installation!
(Variations on this technique can be used to test other operational parameters.)
© 2020 GrayMatter Software Corporation | ![]() |
Privacy policy | ![]() |
Terms of use |