Build Your Own Mac OS X Apache/mod_perl Server
Kathryn writes "An article by David Wheleer on O'Reilly's MacDev Center, Build Your Own Apache Server with mod_perl, covers issues to consider as you begin working with Apple's Apache install -- key information for any serious mod_perl-based Web development work on Mac OS X."
just go to that URL. Download package. Doubleclick. Follow instructions.
done.
Jeez, some nerds have their heads so far up their spine they start by assuming every webthingie must be complex and needs a book.
When will I end this grieving ? When will my future begin ?
I can't swear to it, because I'm not in front of an OS X Server system right now, but I'm pretty sure OS X Server and vanilla OS X are identical as far as this article is concerned. OS X Server includes many more applications, and some "helper" applications to manage things like starting and stopping daemons, but the actually web server software itself is the same.
Again, I could be wrong about this. It's possible that I'm confused, in which case I apologize in advance.
I write in my journal
There is an article in the November issue of macworld about setting up a Apache, php, mysql web server.
I tried to find the article on-line but was unsuccessful. Maybe someone else can find it and put in a link.
-- Andy
The documentation is written under the false assumption that mod_perl as a DSO is unstable. I have been using mod_perl as a DSO for some time now and it works fine for me. I've herd of issues with it one Solaris/x86 but thats about it. IMHO all 3rd party modules should be compiled as DSOs.
Also the article fails to mention the advantages of running a local proxy with the mod_proxy_add_forward module.
I know I'm going to hell, I'm just trying to get good seats.
Step one: Open the control panel
Step two: Turn on Personal Web Sharing
Step three: There's no step three! There's no step three!
Apache & mod_perl are preinstalled in OS X. Sure, there are things you can do to tweak them, but you're given a hell of a head start by Apple...
This sig intentionally left justified.
If you look at the httpd.conf file. The line to load the mod_perl so is commented out.
You'll have to open it up in your favorite text editor and change:
#LoadModule perl_module libexec/httpd/libperl.so
To this:
LoadModule perl_module libexec/httpd/libperl.so
I know I'm going to hell, I'm just trying to get good seats.