Web Sharing goes Haywire

I've been using Web sharing without any incident on my machine for the last 4 months. I have not installed any new software or updates for at least 1 month, so I cant figure out why Web Sharing just plain does not work anymore.
Visiting http://localhost shows me that Apache is up and running, but when I visit the numerical IP offered by Web sharing (http://192.168.1.35) nothing happens! Safari just keeps trying to load a page that does not exist before giving up completely.
I tried reticking it, rebooting my Macbook and even ran disk utility, still no dice. 2 days ago it was working just fine - what gives??
Anyone else come across this problem?
I'm truly baffled!

here's a helpful thread: http://discussions.apple.com/thread.jspa?messageID=8768900&#8768900

Similar Messages

  • Web Sharing – What's Going Wrong?

    Hi, I've been hosting a Web site for a while using OS X and a few days ago out of the blue I couldn't access the internet. The diagnosis told me that I could connect to my ISP but not the internet. I restarted my Router but had no luck.
    Later, my connection gradually sped up to it's normal speed however I can no longer access my Web sharing documents through my external IP. Safari says the following:
    'Safari can’t open the page “http://**My IP*/” because the server where this page is located isn’t responding'
    I haven't changed any router, httpd.conf or computer settings, so what could the problem be? Here's what the Netgear log says when attempt to access the site through external IP:
    'Sat, 2009-10-24 21:28:40 - TCP Packet - Source:192.168.0.4,62729 Destination:195.82.146.120,80 - [Web Sharing rule match]'
    One thing I have noticed is that at some point my local IP changed from 192.168.0.2 to 192.168.0.4. Is this the problem?
    Please, any help will be greatly appreciated!

    It was the fact that my local IP had changed. I've changed the router's firewall accordingly.

  • 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.

  • How to do web sharing windows xp to site on macbook?

    I've created a website with iweb '08 on a macbook, 10.6.8.  I've clicked on "web sharing" in system preferences.  My ipad can access the website on the macbook, but my windows xp desktop can't open it but doesn't say "server not found"  it opens a page about APACHE.  Is the problem on the macbook or on the desktop?  And how can the problem be solved? General Information: (a) All computers are in the same wireless home network.  (b) The pc has never been able to reach shared documents on the macbook, but the macbook can access shared documents on the pc.

    Your post was almost a year ago but whatever.  It sounds to me like your pc is going to the library/webserver/documents folder to pick up your site.  But your site is most likely in your sites folder under your profile.  The addresses are different: 192.168.0.1 or whatever ending digit yours is and 192.168.0.1/~username, respectively.  Yeah, there are two different website folders. You'll see the Apache index.html in the docs folder.  Hey, at least you know "it works!"; now just replace the index doc and put your resources in there and you're hosting (port forward your router and it's on the internet for sure with your external IP as the address, otherwise it's just local).  Also, you must not have file sharing between mac and windows (windows file sharing or smb protocol or something like that) enabled on the macbook; hence, no shared docs folder.

  • Turning on Web Sharing does not work and fails to load apache web server

    Sort of answering my own question here but hope it will be useful to other people and save them some time.
    After receiving my shiny new imac with os x lion pre-installed, I was a little dismayed and confused when I went to System Preferences -> Internet and Wireless -> Sharing and attempted to check the Web Sharing. Every time I clicked this option I was told Web Sharing was starting but would then repeatedly fail and apache failed to start.
    Looking in the Console I find:
    org.apache.httpd: dyld: Library not loaded: /usr/lib/libpq.5.dylib
    org.apache.httpd: Referenced from: /usr/sbin/httpd
    org.apache.httpd: Reason: image not found
    Entering in the console:
    vim /Library/Logs/DiagnosticReports/httpd_2011-08-06-165030_localhost.crash (date and time bit will vary)
    reveals:
    Process:         httpd [2418]
    Path:            /usr/sbin/httpd
    Identifier:      httpd
    Version:         ??? (???)
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [1]
    Date/Time:       2011-08-06 16:50:30.106 +0100
    OS Version:      Mac OS X 10.7 (11A511a)
    Report Version:  9
    Crashed Thread:  0
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Application Specific Information:
    dyld: launch, loading dependent libraries
    Dyld Error Message:
      Library not loaded: /usr/lib/libpq.5.dylib
      Referenced from: /usr/sbin/httpd
      Reason: image not found
    Binary Images:
           0x1022f6000 -        0x102352fef  httpd (??? - ???) <9D63FBFD-DD87-3DD5-AD1A-D8A79FEC3EE8> /usr/sbin/httpd
    "/Library/Logs/DiagnosticReports/httpd_2011-08-06-165030_localhost.crash" 32L, 1469C
    TO FIX THIS ISSUE:
    It appears /usr/lib/libpq.5.dylib does not exist but /usr/lib/libpq.5.3.dylib does.
    Fix by creating a symbolic link from /usr/lib/libpq.5.3.dylib to /usr/lib/libpq.5.dylib
    =
    sudo ln -s /usr/lib/libpq.5.3.dylib /usr/lib/libpq.5.dylib
    Going back to System Preferences -> Internet and Wireless -> Sharing clicking Web Sharing a couple of times turns Web Sharing on successfully!
    Going to http://localhost/ displays the "It Works!" page.
    HTH people as it took me a while to find the correct solution online from:
    http://www.azattis.com/2011/07/os-x-lion-postgresql-84-install-problem.html

    Hi there,
    You seemed to have had a similar problem to what I now have and so wondered if you might be able to help me :-)
    I have posted this as a new post as well but if anyone has five mins could they take a look - I would be very grateful. Here you go:
    I am new to all this so I have probably made some simple errors and I hope someone can help me. I will retell what I have done as I haven't a clue what part of what I have done has mucked things up.
    I am really stuck. Web sharing will not start on my iMac running Lion OS X. It did work fine and then I wanted to activate PHP so my test website contact form would work (and send the data on the form throught to my email address.
    Before I did anything I turned on websharing and could view my website from another computer using: http://192.168.1.4/~stewartfergusson/
    I think followed the instructions on this link to activate PHP -http://foundationphp.com/tutorials/php_leopard.php
    I then did a few things in terminal and will paste below what I did:
    Last login: Sun Jan  1 09:01:52 on console
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd/private/etc
    -bash: cd/private/etc: No such file or directory
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd prvate
    -bash: cd: prvate: No such file or directory
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd private
    -bash: cd: private: No such file or directory
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd /private/etc
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo cp php.ini.default php.ini
    WARNING: Improper use of the sudo command could lead to data loss
    or the deletion of important system files. Please double-check your
    typing when using sudo. Type "man sudo" for more information.
    To proceed, enter your password, or type Ctrl-C to abort.
    Password:
    Stewart-Fergussons-iMac:etc stewartfergusson$
    Last login: Wed Jan  4 09:03:03 on console
    Stewart-Fergussons-iMac:etc stewartfergusson$
    Last login: Thu Jan  5 06:19:15 on console
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo In -s /usr/lib/libpq.5.3.dylib /usr/lib/libpq.5.dylib
    Password:
    sudo: In: command not found
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo ln -s /usr/lib/libpq.5.3.dylib /usr/lib/libpq.5.dylib
    ln: /usr/lib/libpq.5.dylib: File exists
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo apachectl -t
    Password:
    Syntax error on line 1 of /private/etc/apache2/httpd.conf:
    Invalid command '1', perhaps misspelled or defined by a module not included in the server configuration
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo apachectl configtest
    Password:
    Syntax error on line 1 of /private/etc/apache2/httpd.conf:
    Invalid command '1', perhaps misspelled or defined by a module not included in the server configuration
    Stewart-Fergussons-iMac:etc stewartfergusson$
    An important point to note is that I now appear to have more than one http.config file and they are located in the following locations:
    1) Macintosh HD/etc/apache2/httpd.conf.default
    2) Macintosh HD/etc/apache2/httpd.conf.default.default
    3) Macintosh HD/etc/apache2/original/httpd.conf
    I edited this file (which one I have not got a clue) and also the php.ini file within Macintosh HD/etc/ using Terminal - the command I used was sudo cp php.ini.default php.ini
    This php.ini file now exists in two locations now as well:
    1) Macintosh HD/etc/php.ini
    2) Macintosh HD/etc/php.ini.default
    I then edited this file by changing the line of code below from:
    514 error_reporting = E_ALL & ~E_NOTICE (I think it said E_DEPRECATED actually) but I am lifting this from the web page in the link above)
    To:
    514 error_reporting = E_ALL
    I then saved this file.
    I then deactivated web sharing in System Preferences and since then have not been able to restart Web Sharing. I click it and it flashes orange for a second then does not start.
    This was all done to activate PHP on my iMac so I can host my own site which has a PHP contact form page.
    Please help I am so out of my depth I am very worried I may have changed things and I am going to forget what I did.
    If you need to know anything then please ask.
    Thank you so much
    sfergusson1
    'JollyoldEngland'

  • Web sharing doesn't work on reboot

    I have to turn Web Sharing on and off to make it work after a reboot. I'm not sure when this started as I use Web Sharing intermittently for developing web sites.
    Trying to access on my Mac I get
    Safari can’t open the page “http://localhost/~me/” because Safari can’t connect to the server “localhost”.
    Works fine after going to Sharing and turning Web Sharing off and back on.
    I'm sure this has been covered but haven't had any luck searching.

    Toshiba knowledge base - how to fix webcam - http://forums.toshiba.com/t5/Video-Display-Knowled​ge-Base/How-can-I-fix-my-webcam/ta-p/281393
    Here is another post that gives some suggestions - http://www.pcauthorities.com/pc-errors/how-to-fix-​webcam-problems/
    S70-ABT2N22 Windows 7 Pro & 8.1Pro, C55-A5180 Windows 8.1****Click on White “Kudos” STAR to say thanks!****

  • Web Sharing with custom domain name

    Hi,
    I am wondering if I can use a custom domain name with the built in web sharing. Instead of it going to http://10.0.0.2/ it will be http://www.mydomain.com/. Thanks in advance.
    Ryan

    I have GoDaddy hosted domain name which I have setup to forward all web traffic to my ISP provided web page (eg http://my.webpage.ISP.com/account-name).
    There is nothing magical about that URL. So I do not see any reason why you can not use your DynDNS.org name.

  • Need help getting personal web sharing working again

    I've somehow managed to hose my apache web server and am hoping someone can offer some advice to get it running correctly again:
    my problem: I can no longer access my website files running on my mini server computer, and even when I run a simple local connection (127.0.0.1) from the mini, I get 403 Forbidden errors.
    Background: I set up a web page on a mac mini that I had set up as a mini server many years ago. When I decided to resurrect the mini and use it for this purpose again, I noted that my website contents were not sitting in my user/sites folder, but instead, were in a folder called WebServer, sitting inside the Library folder of my hard drive. Unfortunately, I lost all of my notes as to how (or why) I configured my server this way.
    I decided that I wanted to set up multiple local hosts to try to run two different web pages and followed the directions here: http://www.wonderhowto.com/how-to-host-multiple-websites-mac-mini-server-260994/
    After messing around with this a bit I started to get the 403 errors and decided to remove all the additional code mentioned in the link above in the apache config file and go back to my original set up, but this is not working.
    Is there a easy way to remove apache and install a default version like that which comes with OSX to start over with a clean config file, or can someone tell me where in the config file to search to see what else is going wrong?

    Hi Mark, some clues... & are you restarting Apache each change?
    http://discussions.apple.com/thread.jspa?messageID=11085842
    http://www.cyberciti.biz/faq/apache-403-forbidden-error-and-solution/
    http://techtrouts.com/mac-os-x-105-web-sharing-forbidden-403-on-httplocalhostuse rname/

  • Web sharing will not start OS X Lion

    Hi there,
    I am new to all this so I have probably made some simple errors and I hope someone can help me. I will retell what I have done as I haven't a clue what part of what I have done has mucked things up.
    I am really stuck. Web sharing will not start on my iMac running Lion OS X. It did work fine and then I wanted to activate PHP so my test website contact form would work (and send the data on the form throught to my email address.
    Before I did anything I turned on websharing and could view my website from another computer using: http://192.168.1.4/~stewartfergusson/
    I think followed the instructions on this link to activate PHP - http://foundationphp.com/tutorials/php_leopard.php
    I then did a few things in terminal and will paste below what I did:
    Password:
    Stewart-Fergussons-iMac:etc stewartfergusson$
    Last login: Wed Jan  4 09:03:03 on console
    Stewart-Fergussons-iMac:etc stewartfergusson$
    Last login: Thu Jan  5 06:19:15 on console
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo In -s /usr/lib/libpq.5.3.dylib /usr/lib/libpq.5.dylib
    Password:
    sudo: In: command not found
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo ln -s /usr/lib/libpq.5.3.dylib /usr/lib/libpq.5.dylib
    ln: /usr/lib/libpq.5.dylib: File exists
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo apachectl -t
    Password:
    Syntax error on line 1 of /private/etc/apache2/httpd.conf:
    Invalid command '1', perhaps misspelled or defined by a module not included in the server configuration
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo apachectl configtest
    Password:
    Syntax error on line 1 of /private/etc/apache2/httpd.conf:
    Invalid command '1', perhaps misspelled or defined by a module not included in the server configuration
    Stewart-Fergussons-iMac:etc stewartfergusson$
    An important point to note is that I now appear to have more than one http.config file and they are located in the following locations:
    1) Macintosh HD/etc/apache2/httpd.conf.default
    2) Macintosh HD/etc/apache2/httpd.conf.default.default
    3) Macintosh HD/etc/apache2/original/httpd.conf
    I edited this file (which one I have not got a clue) and also the php.ini file within Macintosh HD/etc/ using Terminal - the command I used was sudo cp php.ini.default php.ini
    This php.ini file now exists in two locations now as well:
    1) Macintosh HD/etc/php.ini
    2) Macintosh HD/etc/php.ini.default
    I then edited this file by changing the line of code below from:
    514 error_reporting = E_ALL & ~E_NOTICE (I think it said E_DEPRECATED actually) but I am lifting this from the web page in the link above)
    To:
    514 error_reporting = E_ALL
    I then saved this file.
    I then deactivated web sharing in System Preferences and since then have not been able to restart Web Sharing. I click it and it flashes orange for a second then does not start.
    This was all done to activate PHP on my iMac so I can host my own site which has a PHP contact form page.
    Please help I am so out of my depth I am very worried I may have changed things and I am going to forget what I did.
    If you need to know anything then please ask.
    Thank you so much
    sfergusson1
    'JollyoldEngland'

    Just to add I didn't post all the things I did in Terminal - here it is:
    Last login: Sun Jan  1 09:01:52 on console
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd/private/etc
    -bash: cd/private/etc: No such file or directory
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd prvate
    -bash: cd: prvate: No such file or directory
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd private
    -bash: cd: private: No such file or directory
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd /private/etc
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo cp php.ini.default php.ini
    WARNING: Improper use of the sudo command could lead to data loss
    or the deletion of important system files. Please double-check your
    typing when using sudo. Type "man sudo" for more information.
    To proceed, enter your password, or type Ctrl-C to abort.
    Password:
    Stewart-Fergussons-iMac:etc stewartfergusson$
    Last login: Wed Jan  4 09:03:03 on console
    Stewart-Fergussons-iMac:etc stewartfergusson$
    Last login: Thu Jan  5 06:19:15 on console
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo In -s /usr/lib/libpq.5.3.dylib /usr/lib/libpq.5.dylib
    Password:
    sudo: In: command not found
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo ln -s /usr/lib/libpq.5.3.dylib /usr/lib/libpq.5.dylib
    ln: /usr/lib/libpq.5.dylib: File exists
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo apachectl -t
    Password:
    Syntax error on line 1 of /private/etc/apache2/httpd.conf:
    Invalid command '1', perhaps misspelled or defined by a module not included in the server configuration
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo apachectl configtest
    Password:
    Syntax error on line 1 of /private/etc/apache2/httpd.conf:
    Invalid command '1', perhaps misspelled or defined by a module not included in the server configuration
    Stewart-Fergussons-iMac:etc stewartfergusson$

  • Web Sharing?

    Hello,
    I went to System Preferences > Sharing > I checked Personal Web Sharing. After that I get this information
    "View this computer’s website at http://ipaddress/ or your personal website at http://ipaddress/~myusername/"
    When i clicked on the first link it works and goes to an apache page saying that it was successful but when i clicked on the second link it says Forbidden"
    How can I fix that?
    Also, Where do i put the files to display my php pages?
    Thanks

    Hi,
    Installing PHP is a very simple process, but make
    very sure you follow the directions provided on this
    website below carefully. If you do not, you may be
    installing PHP more than once.
    PHP is already included with OS X's Apache server.
    How To Turn On PHP in OS X >>
    -Bmer
    Mac Owners Support Group
    Join Us @ MacOSG.com
     An Apple User Group 
    New: MacOSG Podcast
    Disclaimer required by Apple Discussions Terms of Use: MacOSG - a non-profit Apple User Group - may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Web Sharing starting up....

    Hi all
    I'm a newbie that would like to learn the basics of PHP and web applications.
    I've followed instructions and upgraded the current php on my system. I used the terminal and followed step by step instructions as i have no idea what i'm doing with that application, and coding. I tried to test a simple php file (that tells you the current date/time) in dreamweaver (soon after) and it didn't work. =(
    Well, After following more and more instructions i find my machine with a new oracle user, some sw folder with an application called fink inside it, and all sorts of little files and stuffed folders that seemed to do nothing positive for my current goal.
    I found out shortly after that i probably, simply didn't have apache up and running so once again i've folowed instruction but i've got the following issue: I'm trying to get the apache to start up by clicking the Personal Web Sharing 'start' button in the Sharing area in the System Preferences. The button works, it all goes grey which tells me that it's doing something... but unfortuantely nothing seems to be happenning. I've been through the forums and followed many terminal instructions that have been given to people with the same issues but nothing seems to be working.
    I've gone to work with all the most recent instructions and simply by using the terminal to get rid of a few #'s to get its native php kick started, and pressing that start up web sharing button in the preferences, seems to have worked fine. I haven't tested that .php file to test if its worked or not, but the Web Sharing started with no issues.
    I guess i'm a little worried that with all this tweaking and upgrading of my system that i may have i killed my chances at getting this php working on my imac, and probably injured it in other ways too.
    Can anyone give me any hints as to what i've managed to do to my machine and how i may be able to fix anything that i may have broken.
    If my novice terminology isn't helping much, i do apologise and if anyone out there is willing to help me out i'll do my best to make this all make sense.
    Nev
    imac   Mac OS X (10.4.7)  

    Hi Rick
    right.. I've been on php.net
    Gone into the intro section... copied the script from http://uk3.php.net/manual/en/introduction.php into a blank dreamweaver file. saved it as index.php and previewed the file in my safari window staright from dreamweaver (which has a root of file:///Users/.......htm)
    I get a blank screen (so i guess that means its not reading the php)
    I tried testing it locally from my works ftp area... same deal (root was like www...../test/Index.php)
    I've also tried just typing in http://192/168/0/19/~Byron/ and that isn't even showing the normal file that used to show up as standard (from the sites folder)
    which is why i'm thinking i've done something bad...
    My firewall's off =)
    It's not starting up the Personal Web Sharing (and i reckon thats the problem)
    When im just doing normal html static sites in DW its fine.. no problems with viewing locally at all. Its as soon as i introduce server technology (php) that it becomes un-viewable. (well it loads the file... it just doesn't read anything thats on it).
    Yeah its just in the Local area. I'm just trying to view pages locally, on the machine that created the files. Then upload them to the ftp server later on, once i've got it all running properly.
    Php wouldn't have NEEDED upgrading, it was just one of the things that php.net said would have been a good idea for me to do. (so i followed the advice from their site) Now i think about it, i actually upgraded php (from that site) before i found out how to unlock the native php from the system.
    Would that effect anything?
    imac   Mac OS X (10.4.7)  

  • Web Sharing set up question

    First... I thank you in advance for your time and efforts on this issue that I have.
    =========
    I have 4 macs each hooked up to separate TVs and running Plex for content serving and so far have been able to adequately manage the lot of them. I can remote Admin from my mac and I've done a good job with setting permissions and access as far as file/printer sharing goes.
    But I haven't been able to get the web Sharing features working.
    It seems easy enough... turn on the web sharing in preferences and point the browser to the correct IP address.
    When I do that I am able to reach the web page located in the top webserver/documents folder... or the ones in the users site folder from any of the locally networked machines from the IP addys that can be found in the websharing preference pane.
    But from off site... over the net... no one can get access at all... "cannot locate server" ... and "server time out" messages appear.
    These are all new Mac Minis and a new Mac Book running Snow Leopard and they seem to network rather well for me locally so I'm thinking my router is blocking????
    I have the firewall turned off and it reads that all incoming connections are allowed.
    What am I not setting/looking at properly? what need I do to allow someone to get access to my websharing folder and view a web page or download a file? Or to get access to the htdocs folder in MAMP/
    I tried installing MAMP and that all seems to be up and running but I have the same issue... local machines can access the files but off site machines can not. grrrr .... (i love macs)

    For anyone else who has issues with setting up web sharing.
    I found my solusion first by getting an Airport extreme base station and then by following the instructions posted by Thomas and I'll paste part of it here for you but there is a link you'll need to follow for the main instructions.
    Thomas says the following:
    ===============
    You can't just access machines on your home network from the outside world. Your typical home internet connection has one single dynamic IP address assigned to it. Depending on your network setup, that IP address might be your wireless router, wired router or cable/DSL modem, and that device takes responsibility for routing traffic to machines on the local network. On the local network, machines will have IP addresses like 10.0.1.1 (if you're using an Apple AirPort base station), which are completely meaningless to the outside world.
    I posted some instructions for how to get access to a specific machine on my home network from outside here:
    http://discussions.apple.com/thread.jspa?messageID=9436505&#9436505
    Of course, as I mention on that thread, if you have different hardware, this method may not work for you. Also note that you should not expect to host a website this way. Web access for your own use is one thing, but your internet service provider will shut you down if you try to host a public web site over your home network connection.
    ===========
    And one thing that I did learn unfortunately is that NO... you can't route the web sharing feature to more than one machine at a time. Kinda messes things up. At least for my mac mini it did... had to delete my user account and replace it to get back to normal after trying to set up web sharing on two machines.
    Also.. the settings changed both in the System prefs as well as for the airport are easy enough to reverse and set back your previous settings should you want to.

  • Web Sharing Issues... No PHP support

    Good morning all, I guess it's fair to say that we are having problems with PHP, but I'm curious to see if anyone is having the same issues that I am... here is the story:
    I have two Mac's, a powerbook G4, and a powermac G5. I decide to wipe the hard-drive and start fresh with my G4 so when I got leopard I got my chance.
    The install went pretty smoothy, and I'm enjoying the OS quite a lot and look forward to when I have a better Idea as to what I'm doing. On this device I was able to get MySQL server running (after I installed the wrong bit - G4 is not 64bit... do'h) but I got it up and running and can connect to my web server's database.
    With my G5 I did the standard upgrade, but here is where I wish I would have held off on that upgrade for a few weeks. When I turn on Web Sharing, and try to navigate out to http://computername.home/~Brian/ I get the message that says that I do not have permissions to access this Server...
    I do the same thing on the G4 and it works just fine, as I can't install PHP on it yet... Anyway, I've called Apple and made them aware of the issue, and I think I'm going to try some things in the terminal to perhaps turn off PHP or turn it on (apple's version of it) to see if that will let me access my web-server as now when I'm working on my website it won't let me access my MySQL etc...
    Anyway, did anyone else run into this same issue?
    Thank you,
    Brian
    http://www.comicearth.com

    I had the same/similar problems to start with.
    If your issues are the same as mine it is because Apache has been upgraded from 1.3 to 2.2.
    The thread with the details (and solution) is:-
    http://discussions.apple.com/message.jspa?messageID=5649480#5649480

  • Web Sharing with Leopard 10.5.2 and Airport Extreme Base Station HELP!!!

    Ok...I want to set up web sharing on my computer but so far my attempts have failed.
    I have an intel iMac with Leopard 10.5.2 installed and I have the latest Airport extreme base station (With draft n).
    I turn on web sharing, and of course it works locally but not when trying to be accessed over the internet.
    Now I realize that by default my routers address wont let anyone connect to my computer over the internet.
    My router has an ip of 10.0.1.1, and I assigned my computer a static ip address of 10.0.1.200.
    Now in the network preferences pane and the airport category, i set my computers IP (the 10.0.1.200), I put the gateway as 255.255.255.0, the router as 10.0.1.1 and the DNS as 10.0.1.1
    Now going over to the airport utility I added a new entry in the port mapping section, with port 80 (both public and private) and the IP of my machine, 10.0.1.200.
    Now in theory this should work but NOOOOO.
    Does anyone have the same setup? a wireless network with the new airport extreme base station and has successfully configured Web Sharing?
    Thanks in advance.
    Felipe

    Well here is an update.
    I saw an entry in apple support that said I had to change some setting in the apache folder /etc/apache2 in order to avoid getting the 403 forbidden error. I tried this and it did not work, i checked my user configuration file as well and the path to my home site directory was correct
    Anyone here have a similar setup and has it working? It shouldnt be too hard to set up web sharing through a router. It has to be possible or else a lot of people would not buy a router because of this.
    thanks in advance to anyone kind enough to help
    Bye.

  • Wake on Demand and "Web Sharing"

    Does anyone know if the new Wake on Demand feature is supposed to work with the "web sharing"? It doesn't seem to be working for me. The iMac does wake fine, however, with SSH, file sharing, screen sharing, and printer sharing.

    Hi mcewen. The Wake on Demand feature works with any service being advertised with Bonjour. The caveat with Web Sharing is that it only advertises itself with Bonjour if you've modified one of the default web pages. So all you have to do is go into the Sites folder in your Home directory, and make a change to the index.html file, and then turn off Web Sharing and turn it back on. That should get it to be advertised with Bonjour (you can verify this by going to the Bonjour bookmarks section in Safari to make sure your web page shows up). After that it will support Wake on Demand using Web Sharing.

