Results 1 to 11 of 11

Thread: Unable to turn on websharing in Mac OS X Lion

  1. #1
    Join Date
    Oct 2011
    Posts
    67

    Unable to turn on websharing in Mac OS X Lion

    When I click the check box to activate the script displays a check box, changes to 'Off' to'', of departure and the gray color indicator turns orange. This lasts for about a second off again. Any thoughts? I require my local host back

  2. #2
    Join Date
    Nov 2010
    Posts
    363

    re: Unable to turn on websharing in Mac OS X Lion

    I'm having the identical trouble. I tried replacing the file / opt/local/apache2/conf/httpd.conf with / opt/local/apache2/conf/original/httpd.conf. On the other hand the web server is not functioning. Also confirm the permissions of httpd.conf and set the property in the system.

  3. #3
    Join Date
    Nov 2010
    Posts
    442

    re: Unable to turn on websharing in Mac OS X Lion

    The location of my httpd.conf files were:

    Code:
    /etc/apache2/httpd.conf
     /etc/apache2/original/httpd.conf

  4. #4
    Join Date
    Jul 2011
    Posts
    84

    re: Unable to turn on websharing in Mac OS X Lion

    I found the old file. Now what I have to move directory old httpd.conf? Let me know how to do it.

  5. #5
    Join Date
    Mar 2011
    Posts
    490

    re: Unable to turn on websharing in Mac OS X Lion

    Quote Originally Posted by Emiliana View Post
    I found the old file. Now what I have to move directory old httpd.conf? Let me know how to do it.
    Code:
    Replace /etc/apache2/httpd.conf 
    With /etc/apache2/original/httpd.conf
    You almost certainly want to generate a copy of /etc/apache2/httpd.conf wherever else in case you require it later. Make certain that you are in actuality moving files rather than creating an alias.

  6. #6
    Join Date
    May 2011
    Posts
    398

    re: Unable to turn on websharing in Mac OS X Lion

    I have the same trouble, except when I click start; it says it’s not running nevertheless the web service is working for the reason that I can access the site via http://localhost

    I tried replacing the httpd.conf with that of / original, and I've tried to modify the name of httpd.conf. Default, none of these things worked (together did the checkbox vigorous nevertheless when you turn it off you be capable to turn it back on)

  7. #7
    Join Date
    May 2011
    Posts
    397

    re: Unable to turn on websharing in Mac OS X Lion

    All I did was modify the "Computer Name" field at the top of the window to share! Hope this solves your troubles too!

  8. #8
    Join Date
    May 2011
    Posts
    434

    re: Unable to turn on websharing in Mac OS X Lion

    In my case a module reference was made that no longer exists in Lion. Try to comment out the line in httpd.conf that says: Fastcgi_module LoadModule libexec/apache2/mod_fastcgi.so

    Commenting on this line requires# at the start of the line. The file editing can be done with tools such as TextWrangler or Text Mate.

  9. #9
    Join Date
    Jun 2011
    Posts
    383

    re: Unable to turn on websharing in Mac OS X Lion

    Since I did the sudo the trick that has been functioning for me, I make use of the httpd.conf installed in / private/etc/apache2, and have even turn out to be php5 and the debugger.

    For the record, changing my httpd.conf file do the trick for me, but changing my computer name actually starts Apache, although not shown in the user interface.

  10. #10
    Join Date
    Jul 2011
    Posts
    350

    re: Unable to turn on websharing in Mac OS X Lion

    When I challenge to do this in the terminal tell me that Apache is by now loaded and will not establish. Therefore, I killed and restarted the service in the terminal.

    If you endeavor to make the state sudo / release / apachectl which will provide you a URL that you be able to paste into Safari to establish it - mine cannot locate the page. I’m critically bearing in mind leaving to go away with Lighttpd and Apache. Well done Apple!

  11. #11
    Join Date
    Aug 2011
    Posts
    379

    Re: Unable to turn on websharing in Mac OS X Lion

    I imagine the root cause of the trouble is that the settings for the daemon launch off of the box.

    Code:
    Edit /System/Library/LaunchDaemons/org.apache.httpd.plist and remove the lines:
       <Key>Disabled</key>
      <true/>
    It is not enough to just change it to "false", apparently. I struggled with this for a while before I realized that it is necessary to completely eliminate this key to activate the devil.

Similar Threads

  1. Unable to use camera with Mac OS x lion
    By pasture in forum Operating Systems
    Replies: 6
    Last Post: 04-11-2011, 10:33 PM
  2. Unable to Turn on FileVault on Mac OS X Lion
    By Gopooo in forum Operating Systems
    Replies: 7
    Last Post: 15-10-2011, 10:23 AM
  3. Replies: 6
    Last Post: 14-10-2011, 11:16 PM
  4. Replies: 11
    Last Post: 30-09-2011, 11:04 PM
  5. How to Turn off Google Chrome 2-finger swipe gesture in OS X Lion
    By DakshaMira in forum Technology & Internet
    Replies: 4
    Last Post: 27-08-2011, 10:37 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,636,562.12129 seconds with 17 queries