MacDevCenter    
 Published on MacDevCenter (http://www.macdevcenter.com/)
 See this if you're having trouble printing code examples


Apache and Web Serving with Mac OS X

Web Apps with Tiger: Backups and Speed
In this, the fourth installment of "Web Apps with Tiger," Morbus shows you how to maintain and optimize your databases. Nov. 11, 2005

Web Apps with Tiger: MediaWiki
In this, the third installment of "Web Apps with Tiger," Morbus shows you how to install a wiki, which is a web application that allows users to add content, but also allows anyone to edit it. He'll walk you through MediaWiki and have you (and it) up and running in no time. Sep. 20, 2005

Web Apps with Tiger: Security and MySQL
In this, the second part of "Web Apps with Tiger," Morbus focuses on protection. He'll replace the default PHP configuration with a more secure version, and explain some of the differences. Finally, he'll install MySQL and run through its own security tweaks. Aug. 30, 2005

Web Apps with Tiger: Getting Started
Morbus is back with more web serving tools and tricks, updated for Mac OS X Tiger. In this first article, he'll take you on a whirlwind through the basics: turning on the Apache web server, learning a teensy bit of its configuration, then enabling and testing PHP.  Aug. 16, 2005

Scripting Dot Mac
Recently we compared .Mac to Spymac's Wheel, and in the process provided a good overview of .Mac services. One of the tools missing, especially for those who want to publish web pages on their .Mac account, was server-side scripting. Well, just because it isn't in the package doesn't mean you can't do it. Take a look at this tutorial and see how. Feb. 18, 2005

Apache and AppleScript
AppleScript traditionally interacts with Mac applications and Apache is the web server that powers most of the Internet. David Miller shows you how AppleScript can invoke Unix utilities through its do shell script command, thereby creating some interesting intersections with Apache. Feb. 11, 2005

Write a Webserver in 100 Lines of Code or Less
REAL Software programmer and tester, Jonathan Johnson, shows you the power and simplicity of developing with REALbasic by walking you through the building of a working webserver. After this tutorial, you'll not only have a pratical knowledge or REALbasic, but you'll have a cool little server too. Nov. 19, 2004

Making the Jump to Subversion
Subversion can run standalone or on a network as a repository server with multiple clients. The preferred client/server configuration uses Apache and WebDAV for network communication. It's a powerful alternative to CVS, and Adam Swift shows you the ins and outs in this tutorial. Aug. 10, 2004

Mo' Betta Indexes
Apache has had the same skin since around 1995. And while it's true that visitors interact with the pages of your site more than the HTTP daemon, the only real snapshot they'll receive is through your site's auto-indexes. So why not take some time to put some spit polish into them? Aug. 3, 2004

Integrating Ant with Xcode
Building Java code on multiple platforms is a problem facing many Java developers. One effective answer is Ant, an open-source tool hosted by the Apache Group. Derek Haidle shows you how to incorporate this tool with Xcode. Jun. 1, 2004

Ant and AppleScript
Tools from the AppleScript and Java communities can help each other create new things. For example, programmers can use Ant to help develop AppleScripts, and AppleScript can help produce Java applications. David Miller shows you how to make it all stick together. Oct. 3, 2003

Using Java to Expand iTunes Functionality
An in-depth look at MyTunes, which provides an easy-to-use and extensible framework that allows expanded control of your iTunes library via Java, even from a remote computer.  Sep. 3, 2003

Installing a Wiki on Your iBook
The documentation says that installing PHPwiki for Mac OS X is a snap, but Giles Turnbull discovered that things can get pretty sticky. He called upon the developer talents of Matt Hunt to walk him through an installation on his iBook. This step-by-step conversation with the two of them will get your Wiki up to speed quickly. Jun. 5, 2003

Location, Location, Location: Tips for Storing Web Site Files
So where do you store your web site files on your Mac OS X development server? The Sites folder, aliases to other locations on your hard drive, virtual hosts? Patrick Crowley (of iCalShare.com) shows you what he's learned from his experiences. May. 16, 2003

Apache Web Serving with Jaguar, Part 4
Now that many of the Apache basics have been covered in the first three installments of this series, Kevin Hemenway addresses a number of reader requests and shows you how to handle default index docs, custom error pages, password authentication, and a host of other goodies. May. 9, 2003

Apache Web Serving with Jaguar, Part 3
In the first part of this series, Kevin Hemenway showed you how to easily start serving web pages from your Mac OS X computer. In the second article, he explored the world of CGI access. Today, he moves forward with a look at PHP and simple access controls. Apr. 22, 2003

Apache Web Serving with Jaguar, Part 2
Mac OS X Hacks coauthor Kevin Hemenway continues updating his original Apache Web Serving series of articles for Jaguar. In this installment, Part 2, he explores the world of CGI access. Apr. 11, 2003

Virtual Hosts, mod_rendezvous_apple, and Apache on Mac OS X
In this article, Joe Maller shows you a three-step workaround for serving locally-named virtual hosts to Rendezvous clients. Apr. 8, 2003

Apache Web Serving with Jaguar
Mac OS X Hacks coauthor Kevin Hemenway updates his popular Apache Web Serving series of articles for Jaguar. If you missed the original series, or just need a little brush-up, then be sure to check out this first installment. Apr. 4, 2003

Installing libapreq on Jaguar: An Update
As of version 1.1, libapreq formally supports Mac OS X 10.2. This means that those running Jaguar can now use libapreq without compiling support for it directly into Apache. David Wheeler explains how. Feb. 7, 2003

Six Great Tips for Homemade Dot Mac Servers
Now that you have your own Dot Mac server up and running, here are six new things you can do with it -- including "iTunes Central," "iPhoto online," and the "Safari Rendezvous mod." Alan Graham shows you how. Feb. 4, 2003

Build Your Own Apache Server with mod_perl and mod_ssl
In part one of this series, David E. Wheeler discussed some of the pitfalls associated with the default Apache install on Mac OS X. In this article he builds upon that approach and guides you through the process of including support for mod_ssl in your custom build. Dec. 18, 2002

Homemade Dot Mac: Home Web Radio
If the idea of having your own radio webcast intrigues you, then this article shows you how to create private playlists you can stream 24/7 to almost any Web-enabled device, inside or outside the home.  Dec. 13, 2002

Getting Fit for the Holidays
A look at interacting with your Java programs remotely by taking advantage of the Apache Web Server that ships with Mac OS X. Plus an intro to the Fit framework, which allows business people to specify what software should do or how it will behave in simple tables. Dec. 10, 2002

Controlling iTunes with Perl
Perl can interact with Aqua applications through AppleScript. Using Mac::iTunes as a back end, you can create multiple iTunes interfaces that can be used on the same computer or on other computers on the same network. brian d foy shows how anyone on the network, including AirPort networks, can control iTunes using this module. Nov. 22, 2002

Build Your Own Apache Server with mod_perl
The Apache server that ships with Mac OS X is the genuine article. We're not talking about a weak, proof-of-concept port of Apache that runs under Windows. But, if you plan to do some serious mod_perl-based Web development work on Mac OS X, you'll need to take a number of issues into consideration as you begin working with Apple's Apache install. Nov. 5, 2002

Serve Your iCal Calendars Using WebDAV
Apple is more than happy to host your iCal calendars via its Dot-Mac service. But you can serve your own calendars, and even have them automatically update subscriber versions, by using WebDAV. Erik Ray shows you how. Sep. 20, 2002

Setting up a Site Server with Jaguar
Jaguar's debut adds many updates to Mac OS X's under-the-hood open source tools. In this article, James Duncan Davidson shows you how to tap Jaguar's ability to run your own site server, including an overview for setting up Sendmail. Aug. 24, 2002

Integrating Tomcat with Apache Via the mod_jk Module
While there are a few available methods for integrating Tomcat with Apache, the recommended (and currently maintained) approach is to integrate Tomcat with Apache via the mod_jk module. Chad Thompson shows you how. Aug. 20, 2002

Homemade Dot-Mac with OS X
So you don't want to pony up the $99 annual fee for .Mac? No problem if you've switched to Mac OS X, because everything is built-in for you to set up your own .Mac suite of services. Alan Graham shows you how. Aug. 9, 2002

Installing Tomcat on Mac OS X
The Tomcat server is ideal for deploying Web applications and Web services. It's also a snap to install on Mac OS X. Here's how. Jun. 18, 2002

Apache Web-Serving with Mac OS X, Part 6
Ah, those wonderful, useful Apache modules -- Kevin Hemenway walks you through the various Apache modules that come installed on your Mac OS X system and explains what they do. Apr. 23, 2002

Apache Web-Serving With Mac OS X, Part 5
Ah, it's one thing to have your Apache Web server fired up in Mac OS X; it's another to have it communicating with a MySQL database. Kevin Hemenway walks you through this process. Your life will never be the same! Mar. 8, 2002

Apache Web-Serving with Mac OS X, Part 4
In part four of our Apache trilogy, we answer a few reader requests, including info about default index documents, custom error pages, and password authentication. Jan. 29, 2002

Apache Web-Serving with Mac OS X: Part 3
We've fired-up the Apache Web server in Mac OS X and enabled CGI -- what other goodies are waiting to be discovered? In this article Kevin Hemenway shows you how to enable PHP on your Mac Web server. Jan. 4, 2002

Apache Web-Serving with Mac OS X: Part 2
In Apache Part 1, Kevin Hemenway showed you how to start serving web pages in Mac OS X. Now, he explores the CGI access that's built into your Mac OS X system. Dec. 14, 2001

Apache Web-Serving with Mac OS X: Part 1
In this first part of a multi-part series, Kevin Hemenway shows you how to start serving web pages directly from your Mac using its built-in Apache server. Dec. 7, 2001

PHP on Mac OS X
The BSD underpinnings of Mac OS X allow PHP to run as an Apache module in its native Unix environment. Here's how to load and run PHP on your Mac OS X system. Jul. 20, 2001

WebDAV on OS X
WebDav support in Mac OS X (Public Beta 1) allows for simple remote management of web content. Here's how to start using it now. Nov. 10, 2000


Return to the Mac DevCenter.

Copyright © 2009 O'Reilly Media, Inc.