Apple Mac OS X Server Spécifications Page 1

Naviguer en ligne ou télécharger Spécifications pour PC/postes de travail Apple Mac OS X Server. Apple Mac OS X Server Specifications Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 88
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
Mac OS X Server
Web Technologies Administration
Version 10.6 Snow Leopard
Vue de la page 0
1 2 3 4 5 6 ... 87 88

Résumé du contenu

Page 1 - Mac OS X Server

Mac OS X ServerWeb Technologies AdministrationVersion 10.6 Snow Leopard

Page 2

10 Preface About This GuideViewing PDF Guides OnscreenWhile reading the PDF version of a guide onscreen:Show bookmarks to see the guide’s outl

Page 3 - Contents

Preface About This Guide 11Getting Documentation UpdatesPeriodically, Apple posts revised help pages and new editions of guides. Some revised he

Page 4 - 4 Contents

12Use this chapter to become familiar with web technologies and to understand the major components before setting up web services and sites.Web serv

Page 5 - Contents 5

Chapter 1 Web Technologies Overview 13When conguring Web service, make sure your DNS server is properly congured, and if you are going to requ

Page 6 - 6 Contents

It is possible to write CGI scripts in several scripting languages, including Perl and Python. The folder /Library/WebServer/CGI-Executable is the def

Page 7 - About This Guide

Chapter 1 Web Technologies Overview 15Providing Secure TransactionsTo provide secure transactions on your server, set up SSL protection. SSL let

Page 8 - Using Onscreen Help

Understanding WebDAVIf you use WebDAV to provide live authoring on your website, you must create realms and set access privileges for users. Each sit

Page 9 - Documention Map

Chapter 1 Web Technologies Overview 17Dening RealmsWhen you dene a realm, which is typically a folder (or le system), the access privileges y

Page 10 - Printing PDF Guides

Web Server Responses (Content Handlers)When a le is requested, the web server handles the le using the response specied for the le’s sux. Respons

Page 11 - Getting Documentation Updates

19Use this chapter to learn how to use Server Admin to set up Web service and to manage web settings and components.Mac OS X Server combines the l

Page 12 - Web Technologies Overview

Apple Inc. K© 2009 Apple Inc. All rights reserved.The owner or authorized user of a valid copy of Mac OS X Server software might reproduce this public

Page 13 - Key Web Features

Step 7: Congure web services.Use Web service settings to set up common settings shared between wikis, blogs, web calendars, and web-based mailing lis

Page 14 - Conguring Your Web Server

Chapter 2 Working with Web Service 21Conguring Web Service General SettingsYou use the General settings pane in Web service to congure web ser

Page 15 - Hosting More Than One Website

From the command line:To view a setting: m$ sudo serveradmin settings web:settingTo view a group of settings: m$ sudo serveradmin settings web:IFModul

Page 16 - Understanding WebDAV

Chapter 2 Working with Web Service 23The server’s default MIME type is text/html, which species that a le contains HTML text.The web server is

Page 17 - Dening Realms

Conguring Web Service Proxy SettingsYou use the Proxy settings pane in Web service to congure a forward proxy. A forward proxy is located between th

Page 18

Chapter 2 Working with Web Service 25 5 Select the Enable Forward Proxy checkbox.If a forward proxy server is enabled, each site on the server

Page 19 - Working with Web Service

Conguring Web Service Modules SettingsYou use the Modules settings pane in Web service to congure the web modules your server will use.The Web servi

Page 20 - Setting Up Web Service

Chapter 2 Working with Web Service 27 7 In the SMTP Relay eld, click Congure and enter the name of the server used to deliver email noticati

Page 21

Managing Web ServiceThis section describes typical day-to-day tasks you might perform after you set up Web service on your server. Initial setup info

Page 22 - A Web service setting

Chapter 2 Working with Web Service 29Viewing Web Service LogsUse Server Admin to view the error and access logs for Web service, if you enabled

Page 23

7 Preface: About This Guide7 What’s New in Web Service7 What’s in This Guide8 Using Onscreen Help9 Documention Map10 Viewing PDF Guides Onscree

Page 24

For information about serveradmin, see its man page. For the basics of command-line tool usage, see Introduction to Command-Line Administration.Viewin

Page 25 - $ sudo mkdir /var/run/proxy

Chapter 2 Working with Web Service 31Performance TuningYou can limit the period of time that users are connected to the server. You can also spe

Page 26

Setting Persistent Connections for the Web ServerYou can set up your web server to respond to multiple requests from a client computer without closing

Page 27 - Starting Web Service

33Use this chapter to create and manage websites that are hosted on your web server.With Web service congured and your web server running, you ca

Page 28 - Managing Web Service

Step 3: Assign privileges for your website.The Apache processes that serve webpages must have Read access to les and Read/Execute access to folders.

