beautypg.com

Enabling ssl, Enabling php – Apple Mac OS X Server (Administrator’s Guide) User Manual

Page 357

background image

Web Service

357

5

Choose the server response from the pop-up menu, or type the file type in the Return MIME
Type field.

If you return a CGI, make sure you’ve enabled CGI execution for the Web site.

6

Click Save, then restart Web service.

Enabling SSL

Before you can enable Secure Sockets Layer (SSL) protection for a Web site, you have to
obtain the proper certificates.

For more information see “Setting Up Secure Sockets Layer (SSL) Service” on page 361.

To set up SSL for a Web site:

1

In Server Settings, click the Internet tab.

2

Click Web and choose Configure Web Service.

3

Click the Sites tab.

4

Select a site and click Edit.

5

Click the Security tab, then select Enable Secure Sockets Layer (SSL).

6

Click each button in the Security pane and paste the contents of the appropriate certificate
or key in the text field for each. Click Save before going on to the next button.

7

Type the location of the SSL log file in the SSL Log File field.

You can also click the Select button and browse for the folder you want to use.

If you are administering a remote server, file service must be running on the local machine to
use the Select button.

8

Click Save, then restart Web service.

Enabling PHP

PHP (PHP: Hypertext Preprocessor) is a scripting language embedded in HTML that is used to
create dynamic Web pages. PHP provides functions similar to those of CGI scripts, but supports
a variety of database formats and can communicate across networks via many different
protocols. The PHP libraries are included in Mac OS X Server, but are disabled by default.

See “Installing and Viewing Web Modules” on page 365 for more information on PHP.

Note: Enabling PHP requires making changes to UNIX configuration files in the Terminal
application. To enable PHP, you must be comfortable with typing UNIX commands and using
a UNIX text editor.

This manual is related to the following products: