Hi all,
I have a MBP 13" (early 2011) running Lion 10.7.2 and some days before, I wanted to host an HTTP server on it. I googled and found I should turn on "Web Sharing" for this feature. But unfortunately, it just wouldn't start. I googled again and found a solution (I think). I tried deleting the disable key and
<string>-D</string>
<string>WEBSHARING_ON</string>
from "/System/Library/LaunchDaemons/org.apache.httpd.plist". I couldn't save the file because it is protected. So I tried copying all the content of the file and save it to a new file with the same name, deleted the original file, and put the new one back to the directory. Nothing worked. I couldn't edit the new file as well. So I put the original file back and replaced the new one. Then I tried to change my rights of that directory as well as the file to "Read and Write". And I managed to edit the file! I deleted the mentioned sentences and saved it. Then I tried turning Web Sharing on for about a hundred times, but never succeeded. So I turned off my MBP and slept. OK, the next day when I decided to try again, I found the machine won't boot! It got stuck to the grey screen with Apple logo and a spinning wheel permanently. Every time I needed to hold the power button for 4 seconds to turn it off. I've tried SUM (command-S) and ran fsck, no problems were found. I also tried the method from http://support.apple.com/kb/TA20809 , but still couldn't get past that grey screen. Cannot boot into safe Boot also. I don't if it is a problem related to the alias of that file because I had deleted it and put it back. Please help. Many thanks.
P.S. If can't solve it, should I bring it to Apple Store and ask for Genius?
I have a MBP 13" (early 2011) running Lion 10.7.2 and some days before, I wanted to host an HTTP server on it. I googled and found I should turn on "Web Sharing" for this feature. But unfortunately, it just wouldn't start. I googled again and found a solution (I think). I tried deleting the disable key and
<string>-D</string>
<string>WEBSHARING_ON</string>
from "/System/Library/LaunchDaemons/org.apache.httpd.plist". I couldn't save the file because it is protected. So I tried copying all the content of the file and save it to a new file with the same name, deleted the original file, and put the new one back to the directory. Nothing worked. I couldn't edit the new file as well. So I put the original file back and replaced the new one. Then I tried to change my rights of that directory as well as the file to "Read and Write". And I managed to edit the file! I deleted the mentioned sentences and saved it. Then I tried turning Web Sharing on for about a hundred times, but never succeeded. So I turned off my MBP and slept. OK, the next day when I decided to try again, I found the machine won't boot! It got stuck to the grey screen with Apple logo and a spinning wheel permanently. Every time I needed to hold the power button for 4 seconds to turn it off. I've tried SUM (command-S) and ran fsck, no problems were found. I also tried the method from http://support.apple.com/kb/TA20809 , but still couldn't get past that grey screen. Cannot boot into safe Boot also. I don't if it is a problem related to the alias of that file because I had deleted it and put it back. Please help. Many thanks.
P.S. If can't solve it, should I bring it to Apple Store and ask for Genius?
Last edited: