Home » Questions » Computers [ Ask a new question ]

Why Is Web Sharing Broken on My Mac?

Why Is Web Sharing Broken on My Mac?

I use my Mac for web development, running copies of web sites locally. I recently installed the Snow Leopard update, which to all intents and purposes seems to have gone fine, except...

Asked by: Guest | Views: 53
Total answers/comments: 1
Guest [Entry]

"It's a bit of both. The disabled flag (removed when launchctl load -w /PATH/TO/PLIST is run - runs automatically when you check off ""Web Sharing"" in the Sharing Preference Pane) says it's not to be run. However because of that one line being outside of the dict it is appearing as a malformed file. Put the back into the with the previous values or delete it all together (see below).

An example working (but disabled) .plist from Snow Leopard

<?xml version=""1.0"" encoding=""UTF-8""?>
<!DOCTYPE plist PUBLIC ""-//Apple Computer//DTD PLIST 1.0//EN"" ""http://www.apple.com/DTDs/PropertyList-1.0.dtd"">
<plist version=""1.0"">
<dict>
<key>Disabled</key>
<true/>
<key>Label</key>
<string>org.apache.httpd</string>
<key>ProgramArguments</key>
<array>
<string>/usr/sbin/httpd</string>
<string>-D</string>
<string>FOREGROUND</string>
</array>
<key>OnDemand</key>
<false/>
<key>SHAuthorizationRight</key>
<string>system.preferences</string>
</dict>
</plist>"