Apple Mac OS X Server Java Application Server Administration For Version 10.3 or Later Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Logiciel Apple Mac OS X Server Java Application Server Administration For Version 10.3 or Later. Apple Mac OS X Server Java Application Server Administration For Version 10.3 or Later User manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 75
  • 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
For Version 10.3 or Later
034-2350_Cvr 9/12/03 7:31 AM Page 1
Vue de la page 0
1 2 3 4 5 6 ... 74 75

Résumé du contenu

Page 1 - Administration

Mac OS X ServerWeb TechnologiesAdministrationFor Version 10.3 or Later034-2350_Cvr 9/12/03 7:31 AM Page 1

Page 2

10 Chapter 1 Web Technologies Overview Hosting More Than One WebsiteYou can host more than one website simultaneously on your web server. Depending

Page 3 - Contents

Chapter 1 Web Technologies Overview 11 You can avoid this problem by carefully setting access privileges for the site files using the Sharing modul

Page 4

12 Chapter 1 Web Technologies Overview MIME type mappings are divided into two subfields separated by a forward slash, such as text/plain. Mac OS X

Page 5

2 132 Managing Web TechnologiesUse Server Admin to set up web technologies initially and to manage web settings and components.If you are familia

Page 6

14 Chapter 2 Managing Web Technologies Step 3: Assign privileges for your websiteThe Apache processes that serve webpages must have read access to

Page 7 - Web Technologies Overview

Chapter 2 Managing Web Technologies 15 Step 5: Start web service1 Open Server Admin and click Web in the list below the server name. 2 Click Start

Page 8 - Key Web Components

16 Chapter 2 Managing Web Technologies Starting Web Service AutomaticallyWeb service is set to start automatically (if it was running at shutdown)

Page 9 - Before You Begin

