Now call http://localhost/cgi-bin/test.cgi or
http://www.example.com/cgi-bin/test.cgi. You should see the "CGI/1.0
test script report".
40.5.3 Troubleshooting
If you do not see the output of the test program but an error message instead, check the
following:
CGI Troubleshooting
• Have you reloaded the server after having changed the configuration? Check with
rcapache2 probe.
• If you have configured your custom CGI directory, is it configured properly? If in
doubt, try the script within the default CGI directory /srv/www/cgi-bin/ and
call it with http://localhost/cgi-bin/test.cgi.
• Are the file permissions correct? Change into the CGI directory and execute the
ls -l test.cgi. Its output should start with
-rwxr-xr-x
1 root root
• Make sure that the script does not contain programming errors. If you have not
changed test.cgi, this should not be the case, but if you are using your own programs,
always make sure that they do not contain programming errors.
40.6 Setting Up a Secure Web Server
with SSL
Whenever sensitive data, such as credit card information, is transferred between Web
server and client, it would be desirable to have a secure, encrypted connection with
authentication. mod_ssl provides strong encryption using the secure sockets layer (SSL)
and transport layer security (TLS) protocols for HTTP communication between a client
and the Web server. Using SSL/TSL, a private connection between Web server and
client is established. Data integrity is ensured and client and server are able to authenti-
cate each other.
The Apache HTTP Server
773
Need help?
Do you have a question about the LINUX ENTERPRISE SERVER 10 SP2 - INSTALLATION AND ADMINISTRATION and is the answer not in the manual?