Page 29 - Viewing Web Service Logs

Chapter 3 Creating and Managing Websites 35Step 6: (Optional) Congure website Apache options.Use the Sites Options pane to congure Apache web

Page 30 - Stopping Web Service

Setting Up Your WebsiteThe following sections provide instructions for setting up your website.Setting Up the Web FolderTo make les available through

Page 31 - Performance Tuning

Chapter 3 Creating and Managing Websites 37WARNING: Do not try to access the server through the direct ports. Instead, allow your access to be

Page 32

Conguring Website Apache OptionsThe default page appears when a user connects to your website by specifying a folder or host name instead of a le na

Page 33 - Website Setup Overview

Chapter 3 Creating and Managing Websites 39Using Realms to Control AccessYou can use realms to control access and provide security to locations

Page 34

4 Contents19 Chapter 2: Working with Web Service19 Setup Overview20 Turning Web Service On20 Setting Up Web Service21 Conguring Web Servic

Page 35

9 Enter the realm location or folder you are restricting access to:Choose Location from the pop-up menu and enter a URL to the location in the Âweb

Page 36 - Setting Up Your Website

Chapter 3 Creating and Managing Websites 41To enable access and error logs for a website: 1 Open Server Admin and connect to the server. 2 Cli

Page 37 - Setting the Default Webpage

Enabling Secure Sockets Layer (SSL)Secure Sockets Layer (SSL) provides security for a site and its users by authenticating the server, encrypting info

Page 38

Chapter 3 Creating and Managing Websites 43 4 Click Sites, then select the website in the list. 5 Click Security below the websites list. 6 I

Page 39

For example, you could set up a redirect so that if the user enters a URL such as www.example.com/images/boats.jpg and the site has an images folder c

Page 40

Chapter 3 Creating and Managing Websites 45To create or edit aliases the site responds to: 1 Open Server Admin and connect to the server. 2 Cl

Page 41

The reverse proxy is usually enforced by an external or LAN rewall, which only permits authorized outbound connections to the web server through port

Page 42

Chapter 3 Creating and Managing Websites 47Enabling Optional Web ServicesYou can enable additional web services such as wikis, blogs, or webmail

Page 43

3 If you’ve restricted access to specic users, enter a valid user name and password.WARNING: Do not try to access the server through the direct po

Page 44

Chapter 3 Creating and Managing Websites 49 4 Click the triangle at the left of the server.The list of services appears. 5 From the expanded S

Page 45 - Setting Up a Reverse Proxy

Contents 552 Enabling WebDAV on Websites52 Using WebDAV to Share Files53 Conguring Web Content File and Folder Permissions54 Managing Multiple

Page 46

Enabling a Common Gateway Interface (CGI) ScriptCommon Gateway Interface (CGI) scripts (or programs) send information between your website and applica

Page 47 - Connecting to Your Website

Chapter 3 Creating and Managing Websites 51Monitoring Website ActivityUse website logs to monitor your website activity and server events. You c

Page 48 - Managing Websites

Using WebDAV to Manage Website ContentWebDAV lets you or your users make changes to websites while the sites are running. With WebDAV, users or groups

Page 49

Chapter 3 Creating and Managing Websites 53Browsers are not generally WebDAV-enabled, but a browser can access a WebDAV-enabled site and perform

Page 50

If you need to change web content les and folders while you are logged in as an Âadministrator, those les or folders must be modiable by the admin

Page 51 - Monitoring Website Activity

Chapter 3 Creating and Managing Websites 55Using Aliases to Have a Site Respond to Multiple NamesIf you want a website to respond to multiple na

Page 52 - Using WebDAV to Share Files

Web Service CongurationAll folder listings in Web service use Apache’s FancyIndexing directive, which makes folder listings more readable.In Server A

Page 53

Chapter 3 Creating and Managing Websites 57Indexing settings also apply to subfolders placed in the user’s Sites folder. If the user adds a cont

Page 54

58Use this chapter to learn how to enable Webmail for the websites on your server to provide access to basic mail operations via a web connection.We

Page 55 - User Content on Websites

Chapter 4 Conguring and Managing Webmail 59To use Webmail, a user must have an account on your mail server. Therefore, you must have Mail servi

Page 56 - Accessing Web Content

6 Contents76 Viewing Web Modules77 Adding Web Modules77 Enabling Web Modules78 Changing Web Modules78 Deleting Web Modules79 Macintosh-Spec

Page 57

Enabling WebmailUse Server Admin to enable Webmail for websites hosted on your web server. Changes you make take eect when you restart Web server.Imp

Page 58 - Conguring and Managing

Chapter 4 Conguring and Managing Webmail 61You can congure the following SquirrelMail options to integrate Webmail with your site: Â Organizat

Page 59 - Webmail Protocols