Chapter 2 Managing Web Technologies 17 4 In the new sheet that appears, do one of the following:• For a new MIME type, type each part of the name (

Page 10 - Understanding WebDAV

18 Chapter 2 Managing Web Technologies Setting Persistent Connections for the Web ServerYou can set up your web server to respond to multiple reque

Page 11

Chapter 2 Managing Web Technologies 19 Setting Up Proxy CachingA proxy lets users check a local server for frequently used files. You can use a pro

Page 12

 Apple Computer, Inc.© 2003 Apple Computer, Inc. All rights reserved. The owner or authorized user of a valid copy of Mac OS X Server software ma

Page 13 - Managing Web Technologies

20 Chapter 2 Managing Web Technologies Blocking Websites From Your Web Server CacheIf your web server is set up to act as a proxy, you can prevent

Page 14

Chapter 2 Managing Web Technologies 21 The Apache server in Mac OS X Server uses a public key-private key combination to protect information. A bro

Page 15

22 Chapter 2 Managing Web Technologies Viewing Web Service StatusIn Server Admin you can check the current state of the Apache server and which ser

Page 16

3 233 Managing WebsitesUse the Server Admin application to set up and manage the essential components of web service.You administer websites on y

Page 17 - Managing Connections

24 Chapter 3 Managing Websites To set up the Documents folder for your website:1 Open the Documents folder on your web server.If you have not chang

Page 18

Chapter 3 Managing Websites 25 Changing the Default Web Folder for a SiteA site’s default web folder is used as the root for the site. In other wor

Page 19 - Setting Up Proxy Caching

26 Chapter 3 Managing Websites Changing the Access Port for a WebsiteBy default, the server uses port 80 for connections to websites on your server

Page 20 - About SSL

Chapter 3 Managing Websites 27 To enable or disable the performance cache for your web server:1 In Server Admin, click Web in the list for the serv

Page 21 - Using Tomcat

28 Chapter 3 Managing Websites Understanding the New Web Service access_log FormatIn version 10.3 of Mac OS X Server, the web performance cache doe

Page 22 - Viewing Web Service Status

Chapter 3 Managing Websites 29 Creating Indexes for Searching Website ContentVersion 10.3 of Mac OS X Server continues to support the mod_sherlock_

Page 23 - Managing Websites

3 1 Contents Chapter 1 7 Web Technologies Overview8 Key Web Components 8 Apache Web Server 8 WebDAV 8 CGI Support 8 SSL Support 8 Dynamic Cont

Page 24

30 Chapter 3 Managing Websites Enabling WebDAV on WebsitesWeb-based Distributed Authoring and Versioning (WebDAV) allows you or your users to make

Page 25

Chapter 3 Managing Websites 31 Setting Access for WebDAV-Enabled SitesYou create realms to provide security for websites. Realms are locations with

Page 26 - (Performance Cache)

32 Chapter 3 Managing Websites WebDAV and Web Content File and Folder PermissionsMac OS X Server imposes the following constraints on web content f

Page 27

Chapter 3 Managing Websites 33 Enabling a Common Gateway Interface (CGI) ScriptCommon Gateway Interface (CGI) scripts (or programs) send informatio

Page 28

34 Chapter 3 Managing Websites 5 In the General pane, add index.shtml to the set of default index files for that site.Repeat this procedure for eac

Page 29 - Connecting to Your Website

Chapter 3 Managing Websites 35 To set the server response for a MIME type or content handler:1 In Server Admin, click Web in the list for the serve

Page 30 - Enabling WebDAV on Websites

36 Chapter 3 Managing Websites Setting Up the SSL Log for a WebsiteIf you are using Secure Sockets Layer (SSL) on your web server, you can set up a

Page 31

Chapter 3 Managing Websites 37 Web Service ConfigurationBy default, on Mac OS X Server:• Web service ignores any files in the /etc/httpd/users/ fol

Page 32

38 Chapter 3 Managing Websites If the user has placed multiple content files in his or her Sites folder, and cannot modify the index.html to includ

Page 33 - Options Includes

Chapter 3 Managing Websites 39 Because of the warning message that appears in the web service error log about mod_hfs_apple, there have been questi

Page 34 - Content Handlers

4 Contents 22 Web Service Modules in Use 22 Viewing Logs of Web Service Activity Chapter 3 23 Managing Websites23 Using Server Admin to Manage Websit

Page 35 - Enabling SSL

LL2350.book Page 40 Friday, August 22, 2003 2:32 PM

Page 36 - User Content on Websites

4 414 WebMailEnable WebMail for the websites on your server to provide access to basic email operations by means of a web connection.WebMail adds

Page 37 - Accessing Web Content

42 Chapter 4 WebMail Users log in to WebMail with the name and password they use for logging in to regular mail service. WebMail does not provide i

Page 38

Chapter 4 WebMail 43 5 In the Sites pane, double-click the site in the list.6 In the Options pane, select WebMail.7 Click Save.Web service restarts

Page 39

44 Chapter 4 WebMail To configure basic WebMail options:1 In the Terminal application, type the following command and press Return:sudo /etc/squirr

Page 40

5 455 Secure Sockets Layer (SSL)Use Secure Sockets Layer to provide secure transactions and encrypted communication to users of the websites on y

Page 41 - WebMail Basics

46 Chapter 5 Secure Sockets Layer (SSL) 4 If it doesn’t already exist on your server, create a directory at the location /etc/httpd/ssl.key.Make a

Page 42 - Enabling WebMail

Chapter 5 Secure Sockets Layer (SSL) 47 • The default certificate format for SSLeay/OpenSSL is PEM, which actually is Base64 encoded DER with heade

Page 43 - Configuring WebMail

48 Chapter 5 Secure Sockets Layer (SSL) Web Server SSL Password Not Accepted When Manually EnteredServer Admin allows you to enable SSL with or wit

Page 44 - 44 Chapter 4 WebMail

6 496 Working With Open-Source ApplicationsBecome familiar with the open-source applications Mac OS X Server uses to administer and deliver web s

Page 45 - Secure Sockets Layer (SSL)

Contents 5 45 Generating a Certificate Signing Request (CSR) for Your Server 46 Obtaining a Website Certificate 47 Installing the Certificate on Your

Page 46

50 Chapter 6 Working With Open-Source Applications Location of Essential Apache FilesApache configuration files and locations have been simplified

Page 47 - Enabling SSL for the Site

Chapter 6 Working With Open-Source Applications 51 Starting and Stopping Web Service Using the apachectl ScriptThe default way to start and stop Ap

Page 48

52 Chapter 6 Working With Open-Source Applications To enable mod_rendezvous_apple on Mac OS X Server:mTo enable the module, use the Modules pane in

Page 49 - Applications

Chapter 6 Working With Open-Source Applications 53 RegisterUserSite directive• Syntax: RegisterUserSite username | all-users | customized users [

Page 50

54 Chapter 6 Working With Open-Source Applications The optional third argument can be can be used to specify a port number under which the HTTP ser

Page 51

Chapter 6 Working With Open-Source Applications 55 Using Apache AxisYou can use Apache Axis by writing web applications that use the Axis libraries

Page 52 - • Context: server config

56 Chapter 6 Working With Open-Source Applications If you want to experiment with Apache 2, note the following:• It is installed in a separate loca

Page 53

Chapter 6 Working With Open-Source Applications 57 For detailed information about JBoss, J2EE, and the tools, see these guides:• Java application s

Page 54

58 Chapter 6 Working With Open-Source Applications To manage JBoss:1 In Server Admin, click Application Server.2 Click Settings in the button bar.3

Page 55 - Experimenting With Apache 2

Chapter 6 Working With Open-Source Applications 59 For information about Java Servlets that you can use on your server, see• http://java.sun.com/pr

Page 56

LL2350.book Page 6 Friday, August 22, 2003 2:32 PM

Page 57

60 Chapter 6 Working With Open-Source Applications Installing MySQLMac OS X Server versions 10.3 includes the latest MySQL, version 4.0.14. Since i

Page 58

7 617 Installing and Viewing Web ModulesBecome familiar with the modules that provide key features and controls for web service.The Apache web se

Page 59 - ./catalina.sh start

62 Chapter 7 Installing and Viewing Web Modules mod_sherlock_appleThis module lets Apache perform relevance-ranked searches of the website using Sh

Page 60 - Installing MySQL

Chapter 7 Installing and Viewing Web Modules 63 PHP: Hypertext PreprocessorPHP lets you handle dynamic web content by using a server-side HTML-emb

Page 61 - Web Modules

LL2350.book Page 64 Friday, August 22, 2003 2:32 PM

Page 62 - Open-Source Modules

8 658 Solving ProblemsIf you experience a problem with web service or one of its components, check the tips and strategies in this chapter.From t

Page 63 - PHP: Hypertext Preprocessor

66 Chapter 8 Solving Problems A Web Module Is Not Working as Expected• Check the error log in Server Admin for information about why the module mig

Page 64

9 679 Where to Find More InformationFor information about configuration files and other aspects of Apache web service, see these resources:• Apac

Page 65 - Solving Problems

LL2350.book Page 68 Friday, August 22, 2003 2:32 PM

Page 66 - A CGI Will Not Run

69GlossaryGlossaryApache An open-source HTTP server that is integrated into Mac OS X Server. You can find detailed information about Apache at

Page 67 - 67

1 7 1 Web Technologies Overview Become familiar with web technologies and understand the major components before setting up your services and

Page 68

70 Glossary Mac OS X Server An industrial-strength server platform that supports Mac, Windows, UNIX, and Linux clients out of the box and provide

Page 69 - Glossary

Glossary 71 URL (Uniform Resource Locator) The address of a computer, file, or resource that can be accessed on a local network or the Internet.

Page 70 - 70 Glossary

LL2350.book Page 72 Friday, August 22, 2003 2:32 PM

Page 71 - Glossary 71

73IndexIndexAaccess privilegessetting for WebDAV 10websites 11, 14Apache module 7, 9, 29, 51, 60, 61Apache web server 8, 61configuration 9CCA cer

Page 72

74 Index PPerlmod_perl 63PHP (PHP Hypertext Preprocessor) 63Apache module 63enabling 36PHP Hypertext Preprocessor (PHP) See PHP (PHP Hypertext

Page 73

Index 75problems with 65–66resources 67secure transactions 9, 45–47settings for 15setting up 13–15setting up websites 9solving problems 65S

Page 74 - 74 Index

8 Chapter 1 Web Technologies Overview Key Web ComponentsWeb technologies in Mac OS X Server consist of several key components, which provide a f

Page 75 - Index 75

Chapter 1 Web Technologies Overview 9 Front-End CacheThe web server includes a high-performance cache that increases performance for websites that

Commentaires sur ces manuels

Pas de commentaire