
Now call
http://localhost/cgi-bin/test.cgi
or
http://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
766
Installation and Administration
Содержание LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 11-05-2007
Страница 1: ...SUSE Linux Enterprise Server www novell com 10 May 11 2007 Installation and Administration...
Страница 14: ......
Страница 19: ...Part I Deployment...
Страница 20: ......
Страница 60: ......
Страница 128: ......
Страница 243: ...Part II Administration...
Страница 244: ......
Страница 274: ......
Страница 312: ......
Страница 348: ......
Страница 380: ......
Страница 381: ...Part III System...
Страница 382: ......
Страница 438: ......
Страница 452: ......
Страница 478: ......
Страница 486: ......
Страница 498: ......
Страница 512: ......
Страница 558: ......
Страница 559: ...Part IV Services...
Страница 560: ......
Страница 652: ......
Страница 670: ......
Страница 742: ......
Страница 754: ......
Страница 796: ......
Страница 817: ...Part V Security...
Страница 818: ......
Страница 858: ......
Страница 886: ......
Страница 910: ......
Страница 911: ...Part VI Troubleshooting...
Страница 912: ......
Страница 924: ......