Maybe you are looking for

  • Certain websites don't play - add-ons or plug-ins interfere

    I've been having strange problems for a couple of weeks. In general, my computer works okay, but certain websites don't manage to play videos or audio while others do. I tried disabling the av firewall to see if that was blocking anything, but it was

  • Classes for converting a flat file to XML

    I've been asked to convert text in a flat file to an XML document. The XML document must conform to an XML schema. Currenlty, there is no requirement to store the resulting xml in the database. Therefore my approach will be: 1. parse the flat file an

  • Iphone not in my devices

    Hi, I have had an iPhone 3GS for 2 years, about 6 months ago, iTunes on my PC (Windows XP) stopped recognising my iPhone. The PC recognises it (ie. it shows up as a camera in My Computer and I can grab photos off of it.) I didn't find it too much of

  • Query tuning guidance..Thanks!!!!

    Guys, Please find the explain plan of two of my queries. explain plan -1: </pre> | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Pstart| Pstop |                                                             | 0 | SELECT STATEMENT | | 51M|

  • Mobile E-mail Expired?

    I recently got on the fairly new $35 prepaid plan, and I got the Samsung Intensity III.  I noticed the mobile e-mail application, and I decided to use it.  I found it much more convenient than using the mobile web e-mail, and then I noticed that it e