62Use this chapter to become familiar with open source applications Mac OS X Server uses to administer and deliver web services.Several open source

Page 60 - Conguring Webmail

Chapter 5 Working with Open Source Applications 63File Description Apache 2.2 LocationConguration le for Web service /etc/apache2/ folderSite

Page 61

Restoring the Default CongurationIt is possible to restore a factory setting or default conguration of Apache without reinstalling Mac OS X Server.

Page 62 - Applications

Chapter 5 Working with Open Source Applications 65To stop Apache from the command line: 1 Open your script. 2 Enter the following command:serv

Page 63

Follow the instructions that accompany the warning messages if you require those optional components.Consult Axis User’s Guide to learn more about usi

Page 64 - Using the apachectl Script

Chapter 5 Working with Open Source Applications 67 4 Click Settings, then click General. 5 Select the Enable Tomcat checkbox. 6 Click Save.Fr

Page 65 - Using Apache Axis

5 Select the “Allow network connections” checkbox to permit users to access MySQL service.This grants users access to database information through

Page 66 - Working with Tomcat

Chapter 5 Working with Open Source Applications 69Starting MySQL ServiceYou start MySQL service from Server Admin.To start MySQL service: 1 Ope

Page 67 - Working with MySQL

7This guide provides instructions for setting up and managing a web server and websites, and how to use open source web technologies.Mac OS X Serve

Page 68

Viewing MySQL Service and Admin LogsMySQL service keeps two types of logs: Â The MySQL service log, which records the time of events such as when MySQ

Page 69 - Starting MySQL Service

Chapter 5 Working with Open Source Applications 71At some point a newer version of MySQL will be posted to www.mysql.com. At that time you can d

Page 70 - Upgrading MySQL

Managing the Deployment of Ruby on Rails ApplicationsYou can use Server Admin to manage the deployment of Ruby on Rails applications with the Apache 2

Page 71 - Working with Ruby on Rails

Chapter 5 Working with Open Source Applications 73 9 Select the Enable Reverse Proxy checkbox. 10 Verify that the Proxy path eld is set to “

Page 72

If you specied a model or scaold in your Rails application, the URL might be something like http://127.0.0.1/rails/<ModelName>.You should see

Page 73

75Use this chapter to become familiar with Apache web modules that provide key features and controls for Web service.The Apache web server include

Page 74

dav_module and dav_fs_module should be in the same state. Âencoding_module requires that headers_module, dav_module, and dav_fs_module Âare enabled.c

Page 75 - Managing Web Modules

Chapter 6 Managing Web Modules 77Adding Web ModulesYou can use Server Admin to add web modules to your web server.Before you can add a web modul

Page 76 - Viewing Web Modules

Changing Web ModulesYou can use Server Admin to change web modules on your server.To modify web module settings: 1 Open Server Admin and connect to t

Page 77 - Enabling Web Modules

Chapter 6 Managing Web Modules 79Macintosh-Specic ModulesWeb service in Mac OS X Server installs the following modules specic to the Macintosh

Page 78 - Deleting Web Modules

8 Preface About This GuideChapter  6, “Managing Web Modules,” describes the modules included in Mac OS X Server and explains how to install,

Page 79 - Open Source Modules

PHPPHP Hypertext Preprocessor (PHP) lets you handle dynamic web content by using a server-side, HTML-embedded scripting language resembling C. Web dev

Page 80

Chapter 6 Managing Web Modules 81EncodingEngine directive: This directive enables and disables mod_encoding. Correct operation of mod_encoding a

Page 81

For additional information about mod_encoding, download a version and read additional documentation provided in the source distribution from www.denpa

Page 82

83If you experience a problem with Web service or its components, use the tips and strategies in this chapter.From time to time you might encounte

Page 83 - Solving Web Service Problems

If a Web Module or Component Is Not Functioning as ExpectedTry the following strategies to uncover the problem:Read the error log in Server Admin for

Page 84 - If a CGI Script Does Not Run

Aaccessaliases 43Apache Axis 65blog service 14CGI script permissions 50client connections 31, 32proxy server 24securing web content 57user 17,

Page 85

86 IndexDefaultClientEncoding directive 81digest authentication, WebDAV 39, 79digest module 75directory services, Open Directory 79disk_cache m

Page 86 - 86 Index

Index 87viewing 76mod_xsendle module 82Mongrel web server 71mongrel_rails tool 71multicast DNS registration 65, 79multihoming 54multiple web

Page 87 - Index 87

88 IndexUupgradingApache web server 13MySQL 70user accounts, webmail 59usersaccess control 17, 39blog service 14home folders 55permissions 1

Page 88 - 88 Index

Preface About This Guide 9Documention MapMac OS X Server has a suite of guides that can cover management of individual services. Each service ma

Commentaires sur ces manuels

Pas de commentaire