Web sharing -- deciphering my address

Hi all, I've got a question about web sharing..
All the information I'm seeing about web sharing says your address will be http://ipaddress/~username/
I've set up web sharing through my sys prefs and it says my address is
http://jsmith-01.mycompany.net/~username/
I'm wondering where the 'jsmith-01' (just an example) comes from. Is it coming from my computer or from my companies network? How would I change it?
Powerbook G4   Mac OS X (10.4.4)  
Powerbook G4   Mac OS X (10.4.4)  

That should come from the sharing preference pane - and should end in .local

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.

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

  • Can't get Web Sharing to Work

    I can't seem to get Web Sharing to work internally or externally with the AE. ON the G5 with MacOS 10.5.6, I have Web Sharing turned on under Sharing, Security > Firewall allows all incoming, Network configured as DHCP with IP 10.1.4.
    On the AE, under Internet > Internet Connection I have Using DHCP, Connection Sharing = Share a public IP address. Under DHCP I have a DHCP reservation for my G5 10 10.1.4. Under NAT, I have enable default host at 10.1.4. I currently have NAT Port Mapping Protocol on and have Web Sharing configured (though I have tried with it off).
    Under System Preferences > Sharing and Web Sharing selected, when I select my computer's website I get Safari can't connect to server. Same when I try to access a web page hosted here via dyndns.
    So, there must be something I'm doing to cause this but I sure can't figure it out.
    Any ideas?
    Ed

    Solved. Just did created /var/log/apache2 directory and a chmod 755 on the directory.
    Had to keep digging through discussions to find it.

  • I cant activate my web sharing in system preferences

    I cant activate my web sharing in system preferences, what do I do ?
    tks for help...

    Here's a quickly copy and pasted excert from David Pogue's book, Lion: The Missing Manual...
    Firing Up Web Sharing
    Here’s how you turn your Mac into a low-budget Web site: Put the HTML documents, graphics, and files you want to publish into your Home → Sites folder. Every account’s Home folder has a Sites folder, and therefore the Mac can actually serve up lots of Web sites at once. Your Web site’s home page, by the way, won’t appear unless it’s named index.html. (Apple has already put an index.html document into your Sites folder, just to give you the idea; feel free to replace it.) And the other files you put in Sites aren’t accessible unless they’re linked from your index.html page.
    Open System Preferences; click Sharing. Turn on the Web Sharing radio button.
    Use the Sharing System Preferences pane to make designated folders on your hard drive available to anyone on your network. Note that your Mac’s IP address, shown here in underlined type, works only when people connect from across the local network. It probably won’t work from across the Internet; see the box on the facing page. You’ve just made the contents of your Sites folder available to anyone who connects to your Mac. Also note the line below the Computer Name box. That’s your Mac’s Bonjour name, which is a bit friendlier than its IP address. Send your network address to your friends and coworkers
    People on your local office network can use your Mac’s Bonjour name to connect. It appears at the top of the Sharing pane, as shown in Figure 22-1. For example, your colleagues can type http:// office-mac.local/ ~ chris into their Web browsers, where office-mac.local is your Mac’s Bonjour name and chris is your short user name. If other people will be connecting from the Internet, you need to figure out your public IP address; as noted in the box on The IP Address Mess: Port Forwarding, that might be your router’s IP address, not your Mac’s. Your Mac Web site’s address might be, for example, http:// 111.222.3.44/ ~ chris/ (the number is your public IP address, and the name should be your short user name). Don’t forget the final slash. Tell your friends to bookmark it so they won’t have to remember all that. You’ve just put your Mac-based Web page on the Internet for all to see— that is, all who know your secret Web address. Maybe you’ll want to distribute the address only to other people on your office network, using your tiny Web site as a distribution source for documents. Or maybe you’ll want to go whole-hog, hosting an e-commerce Web site (read on). The Mac’s Own Web Site The instructions above show you how to create a Web site in your Home → Sites folder. In other words, they guide you through the process of creating a personal Web site. But if you have an Administrator account (Chapter   12), you can also put your Web pages into the main hard drive window’s Library → WebServer → Documents folder. This is your Mac’s main Web site folder, and its address is simply, for example, http:// 111.222.3.44/. That is, it’s just your public IP address, no user name needed. (Here again, if people will be connecting from across your office network, they can replace the IP number with your Mac’s Bonjour name.) Working with this primary Web site folder is only slightly different from the personal ones described above. Because you’re now working inside an official Mac OS X system folder, you must mind your permissions. Using the File → Get Info command, you should set up the permissions of any folders and documents inside the Library → Web-Server → Documents folder (an Images folder, for example). That way, you can ensure that you’re in control of which visitors are allowed to do what with your Web documents. The Easiest Way to Distribute Files Here’s a handy secret: If there isn’t a document whose name is index.html in your Sites folder (or index.html.en in your Library → WebServer → Documents folder), then visitors see, in their browsers, a handy list of the files that are in that folder (see Figure   21-2). This is a terrific convenience: It offers a quick, simple way for you to make a bunch of documents available for downloading. All your visitors have to do is click one of these file names. It downloads immediately, no matter what kind of computer your Web visitor is using.
    Pogue, David (2011-10-19). Mac OS X Lion: The Missing Manual: The Missing Manual (pp. 816-817). OReilly Media - A. Kindle Edition.
    Maybe this will help? It will at least bump the message up again!
    Clinton

  • Web sharing - viewing html files from Mac to PC

    I am creating a website using QuarkXpress. Now I uploaded my html and image folder directly to my Site folder. My client has a PC, but cannot open the http address to view the page. Web sharing is on, also file sharing. What did I miss?? Thanks for your help.
    I highlighted websharing in system preferences and gave my client my computer address. But the page does not load?
    What's the difference from a remote computer and local IP range? I am confused there???

    Do you have more than one device connected to your Router or Modem?
    To see the difference between local & Remote, compare your IP in System Preferences>Network>TCP/IP tab & what your outside IP is...
    what's my ip...
    http://www.whatsmyip.org/

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

    Hi All
    I have created a website and have uploaded it into /Library/WebServer/Documents/.
    I have turned on web sharing and then opened up safari and directed it to my computer name which is
    {apple.local} wothout the brackets, instead of it bringing up the web page automatically it brings up the Index of page and lists all the folders and files there.
    To make it display the web page i have to type http://apple.local/index.htm
    is there a way to make it automatically open the page instead of typing it in with the extension after it?
    I have about 5 macs in my place and want to be able to allow all to see the page but not everyone know's about html code and dont know about putting /index.htm after the address ?
    Thanks

    Solved the problem now, for some reason the files were called default.htm instead of index.htm
    Apple must have some filter to only search for index.htm
    i changed the main page to index.htm and tried the page name and worked fine
    Cheers anyway

  • Web Sharing - name uses weird domain name instead of IP

    Just bought a new MacBook Pro and transferred my account info from my other MacBook Pro. When I go to Web Sharing to click on the link to go to my website on my local drive I get someonesname.companyname.net/~myname.
    I need it to be the IP address.
    The domain name someonesname.companyname.net shows up in the Networks Netbios setting as well.
    I had to fix this on the last MacBook Pro, but that was two years ago and can't remember what I did to fix.
    HELLLLPPPPPPP!

    Just bought a new MacBook Pro and transferred my account info from my other MacBook Pro. When I go to Web Sharing to click on the link to go to my website on my local drive I get someonesname.companyname.net/~myname.
    I need it to be the IP address.
    The domain name someonesname.companyname.net shows up in the Networks Netbios setting as well.
    I had to fix this on the last MacBook Pro, but that was two years ago and can't remember what I did to fix.
    HELLLLPPPPPPP!

  • Web sharing suddenly stops working

    Hello there!
    I'm using web sharing all the time to stream content from my mac to my ps3. It was always working flawlessly with no issues whatsoever. Today there's no way I can connect to from my ps3 and any other device as well. It's not a password error message I'm just getting a "could not connect to the server" error.
    I opened up the apache 2 server log and I'm getting a variety of errors. I'm not really sure though what they mean.
    If anyone has any ideas please let me know!!
    Here's the log
    "[Sat Dec 05 22:33:07 2009] [notice] caught SIGTERM, shutting down
    [Sat Dec 05 22:33:32 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
    mod_bonjour: Skipping user 'dk79' - cannot read index file '/Users/dk79/Sites/index.html'.
    [Sat Dec 05 22:33:32 2009] [notice] Digest: generating secret for digest authentication ...
    [Sat Dec 05 22:33:32 2009] [notice] Digest: done
    [Sat Dec 05 22:33:32 2009] [notice] Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8k DAV/2 PHP/5.3.0 configured -- resuming normal operations
    [Sat Dec 05 22:36:20 2009] [error] [client 192.168.1.3] File does not exist: /Library/WebServer/Documents/favicon.ico, referer: http://192.168.1.3/~dk79/PS3/
    [Sat Dec 05 22:36:21 2009] [error] [client 192.168.1.3] File does not exist: /Library/WebServer/Documents/favicon.ico, referer: http://192.168.1.3/~dk79/PS3/
    [Sat Dec 05 22:36:51 2009] [notice] caught SIGTERM, shutting down
    [Sat Dec 05 22:37:25 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
    httpd: aprsockaddr_infoget() failed for dk79.local
    httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    mod_bonjour: Skipping user 'dk79' - cannot read index file '/Users/dk79/Sites/index.html'.
    [Sat Dec 05 22:37:25 2009] [notice] Digest: generating secret for digest authentication ...
    [Sat Dec 05 22:37:25 2009] [notice] Digest: done
    [Sat Dec 05 22:37:25 2009] [notice] Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8k DAV/2 PHP/5.3.0 configured -- resuming normal operations

    I too am getting the same problem. Web Sharing WAS fine now I get the following message:
    NOTE ~myusername has been substituted to avoid confusion.
    Error!
    Could not connect to remote server
    You tried to access the address http://192.168.1.253/~myusername/, which is currently unavailable. Please make sure that the Web address (URL) is correctly spelled and punctuated, then try reloading the page.
    Using Terminal I get:
    /usr/sbin/apachectl configtest
    Syntax OK
    ls -l /usr/sbin/apachectl
    -rwxr-xr-x 1 root wheel 3640 24 sep 2007 /usr/sbin/apachectl
    which apachectl
    /usr/sbin/apachectl
    -bash: /private/etc/apache2/users/myusername.conf: Permission denied
    NOTE (this test is being run from user a/c quentin
    NOTE (this test seems to be picking up a website in "Sites" directory called Q-website_NEW this website is currently running live on the www)
    tail /var/log/apache2/error_log
    [Mon Dec 14 22:05:10 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
    mod_bonjour: Skipping user 'myusername' - cannot read index file '/Users/myusername/Sites/index.html'.
    [Mon Dec 14 22:05:10 2009] [notice] Digest: generating secret for digest authentication ...
    [Mon Dec 14 22:05:10 2009] [notice] Digest: done
    [Mon Dec 14 22:05:10 2009] [notice] Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.7l DAV/2 configured -- resuming normal operations
    [Mon Dec 14 22:05:42 2009] [error] [client 192.168.1.253] File does not exist: /Library/WebServer/Documents/favicon.ico, referer: http://192.168.1.253/~myusername/
    [Mon Dec 14 22:07:13 2009] [error] [client 192.168.1.253] File does not exist: /Users/myusername/Sites/Q-websiteNEW/siteassets/Bgnd.png, referer: http://192.168.1.253/~myusername/Q-website_NEW/index.htm
    [Mon Dec 14 22:07:33 2009] [error] [client 192.168.1.253] File does not exist: /Users/myusername/Sites/Q-websiteNEW/siteassets/Bgnd.png, referer: http://192.168.1.253/~myusername/Q-websiteNEW/indexes.htm
    [Mon Dec 14 22:07:43 2009] [error] [client 192.168.1.253] File does not exist: /Users/myusername/Sites/Q-websiteNEW/siteassets/Bgnd.png, referer: http://192.168.1.253/~myusername/Q-websiteNEW/indexfi.htm
    [Mon Dec 14 22:10:26 2009] [notice] caught SIGTERM, shutting down
    quentin:~ myusername$
    quentin:~ myusername$ tail -f /var/log/apache2/error_log
    [Mon Dec 14 22:05:10 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
    mod_bonjour: Skipping user 'myusername' - cannot read index file '/Users/myusername/Sites/index.html'.
    [Mon Dec 14 22:05:10 2009] [notice] Digest: generating secret for digest authentication ...
    [Mon Dec 14 22:05:10 2009] [notice] Digest: done
    [Mon Dec 14 22:05:10 2009] [notice] Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.7l DAV/2 configured -- resuming normal operations
    [Mon Dec 14 22:05:42 2009] [error] [client 192.168.1.253] File does not exist: /Library/WebServer/Documents/favicon.ico, referer: http://192.168.1.253/~myusername/
    [Mon Dec 14 22:07:13 2009] [error] [client 192.168.1.253] File does not exist: /Users/myusername/Sites/Q-websiteNEW/siteassets/Bgnd.png, referer: http://192.168.1.253/~myusername/Q-website_NEW/index.htm
    [Mon Dec 14 22:07:33 2009] [error] [client 192.168.1.253] File does not exist: /Users/myusername/Sites/Q-websiteNEW/siteassets/Bgnd.png, referer: http://192.168.1.253/~myusername/Q-websiteNEW/indexes.htm
    [Mon Dec 14 22:07:43 2009] [error] [client 192.168.1.253] File does not exist: /Users/myusername/Sites/Q-websiteNEW/siteassets/Bgnd.png, referer: http://192.168.1.253/~myusername/Q-websiteNEW/indexfi.htm
    [Mon Dec 14 22:10:26 2009] [notice] caught SIGTERM, shutting down
    I have tried re-editing the myusername.conf file thus:
    <Directory "/Users/myusername/Sites/">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    and have replaced it in the directory
    /etc/apache2/users/
    then I ran the command
    sudo chown root:wheel /etc/apache2/users/shortname.conf
    with this result
    quentin:~ myusername$ sudo chown root:wheel /etc/apache2/users/shortname.conf
    Password:
    chown: /etc/apache2/users/shortname.conf: No such file or directory
    quentin:~ myusername$
    NOTE please remember "myusername" has been substituted to avoid confusion.
    I am still unable to access my web sharing and am still getting the error message quoted at the start of this post.
    I would greatly appreciate any advice as I am currently trying to implement php and MySQL on this machine.

  • Web Sharing, TimeMachine, and CFURL

    So I've been using web sharing under 10.5 for months. Yesterday, I decided to upgrade my harddrive. After making sure everything was saved under TimeMachine, I swapped in the new hard drive, did a system restore, went to sleep, and woke up to my new computer with 200gb of free space! Flawless.
    Except: now WebSharing doesn't work. I try to access Localhost, 127.0.0.1, or my computer's IP addy and Safari looks at me as if I had gone mad: "Safari can’t find the server." it says. Well, why not?
    I tried investigating via command line and got this error:
    launchctl: CFURLWriteDataAndPropertiesToResource(/System/Library/LaunchDaemons/org.apache. httpd.plist) failed: -10
    Investigating the file, it looks ok. Thinking it might be a permissions issue, I allowed more write access, but then it said "Dubious permissions on file (skipping)." Well ****. So now I am stumped. Do you have any ideas?
    -Brett

    bheliker wrote:
    Yes, using localhost, 127.0.0.1 and my IP address all result in the same issue.
    Attempting to start apache it throws the error "already running" but stopping and starting or restarting has no effect...
    thanks for the help,
    brett
    If you turn off WebSharing, do you still have any httpd events showing up in the Application Monitor?
    It sounds like one of more of the server files are corrupt or misplaced.
    Did you ever make any changes to any of the server files?

  • Web Sharing Question

    Hi everyone!
    I activated Web Sharing in the Sharing preference pane and have added some files to the 'Sites' folder in my user directory.
    The content shows up when I enter the address in Safari.
    So does this mean anyone I provide the address to will be able to view the content in my sites folder or is it restricted to just people in my local network.
    Cause I have some videos I made that I would like to share with people. And sticking them in the sites directory just seems so much better than uploading them to any YouTube-esque site where the quality in video is considerably degraded not to mention the time it takes for me to upload the video to those sites.
    Also, I'd love to take this approach for hosting a website without having to pay for hosting and a domain name (I'm a poor college student).
    Thanks for any and all insight!
    - Jeff

    Jeff,
    ALRIGHT ALREADY!!!! Ha, couldn't resist that, given the drama thus far :-P
    When you turn Web Sharing on, the Apache web server is started, and port 80 (the standard http port) is opened. So yes, anyone across the internet can view whatever is in your "Sites" folder.
    However, you first have to meet a few prerequisites in order for everything to work correctly. Most important is dealing with any router you may be behind. Are you (behind one)? If so, http requests to port 80 must be forwarded by your router to your Mac. Check your router's documentation for instructions on accomplishing this. Another "quick and dirty" way to accomplish the same thing is to place your Mac in the router's "DMZ," but I strongly recommend that you only do this for specific transfers, and only for as long as it takes to make the transfers.
    Once your port 80 is "out in the open," others can enter your public IP address, followed by a backslash, then a tilde and your short name (http://xx.xxx.xxx.xxx/~jeff, if that's your short name).
    You'll have at least as much trouble hosting a website as you do uploading to YouTube, because both rely on the same internet connection. And of course, if you are behind your school's router, there's almost no way anything like this will happen. You might be able to share across your network, but not across the internet.
    If you really want to have a nice website, or space to share selected files, why not try a .Mac account? For only $100 a year, you get way more than enough space to host a substantial website, complete with pictures and video, and the website can be built using iWeb. .Mac and iWeb (and iPhoto, and iMovie, etc.) work seamlessly together. The bandwidth might not be the greatest in the world, but it is certainly much better than anything you can do from the typical wireless network with your own computer.
    Scott

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

Maybe you are looking for

  • In Smartform How to display footer & some secndry window after Main window?

    Hi, My requirement in Smartform is to display footer and and secondary window  after the Main window. also if item goes to 2nd & 3rd Page then also after main window footer and some secondary window should appear. Do i have to maintain footer and sec

  • Another FPN Thread: Remote role assignment not working

    Hi all, We have successfully implemented FPN for use in our ESS and BW environment and we are experiencing very little problems with it. We now want to start implementing it for our eRecruitment and SRM systems (as producers). For some reason we are

  • Plant maintenance order settlement to cost center

    Hi, I have a requirement from the client that PM order costs should be settled to Cost center (real) and credit the order line with statistical cost center. 1. Consumables GL is debited at the time of goods issue with refrence to PM order , cost cent

  • Illustrator doesn't open

    I installed Yosemite but now I can't open my illustrator CS6 I already used before with Mavericks. It tells me to install an old Java SE 6-Runtime-Version. InDesing and Photoshop work fine.

  • Premier Elements has encountered an error...

    While working on project using Premier Elements 7.0 with Vista Ultimate OS, I get following error: "Premier Elements has encountered an error: [..\..\Src\Markers\Markers.cpp-187]" Please can anyone tell me how to fix this error?