Web sharing not activating

I'm attempting to activate internet sharing from either Wireless to Ethernet, and vise versa. I've done it before, both ways, but for some reason it won't activate any more. I think this happened rather recently. I'd prefer to avoid any OS reinstallations, but I am completely comfortable with tinkering with OpenFirmware and the command line, if that's required.

If by "not activate anymore" you mean that checking it ON doesn't stick, then most likely it's a problem with one of these files...
/Users/nnnn/Library/Preferences/com.apple.internetconnect.plist
/Library/Preferences/SystemConfiguration/preferences.plist
/Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist
/Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
/Library/Preferences/com.apple.sharing.firewall.plist
You can Trash them and reboot and setup again, or look at them/edit them with Property List Editor.
Then again, it's sometimes as simple as a Permission fix needed, I always start by running Applejack...
http://www.versiontracker.com/dyn/moreinfo/macosx/19596
After installing, boot holding down CMD+s, then when the prompt shows, type in...
applejack AUTO
Then let it do all 5 of it's things.
Of course you can do all these things by hand in Single User mode too.

Similar Messages

  • Web sharing not working in 10.5.7?

    Hi,
    I am attempting to use Web sharing to test websites in local, but it doesn't seem to work; whenever I connect to the MacBook using http://localhost, it fails, saying server cannot be found. Same goes when I connect using the iPod Touch, typing the MacBook's IP adress, 192.168.4.119. No result either when using Windows or Ubuntu; server cannot be reached.
    I already tried creating another admin user, to no avail. Also used Disk Utility to repair permissions errors. Also rebooted the router, no effect.
    Using an externally-installed OS 10.5.7 works, though, as well as Distant session, Screen sharing and Fiel sharing.
    Console is full of error messages such as:
    06/06/09 21:59:04 org.apache.httpd[742] (13)Permission denied: make_sock: could not bind to address [::]:80
    06/06/09 21:59:04 org.apache.httpd[742] (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
    06/06/09 21:59:04 org.apache.httpd[742] no listening sockets available, shutting down
    06/06/09 21:59:04 org.apache.httpd[742] Unable to open logs
    06/06/09 21:59:04 com.apple.launchd[387] (org.apache.httpd[742]) Exited with exit code: 1
    06/06/09 21:59:04 com.apple.launchd[387] (org.apache.httpd) Throttling respawn: Will start in 10 seconds
    06/06/09 21:59:08 com.apple.launchd[1] (org.apache.httpd) Unknown key: SHAuthorizationRight
    06/06/09 21:59:08 org.apache.httpd[746] (2)No such file or directory: httpd: could not open error log file /private/var/log/apache2/error_log.
    06/06/09 21:59:08 org.apache.httpd[746] Unable to open logs
    06/06/09 21:59:08 com.apple.launchd[1] (org.apache.httpd[746]) Exited with exit code: 1
    06/06/09 21:59:08 com.apple.launchd[1] (org.apache.httpd[746]) Exited with exit code: 1
    06/06/09 21:59:08 com.apple.launchd[1] (org.apache.httpd) Throttling respawn: Will start in 10 seconds
    06/06/09 21:59:14 org.apache.httpd[750] (13)Permission denied: make_sock: could not bind to address [::]:80
    06/06/09 21:59:14 org.apache.httpd[750] (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
    06/06/09 21:59:14 org.apache.httpd[750] no listening sockets available, shutting down
    06/06/09 21:59:14 org.apache.httpd[750] Unable to open logs
    06/06/09 21:59:14 com.apple.launchd[387] (org.apache.httpd[750]) Exited with exit code: 1
    06/06/09 21:59:14 com.apple.launchd[387] (org.apache.httpd) Throttling respawn: Will start in 10 seconds
    06/06/09 21:59:18 org.apache.httpd[751] (2)No such file or directory: httpd: could not open error log file /private/var/log/apache2/error_log.
    This MacBook was formatted yesterday, restored from TM backup, updates were applied, before starting to use it.
    I have a Time Machine dating from before this restore, but only started using Web sharing today.
    What operation should I do to solve this?
    BTW, I verified the config file using this command:
    apachectl configtest
    httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.4.119 for ServerName
    Syntax OK

    Just did it now. Both http://127.0.0.1:631/ and http://localhost:631/ gives out the CUPS server web interface. However, putting either http://127.0.0.1/ or http://localhost/ gives out the same error that server can't be found. Seems linked to Apache only.

  • Personal Web sharing not installed HOW - do I install?

    Hi - I have had an extremely frustrating 4 hours or so between trying to google a solution to the problem and examining the contents of the installation disk with pacifist - I am still none the wiser.
    I have not tried to set up a localhost server on my Intel Mac running 10.4.9 I have had since september and it should be as easy as pie to do so from what I have read.... but not in my case!
    I went to apple > system preferences > sharing and tried to check personal web sharing as suggested in many places but get this for my trouble
    'Web Sharing is not installed on this computer. To install Web Sharing, use the Mac OS X installer.'
    My question is how do I do so without dausing a reformat and still not getting the option?
    I have used pacifist to try and locate either PWS or apache installers inon the disc but sinply am at a loss to find either. Hope someone can help
    Thanks in advance

    NOt that I am aware of - I may have tried to do something like launch the apache index page from httpd or similar in the first couple of days of owning the machine but unless by some sure accident I have not altered any settings.... ( I never got into admin settings or any of that from what I remember)
    I'm not even looking for PHP or mySQL now - Just a running WS so that I can test CSS in it.
    Even so - I still have absolutely no idea where the pws taller is located on the installation disk that I am referred to so therefore am not willing to unstall it for reasons mentioned. I most certainly do not want a reinstall for the sake of a little but in my case neccessary application
    Good point Gnarlodious - like to hear what angle you are coming from on this (particularly if you can help me get this sorted out from the disk as Apple suggest. Much as I love my conversion to apple I have to say the documentation and overall support from the site is appalling (I thought Microsoft was bad......). Instructions such as that encountered on the PWS toggle are vague to say the very least
    Thanks for the reply

  • Web Sharing not starting up

    i have recently installed the Darwin web streaming serer onto my Mac Mini (running on Mac OS X 10.4.9) and since installing it my web sharing option doesnt start up or says web sharing is not installed. i have restarted my mac and re installed Mac OS X but still doesnt work. i am trying to avoid reformatting my hard drive.
    Jak
    Mini Mac Power PC, Mac Book Pro   Mac OS X (10.4.9)  

    Don't reformat your hard drive, it won't do any good. The streaming server takes the place of apache which Apple considers "web sharing". If you started up apache and it also listened on port 80, which would you expect to get when you made an http request? You now have "web sharing" up all the time (confirm this by putting "http://localhost/" into your browser) just not with the official Apple server, which is why you can't select that option.

  • Web Sharing Not Starting Up After installing PHP

    On Mac OS 10.4.9 on a G4 PPowerbook, using O'Reilly's "Learning PHP and MySQL," my Personal Web Sharing will not start up.
    I enabled Apache per their instructions and things seemed fine.. Then I i installed PHP with these commands, sudo vi/etc/httpd/httpd.conf , then %s/#LoadModule php/LoadModule php/. Then %x/#AddModule php/AddModule php/. Then <espcape>:wq. Then
    vi ~/Sites/test.php
    o
    <?php phpinfo() ?>
    <escape>:wq
    First of all, the test query from the book didn't work quite right, but now my Personal Web Sharing won't start up. It says "starting up." forever.
    Help. And if you can't tell, I have extremely limited knowledge of Unix and command lines, etc.
    What do I do? Assume I know nothing... : )

    The first thing to do is read the Apache error log which will give you more detail about what's gone wrong.
    <pre class=command>tail /var/log/httpd/error_log</pre>
    The other thing to do is run configtest which might also indicate errors in the configuration:
    <pre class=command>sudo apachectl configtest</pre>
    although it'll probably tell you the same thing as the error log.

  • Web Sharing not an available option in preference sharing

    I bought a Max Mini with OS X 10.6.4 server already installed. I dont have web sharing as an option to check when I go to system preferences>sharing. Is this an option that I need to install myself? I thought web sharing was installed by default? Any idea why web sharing is not available? I checked and /etc/apache2 is already installed.
    Any help or ideas are very much appreciated.

    I dont have web sharing as an option to check when I go to system preferences>sharing
    No, you won't.
    System Preferences -> Web Sharing is the personal web sharing option in Mac OS X client, not Server
    Since you're running Server now, things are a little different. You need to use Server Admin (in your /Applications) folder to manage the web service on your machine (as well as most other server-level services).

  • Osx 10.5.7 Web Sharing not working

    Web Sharing wasn't working for me when I turned it on.
    here is the output of apachectl configtest
    $ apachectl configtest
    dyld: Library not loaded: /usr/lib/libaprutil-1.0.dylib
    Referenced from: /usr/sbin/httpd
    Reason: no suitable image found. Did find:
    /usr/lib/libaprutil-1.0.dylib: mach-o, but wrong architecture
    /usr/lib/libaprutil-1.0.dylib: mach-o, but wrong architecture
    /usr/lib/libaprutil-1.0.dylib: mach-o, but wrong architecture
    /usr/sbin/apachectl: line 78: 2455 Trace/BPT trap $HTTPD -t
    is there any way to force a reinstall of the apache web server to fix this problem?
    thanks!

    Nope. That's a new one on me. That's pretty bizarre. I'm struggling to think of any remotely plausible cause.... Is this hard drive bus-powered, by any chance? Is your Airport antenna loose? Are you right at the threshold of being able to get a good signal when the drive isn't connected? Did you take the case off of the drive and stick the bare mechanism right up against the Airport antenna?
    This oddly reminds me of a story a friend of mine told about a mainframe that he was servicing (or maybe it was a friend of his, I forget the details). It kept crashing every night. He'd come out and service it and couldn't find anything wrong. Eventually, he stayed there overnight to see what happened, and saw a member of the cleaning staff plug in a vacuum cleaner (maybe unplugging some other piece of equipment at the same time, I forget), and bam, the machine crashed....
    It's that kind of problem.... That's just really bizarre....

  • Lion Web Sharing not working

    So, let's say I thought of making my MBP early 2011 running Lion (Not LION SERVER) to be a HTTP host. I'd like to switch Web Sharing on in System Preference but it won't turn on. I pressed on the check box, and after 1 second, it became unchecked again. It showed on the right hand side that it is "starting" but then it changed back to "Off". How strange it is. I've tried for hundreds of times (really!). I don't wanna change~/System/Library/LaunchDaemons/org.apache.httpd.plist cuz it actually caused the problem of MBP not booting up. Any other methods will be fine. Thanks!

    Thanks for your reply, but it doesn't seem to me that it's the file that broke the apache server.
    The fact is: I couldn't turn on Web Sharing, so I changed the mentioned file.  But it doesn't help.  Also my MBP won't boot after this.  And after days of googling on another machine, I fixed the booting problem (I'm now using my MBP!).  But the Web Sharing still refuses to be turned on.  I've checked the file I edited and it is still there edited.  I'm afraid changing it back would cause MBP not booting again!  What should I do now?

  • Personal web sharing not turning on

    hi all
    my personal web sharing in system preferences / Sharing will no longer turn on.
    I checked it in Terminal and get the following message:
    Barry-Kimmelmans-Computer:~ barrykimmelman$ httpd -t {enter}
    Syntax error on line 247 of /etc/httpd/httpd.conf:
    Invalid command '?ClearModuleList', perhaps mis-spelled or defined by a module not included in the server configuration
    Barry-Kimmelmans-Computer:~ barrykimmelman$ sudo apachectl start
    Password:
    Syntax error on line 247 of /etc/httpd/httpd.conf:
    Invalid command '?ClearModuleList', perhaps mis-spelled or defined by a module not included in the server configuration
    /usr/sbin/apachectl start: httpd could not be started
    Barry-Kimmelmans-Computer:~ barrykimmelman$
    so, the problem seems to lie within the httpd.conf file although I have no clue what that is or even where it is on my system. I did a "find" search for that file name but nothing showed up.
    Even if I found the file I'd have no idea how to fix it.
    Any suggestions??
    Thanks for any help you could offer me.
    Barry
    PS: any ideas that anyone could suggest I better mention up front that I would need in "explanation for dummies" format as I am clueless in the networking, server, Apache etc aspects of the system

    I tried gnardious's method and Anthony's and still nothing.
    here are the messages I got in Terminal on both
    Barry-Kimmelmans-Computer:~ barrykimmelman$ sudo cp /private/etc/httpd/httpd.conf.bak /private/etc/httpd/httpd.conf ; apachectl start
    Password:
    fopen: Permission denied
    httpd: could not open error log file /private/var/log/httpd/error_log.
    /usr/sbin/apachectl start: httpd could not be started
    Barry-Kimmelmans-Computer:~ barrykimmelman$ sudo cp /etc/httpd/httpd.conf.default /etc/httpd/httpd.conf
    Barry-Kimmelmans-Computer:~ barrykimmelman$
    Barry-Kimmelmans-Computer:~ barrykimmelman$
    Barry-Kimmelmans-Computer:~ barrykimmelman$ apachectl start
    Processing config directory: /private/etc/httpd/users/*.conf
    Processing config file: /private/etc/httpd/users/barrykimmelman.conf
    Processing config file: /private/etc/httpd/users/test.conf
    fopen: Permission denied
    httpd: could not open error log file /private/var/log/httpd/error_log.
    /usr/sbin/apachectl start: httpd could not be started
    Barry-Kimmelmans-Computer:~ barrykimmelman$
    I tried it again and got this:
    Barry-Kimmelmans-Computer:~ barrykimmelman$ Barry-Kimmelmans-Computer:~ barrykimmelman$ sudo cp /private/etc/httpd/httpd.conf.bak /private/etc/httpd/httpd.conf ; apachectl start
    -bash: Barry-Kimmelmans-Computer:~: command not found
    Processing config directory: /private/etc/httpd/users/*.conf
    Processing config file: /private/etc/httpd/users/barrykimmelman.conf
    Processing config file: /private/etc/httpd/users/test.conf
    fopen: Permission denied
    httpd: could not open error log file /private/var/log/httpd/error_log.
    /usr/sbin/apachectl start: httpd could not be started
    Barry-Kimmelmans-Computer:~ barrykimmelman$ Password:
    -bash: Password:: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ fopen: Permission denied
    -bash: fopen:: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ httpd: could not open error log file /private/var/log/httpd/error_log.
    -bash: httpd:: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ /usr/sbin/apachectl start: httpd could not be started
    usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)
    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status enabled
    status - dump a short status screen; requires lynx and mod_status enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not running
    configtest - do a configuration syntax test
    help - this screen
    usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)
    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status enabled
    status - dump a short status screen; requires lynx and mod_status enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not running
    configtest - do a configuration syntax test
    help - this screen
    usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)
    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status enabled
    status - dump a short status screen; requires lynx and mod_status enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not running
    configtest - do a configuration syntax test
    help - this screen
    usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)
    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status enabled
    status - dump a short status screen; requires lynx and mod_status enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not running
    configtest - do a configuration syntax test
    help - this screen
    usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)
    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status enabled
    status - dump a short status screen; requires lynx and mod_status enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not running
    configtest - do a configuration syntax test
    help - this screen
    usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)
    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status enabled
    status - dump a short status screen; requires lynx and mod_status enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not running
    configtest - do a configuration syntax test
    help - this screen
    Barry-Kimmelmans-Computer:~ barrykimmelman$ Barry-Kimmelmans-Computer:~ barrykimmelman$ sudo cp /etc/httpd/httpd.conf.default /etc/httpd/httpd.conf
    -bash: Barry-Kimmelmans-Computer:~: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ Barry-Kimmelmans-Computer:~ barrykimmelman$
    -bash: Barry-Kimmelmans-Computer:~: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ Barry-Kimmelmans-Computer:~ barrykimmelman$
    -bash: Barry-Kimmelmans-Computer:~: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ Barry-Kimmelmans-Computer:~ barrykimmelman$ apachectl start
    -bash: Barry-Kimmelmans-Computer:~: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ Processing config directory: /private/etc/httpd/users/*.conf
    -bash: Processing: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ Processing config file: /private/etc/httpd/users/barrykimmelman.conf
    -bash: Processing: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ Processing config file: /private/etc/httpd/users/test.conf
    -bash: Processing: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ fopen: Permission denied
    -bash: fopen:: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ httpd: could not open error log file /private/var/log/httpd/error_log.
    -bash: httpd:: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ /usr/sbin/apachectl start: httpd could not be started
    usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)
    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status enabled
    status - dump a short status screen; requires lynx and mod_status enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not running
    configtest - do a configuration syntax test
    help - this screen
    usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)
    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status enabled
    status - dump a short status screen; requires lynx and mod_status enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not running
    configtest - do a configuration syntax test
    help - this screen
    usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)
    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status enabled
    status - dump a short status screen; requires lynx and mod_status enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not running
    configtest - do a configuration syntax test
    help - this screen
    usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)
    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status enabled
    status - dump a short status screen; requires lynx and mod_status enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not running
    configtest - do a configuration syntax test
    help - this screen
    usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)
    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status enabled
    status - dump a short status screen; requires lynx and mod_status enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not running
    configtest - do a configuration syntax test
    help - this screen
    usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)
    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status enabled
    status - dump a short status screen; requires lynx and mod_status enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not running
    configtest - do a configuration syntax test
    help - this screen
    Barry-Kimmelmans-Computer:~ barrykimmelman$ Barry-Kimmelmans-Computer:~ barrykimmelman$
    -bash: Barry-Kimmelmans-Computer:~: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ sudo cp /etc/httpd/httpd.conf.default /etc/httpd/httpd.conf
    Barry-Kimmelmans-Computer:~ barrykimmelman$

  • Personal Web sharing not starting

    I've been trying to start personal web sharing and it's not starting up...I already did the apachectl start command in the terminal and I got the following message:
    Syntax error on line 8 of /private/etc/httpd/users/+entropy-php.conf:
    Cannot load /usr/local/php5/libphp5.so into server: (reason unknown)
    /usr/sbin/apachectl start: httpd could not be started
    [Process exited - exit code 3]
    I had problems installing php before that happened...and it seems that I can't still the latest version of php since I tried installing it many times and all came out with errors. What can I do in order to make web sharng start? Thanks in advance
    Never mind guys...sorry but I think I found the answer, I searched the forum before but I couldn't find it...sorry about that...be safe
    Message was edited by: GaToRMade

    Cosizzle, not sure this will help either, but try trashing...
    /Users/nnnn/Library/Preferences... the whole Prefs folder there.
    /Library/Preferences/SystemConfiguration... the whole SysConfig folder.
    /Library/Preferences/com.apple.AppleFileServer.plist
    Reboot... of course you dont have to trash them, you can just move them to the desktop to drag back if it doesn't work.

  • Web Sharing not working

    Hi,
    I enable Web Sharing under System Preferences, but when I click the link provided, I get this error: "The connection to the server was reset while the page was loading." What can I do to fix this? I'd greatly appreciate any help (I'm running Lion).

    I am having the same problem.
    Here is the error message in console:
    2/15/08 10:52:43 AM org.apache.httpd[2616] httpd: Syntax error on line 455 of /private/etc/apache2/httpd.conf: Syntax error on line 15 of /private/etc/apache2/extra/httpd-userdir.conf: Syntax error on line 1 of /private/etc/apache2/users/dagny.conf: /private/etc/apache2/users/dagny.conf:1: <Directory> was not closed.
    line 455 contains:
    Include /private/etc/apache2/extra/httpd-userdir.conf
    file /private/etc/apache2/extra/httpd-userdir.conf contains (comments removed):
    UserDir Sites
    Include /private/etc/apache2/users/*.conf
    file /private/etc/apache2/users/dagny.conf: contains:<Directory "/Users/dagny/Sites/">
    
Options Indexes MultiViews
    
AllowOverride None

    Order allow,deny

    Allow from all

    </Directory>
    the Director tag is clearly closed, is it not?

  • Web sharing not working (Forbidden error)

    http://localhost/~myusername  doesnt work with web sharing turned on.
    http://192.168.0.102/ (my local IP on the network) also fails to work.
    It won't open locally or from other computers on the network.
    I tried the apple fix here http://support.apple.com/kb/TA25038
    Doesn't help.
    The exact error I get is
    Forbidden
    You don't have permission to access /index.html on this server.
    Apache/2.2.20 (Unix) DAV/2 Server at 192.168.0.102 Port 80

    No one can help?
    I've tried everything I can think of/google.

  • Web Sharing Not Working on External Computers

    OK, here's my problem.  I cannot view my websites on external computers (e.g. work computer, neighbor's computer, etc.) that I'm hosting on my Mac Mini.
    I'm running a new Mac Mini with OS X Lion, with the latest update.  I have Web Sharing turned on.  I have my firewall on, but the options show that I'm allowing web sharing.
    When I visit my site on my local computer, it works fine.  I type my domain name in my browser, and it finds my website.
    But when I'm on an external computer anywhere else I get this message:
    Safari can’t connect to the server.
    Safari can’t open the page “http://192.168.1.100/~vgadisciple/clan_vga/index.html” because Safari can’t connect to the server “192.168.1.100”.
    I have tried various browsers.  I have turned off my firewall.  I have cleared the cache in the various browsers.   I have made sure Apache is running via my Terminal.   I have tried everything I can think off.
    Why can't I view my website from any other computer besides my local machine?  Please help.  I'm tired of paying $200 a year to a company to host my website when I can do it myself.
    Any help resolving this issue will be greatly appreciated.

    OK, no one was able to help me.  I realized what I was doing wrong.... and I should have realized it...
    192.168.x.xxx IP Addresses are always local IP addresses, and computers on the WAN cannot acccess that via the hypertext transfer protocol.  I should have known this, but Apple's web sharing was pretty clear that my 192.168 IP address would work, and I thought behind the scenes it would work out the details.  But since OS X Lion is more like Windows ME than previous OS X versions, I shouldn't have assumed that.
    To make it work, I subsititued my LAN IP address of 192.168.1.100 with the IP address from my ISP.
    Then after that I logged into my router and I used port forwarding, named the port HTML and using port 80, via TCP, and forwarded that to my local 192.168.1.100 IP address.  And now it works fine.
    So for example, my URL, instead of being http://192.168.1.100/~vgadisciple/clan_vga/index.html, I substituted 192.168.x.xxx with my IP address given to me by my ISP, which is 98.203.xxx.xx.
    Works like a charm.

  • Web Sharing not working after installing security update

    I have been using Web Sharing without problems for several months, but now, after installing the latest security update, my browser cannot find my server at macbook.local.
    The console error messages read:
    10/15/08 11:35:17
    AM org.apache.httpd644
    httpd: Syntax error on line 455 of /private/etc/apache2/httpd.conf: Syntax error on line 15 of /private/etc/apache2/extra/httpd-userdir.conf: Syntax error on line 8 of /private/etc/apache2/users/+entropy-php.conf: Cannot load /usr/local/php5/libphp5.so into server: dlopen(/usr/local/php5/libphp5.so, 10): no suitable image found. Did find:\n\t/usr/local/php5/libphp5.so: no matching architecture in universal wrapper
    10/15/08 11:35:17 AM
    com.apple.launchd[1]
    (org.apache.httpd644) Exited with exit code: 1
    I have read a number of other posts (and searched a bit on Google), but nothing I found seems to address this particular console error message.
    What should I do?

    This page fixed the problem. For me this is the part that I had to run:
    Problem 2: Apache is 64 bit, entropy is 32 bit.
    The only solution to this that I've seen is to force Apache to be 32 bit. For intel based machines:
    Code:
    sudo cp /usr/sbin/httpd /usr/sbin/httpd-fat
    sudo lipo /usr/sbin/httpd -thin i386 -output /usr/sbin/httpd
    that will strip everything except the 32 bit intel code from httpd (after making a backup), forcing it to be 32 bit. For PPC, the command will be similar.
    This fix is a bit tacky, but shouldn't cause any problems.
    After running this everything worked as normal. Thanks to everyone that helped.

  • Personal web sharing not working anymore. localhost

    I've had my personal web sharing working fine for some time now. I've been using it to develop PHP sites and such locally. I recently added a local version of wordpress and just now restarted the server by opening my sys prefs and going into sharing and clicking "web sharing" off and then back on in order to restart it. After doing that I can't access my localhost sites. I get this message "Safari can’t connect to the server." when clicking on either of the two links displayed in web sharing pref.
    Any thoughts on what is going wrong here?

    anyone?

Maybe you are looking for