Mac OS X ServerWeb TechnologiesAdministrationFor Version 10.3 or Later034-2350_Cvr 9/12/03 7:31 AM Page 1
10 Chapter 1 Web Technologies Overview Hosting More Than One WebsiteYou can host more than one website simultaneously on your web server. Depending
Chapter 1 Web Technologies Overview 11 You can avoid this problem by carefully setting access privileges for the site files using the Sharing modul
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
2 132 Managing Web TechnologiesUse Server Admin to set up web technologies initially and to manage web settings and components.If you are familia
14 Chapter 2 Managing Web Technologies Step 3: Assign privileges for your websiteThe Apache processes that serve webpages must have read access to
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
16 Chapter 2 Managing Web Technologies Starting Web Service AutomaticallyWeb service is set to start automatically (if it was running at shutdown)
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 (
18 Chapter 2 Managing Web Technologies Setting Persistent Connections for the Web ServerYou can set up your web server to respond to multiple reque
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
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
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
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
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
3 233 Managing WebsitesUse the Server Admin application to set up and manage the essential components of web service.You administer websites on y
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
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
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
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
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
Chapter 3 Managing Websites 29 Creating Indexes for Searching Website ContentVersion 10.3 of Mac OS X Server continues to support the mod_sherlock_
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
30 Chapter 3 Managing Websites Enabling WebDAV on WebsitesWeb-based Distributed Authoring and Versioning (WebDAV) allows you or your users to make
Chapter 3 Managing Websites 31 Setting Access for WebDAV-Enabled SitesYou create realms to provide security for websites. Realms are locations with
32 Chapter 3 Managing Websites WebDAV and Web Content File and Folder PermissionsMac OS X Server imposes the following constraints on web content f
Chapter 3 Managing Websites 33 Enabling a Common Gateway Interface (CGI) ScriptCommon Gateway Interface (CGI) scripts (or programs) send informatio
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
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
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
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
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
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
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
LL2350.book Page 40 Friday, August 22, 2003 2:32 PM
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
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
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
44 Chapter 4 WebMail To configure basic WebMail options:1 In the Terminal application, type the following command and press Return:sudo /etc/squirr
5 455 Secure Sockets Layer (SSL)Use Secure Sockets Layer to provide secure transactions and encrypted communication to users of the websites on y
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
Chapter 5 Secure Sockets Layer (SSL) 47 • The default certificate format for SSLeay/OpenSSL is PEM, which actually is Base64 encoded DER with heade
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
6 496 Working With Open-Source ApplicationsBecome familiar with the open-source applications Mac OS X Server uses to administer and deliver web s
Contents 5 45 Generating a Certificate Signing Request (CSR) for Your Server 46 Obtaining a Website Certificate 47 Installing the Certificate on Your
50 Chapter 6 Working With Open-Source Applications Location of Essential Apache FilesApache configuration files and locations have been simplified
Chapter 6 Working With Open-Source Applications 51 Starting and Stopping Web Service Using the apachectl ScriptThe default way to start and stop Ap
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
Chapter 6 Working With Open-Source Applications 53 RegisterUserSite directive• Syntax: RegisterUserSite username | all-users | customized users [
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
Chapter 6 Working With Open-Source Applications 55 Using Apache AxisYou can use Apache Axis by writing web applications that use the Axis libraries
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
Chapter 6 Working With Open-Source Applications 57 For detailed information about JBoss, J2EE, and the tools, see these guides:• Java application s
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
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
LL2350.book Page 6 Friday, August 22, 2003 2:32 PM
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
7 617 Installing and Viewing Web ModulesBecome familiar with the modules that provide key features and controls for web service.The Apache web se
62 Chapter 7 Installing and Viewing Web Modules mod_sherlock_appleThis module lets Apache perform relevance-ranked searches of the website using Sh
Chapter 7 Installing and Viewing Web Modules 63 PHP: Hypertext PreprocessorPHP lets you handle dynamic web content by using a server-side HTML-emb
LL2350.book Page 64 Friday, August 22, 2003 2:32 PM
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
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
9 679 Where to Find More InformationFor information about configuration files and other aspects of Apache web service, see these resources:• Apac
LL2350.book Page 68 Friday, August 22, 2003 2:32 PM
69GlossaryGlossaryApache An open-source HTTP server that is integrated into Mac OS X Server. You can find detailed information about Apache at
1 7 1 Web Technologies Overview Become familiar with web technologies and understand the major components before setting up your services and
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
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.
LL2350.book Page 72 Friday, August 22, 2003 2:32 PM
73IndexIndexAaccess privilegessetting for WebDAV 10websites 11, 14Apache module 7, 9, 29, 51, 60, 61Apache web server 8, 61configuration 9CCA cer
74 Index PPerlmod_perl 63PHP (PHP Hypertext Preprocessor) 63Apache module 63enabling 36PHP Hypertext Preprocessor (PHP) See PHP (PHP Hypertext
Index 75problems with 65–66resources 67secure transactions 9, 45–47settings for 15setting up 13–15setting up websites 9solving problems 65S
8 Chapter 1 Web Technologies Overview Key Web ComponentsWeb technologies in Mac OS X Server consist of several key components, which provide a f
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