Previous / Next


Scripting News, the weblog started in 1997 that bootstrapped the blogging revolution.
Exploring Apache on Mac

A picture named cycle.gifIn the background I'm learning how to configure Apache on Mac OS X. There are lots of little stumbling blocks that involve penetrating the user interface and getting down to the Unix running underneath. There's a tiny sliver of Apache showing through the GUI but not enough to do anything interesting. Permanent link to this item in the archive.
The first thing I had to figure out, after learning where the document root is (still not totally clear on that but I got it working) is where the httpd.conf file is. I found it at: Permanent link to this item in the archive.
Macintosh HD:private:etc:httpd:httpd.conf Permanent link to this item in the archive.
You can't normally get to this location in the Finder, but there is a way, in the Terminal window, to tell the Finder to display hidden files and folders, and then you can navigate there. A tutorial at MacWorld explains how. Permanent link to this item in the archive.
Even better, you can open the folder from within the OPML Editor using the file.openfolder verb. There's probably a way to do it in AppleScript as well. Permanent link to this item in the archive.
So I opened the httpd.conf file and started reading it, and it seems like a standard Apache install with an added nicety: at the end it includes all files ending with .conf in the users sub-folder. So you can modify the install without having to modify the shipping conf file, which means you can get an upgrade from Apple without losing your changes. Good.  Permanent link to this item in the archive.
So I started writing a file that would map virtual hosts to store in my personal conf file, but when it came time to save, no luck. On further investigation I find that I don't own the files, even the one named after me! They belong to the system. Permanent link to this item in the archive.
So now I'm scratching my head trying to figure out how I log on with permission to edit files created by the system. There must be a way, right?  Permanent link to this item in the archive.
Suggestions are welcome of course. ";->" Permanent link to this item in the archive.
PS: This is what I needed. Thanks!! Permanent link to this item in the archive.



     

Last update: Thursday, June 3, 2010; 4:01:15 PM



~About the Author~

A picture named dave.jpgDave Winer, 55, is a visiting scholar at NYU's Arthur L. Carter Journalism Institute. He pioneered the development of weblogs, syndication (RSS), podcasting, outlining, and web content management software; former contributing editor at Wired Magazine, research fellow at Harvard Law School, entrepreneur, and investor in web media companies. A native New Yorker, he received a Master's in Computer Science from the University of Wisconsin, a Bachelor's in Mathematics from Tulane University and currently lives in New York City.

"The protoblogger." - NY Times.

"The father of modern-day content distribution." - PC World.

One of BusinessWeek's 25 Most Influential People on the Web.

"Helped popularize blogging, podcasting and RSS." - Time.

"The father of blogging and RSS." - BBC.

"RSS was born in 1997 out of the confluence of Dave Winer's 'Really Simple Syndication' technology, used to push out blog updates, and Netscape's 'Rich Site Summary', which allowed users to create custom Netscape home pages with regularly updated data flows." - Tim O'Reilly.

Mail: Mailto icon scriptingnews1mail at gmail dot com.

July 2007
Sun
Mon
Tue
Wed
Thu
Fri
Sat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
Jun   Aug


RSS feed for Scripting News



© Copyright 1997-2010 Dave Winer. Last build: 6/3/10; 10:40:16 PM. "It's even worse than it appears."


Previous / Next