Personal Web Sharing Won't display my Site

Hi, hoping someone can help me. i was absolutely not able to resolve this issue anywhere else i have tried. I put the physical files for my web site into the HD:Library:WebServer:Documents folder, yet when i access my site at Http://127.0.0.1/ it only displays the apache default page "The reason you are seeing..." . I'm confused, this is the computer's sites directory, right? What can i do?

ok, everything appears normal, here are the outputs you asked for, in order:
Bronzs-Computer:~ lumbcsd$ /usr/sbin/apachectl configtest
Processing config directory: /private/etc/httpd/users/*.conf
Processing config file: /private/etc/httpd/users/file.conf
Processing config file: /private/etc/httpd/users/lumbcsd.conf
Syntax OK
Bronzs-Computer:~ lumbcsd$
Bronzs-Computer:~ lumbcsd$ grep mod_dir /etc/httpd/httpd.conf
LoadModule dir_module libexec/httpd/mod_dir.so
AddModule mod_dir.c
<IfModule mod_dir.c>
<IfModule mod_dir.c>
Bronzs-Computer:~ lumbcsd$
Bronzs-Computer:~ lumbcsd$ grep htm /etc/httpd/mime.types
application/vnd.pwg-xhtml-print+xml
application/xhtml+xml xhtml xht
text/html html htm
Bronzs-Computer:~ lumbcsd$
Bronzs-Computer:~ lumbcsd$ grep mime\.types /etc/httpd/httpd.conf
# TypesConfig describes where the mime.types file (or equivalent) is
TypesConfig /private/etc/httpd/mime.types
# AddType allows you to tweak mime.types without actually editing it, or to
Bronzs-Computer:~ lumbcsd$
i noticed that i seem to be able to load the site properly from my DynDns account, however when i load it locally at http://127.0.0.1 it still does not open the site index. i have only tried via my own browser on the same machine hosting the site.

Similar Messages

  • Personal Web Sharing won't start up

    I'm sorry if this is duplicated but I when I try to start up my web sharing, it goes grey, says starting but never gets anywhere.
    I was tring to install PHP and tried the 5.0 verison as I have the intel mac. I guess that was a big mistake.
    When I try to use terminal to launch apache I get the following message.
    AllisonServer:~ allisonserver$ apachectl start
    Processing config directory: /private/etc/httpd/users/*.conf
    Processing config file: /private/etc/httpd/users/+entropy-php.conf
    fopen: No such file or directory
    httpd: could not open document config file /private/etc/httpd/users/+entropy-php.conf
    /usr/sbin/apachectl start: httpd could not be started
    In the console utility, when I go to /var/log and then into httpd the window is empty.
    In the console log I'm getting this message
    Processing config directory: /private/etc/httpd/users/*.conf
    Processing config file: /private/etc/httpd/users/+entropy-php.conf
    fopen: No such file or directory
    httpd: could not open document config file /private/etc/httpd/users/+entropy-php.conf
    /usr/sbin/apachectl start: httpd could not be started
    Can anybody help me clear out the PHP5 if that's my problem.
    I would also like to know how to tell if i have apache 1.2 or 2.0?
    Thank you in advance

    Go here and read the PHP Problems part:
    http://Gnarlodious.com/Computer/Apache

  • Personal Web Sharing won't start

    It will only say "starting" but nothing happens. Is there a known fix for this?
    Thanks

    Hi Eric!
    The only thing I can think is turn off your firewall first then turn on the sharing. Then go back and turn your firewall on again. Because if you want this feature enabled you must have this port open in your firewall. There's a chance this is what you're experiencing...
    Let us know...Reg

  • Personal Web Sharing - Just the "Sites" folder?

    So I have just turned personal web sharing on. I am going to use this feature to send zip files. (or let people have access to zip files in my Sites folder)
    But my question is, what else can someone see from the IP address I give out? Pictures folder? Applications? Music? or is personal web sharing limited to only the "Sites" folder?
    I am totally new to this so I know it's a basic question, but I couldn't find the answer anywhere else. Thank you.
    Message was edited by: flashboy131
    Message was edited by: flashboy131

    By default, Apache will make available the Sites folder in account home folders, and the folder /Library/WebServer/Documents/ when no username is specified in the URL.
    (23991)

  • Hosting multiple web sites usinf personal web sharing

    would someone be kind enough to give me a guide to hosting MULTIPLE web sites on a Mac Mini
    i have broadband connected to my router
    my mac connects to my router with an ip address of 192.168.1.150
    I have registered the domain names and want to forward them to the computer hosting the web sites
    how can I get each domain name to point to each different web site on my computer

    This is a topic you should post to an Apache discussion group being as though Apple's personal web sharing software is Apache.

  • Personal Web Sharing - Don't have permission to access...

    Hi,
    I'm new here so I'm not sure the best place to post my question.
    I posted the question below at the tail end of this discussion:
    http://discussions.apple.com/thread.jspa?threadID=663879&tstart=0
    However, that thread is marked "answered" and my question isn't, so I am re-posting here. Please read the above thread so that you'll know what I already know and have done.
    My question (if you haven't read it at the bottom of that thread):
    I am trying to set up personal web sharing, I have followed all of the above discussion, including Port Forwarding from my router. (I had actually done all of this before searching here, getting instructions from "The Missing Manual: Panther Edition" book.)
    The problem is: when I try to access my shared web pages, I get a "You don't have permission to access..." message.
    I have changed permissions on all files in the (user)/Sites folder (the one I'm sharing) so that "Others" can "Read Only" but still I cannot access these pages from another computer via the internet. I can access them fine from my home computer.
    I know everything is set up correctly and connecting because the remote browser correctly retrieves my computer name (where the shared files are) and port number. It just won't let me in.
    Any help appreciated.
    thanks,
    Eric
    G4 Mac OS X (10.3.9)

    braintrino,
    I'm not sure how to make sense of your statements.
    The situation with FileVault is conceptually simple. The contents of a FileVault user's home directory are on an encrypted disk image. When the user logs in from the login window, that image is mounted (using their home directory path as the mount point); when they log out, the image is unmounted. Note that logging in via ssh doesn't cause the system to mount their home directory...
    So, when a user is logged in, Apache can (if normal UNIX permissions permit it) see their ~Sites folder and serve pages. When the user is logged out, Apache can't.
    I suppose that a FileVault user might be able to get around this, if they don't mind leaving their ~Sites folder unencrypted... They could create a folder outside of their home directory (e.g., /Users/Shared/braintrinos_site/) and put their Web pages there; log into their account and replace their ~Sites folder with a symbolic link to their Web page directory; log out, then ssh in and add a symbolic link from their home directory to their Web page directory. Then, whether they're logged in or not, Apache should be able to see a symbolic link from ~Sites to the unencrypted Web page directory.
    Powerbook G4 1GHz   Mac OS X (10.3.9)  

  • Help needed with Personal Web Sharing

    I need a little help. My goal is to set up my Apache server to allow people on the Internet access web pages served from my Mac. But I can't seem to get it working.
    Here's what I've done so far:
    1. I have enabled Personal Web Sharing in System Preferences
    2. I have talked with the technicians at my ISP, and they tell me that they are not blocking port 80
    3. My router has DHCP enabled, but I have assigned my Mac a static IP address (192.168.1.xx) that is outside the range of DHCP addresses.
    4. I am using a cable modem connected to a Linksys WRT54G router, and I have configured the WRT54G to forward port 80 to my Mac's IP address (192.168.1.xx).
    5. I have determined my Internet IP address by using http://checkip.dyndns.org/
    The result:
    1. When I use Safari to access 192.168.1.xx from my Mac, I see my web pages perfectly. Life is good.
    2. However, when I try to access my web pages from a browser on a WindowsXP computer on my local network, I just time out. I have tried both my LAN IP address (192.168.1.xx) and the Internet IP address I obtained from http://checkip.dyndns.org/
    I have looked on the Apple support and discussion pages, but I haven't been able to find anything that will fix this. Any help would be greatly appreciated.
    Thanks,
    -AstraPoint

    Charlie:
    Thanks for the tip about the W3C HTML Markup Validation Service. Answers to your questions are in CAPS. And, thanks for any help you can provide.
    ===================
    1. Can the Mac ping the Windows computer and vice versa? YES Are you sure the Mac is able to reach the Internet outside your LAN, can you browse the web from it? YES, I HAVE A WORKING, HIGH-SPEED CONNECTION TO THE INTERNET FROM MY MAC.
    2. What happens if you use the WAN IP address in Safari on the Mac and try to load the web page? Does it still time out? YES. WHEN I PUT THE ADDRESS I RECEIVED FROM http://checkip.dyndns.org/ INTO THE URL FIELD IN SAFARI, IT TIMES OUT. WHEN I DO THE SAME THING USING USING THE LOCAL LAN IP ADDRESS OF MY MAC, IT WORKS PERFECTLY.
    And a comment:
    Even once you get the Windows computer to see the web site on the Mac via your LAN, it's possible you won't be able to use the WAN IP address to reach it. That's called "loopback", and some routers don't allow that. If that's the case, you can test your connection by using some other site to reach your site.
    What I like to do in cases like this is to use the W3C HTML Markup Validation Service. Since it's completely outside your LAN, it acts like any regular browser to your site. If it can't reach your site, then no one can. But if it reaches your site and you still can't, then your router probably doesn't support loopback. Plus, it'll point out any mistakes in your HTML markup if you have any...

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

  • Personal Web Sharing trouble with moved / Users ?

    Can Personal Web Sharing work when /Users has been moved to another partition? Situation: Apache is running on my Mac OS 10.4.10 system. It will serve my files to a distant computer if I put symlinks to them in /Library/WebServer/Documents (and Personal Web Sharing is on). However, it won't serve the same files from http://my.machine.com/~username -- Console reveals code 301 on attempts these attempts. (Interestingly, nothing appears in Console access_log if Personal Web Sharing is off during an attempt at http://my.machine.com/~username.) All of these makes me guess that Apache is basically OK, that System Preferences Personal Web Sharing knows where to find my personal Sites, but there is some problem when Apache goes for my user directory. Any suggestions?

    Hi--
    You need to figure out the full path to your directory on the other partition and add that the file for that user that's in /etc/httpd/users. So, open the Terminal application from your Utilities folder, type "cd", then a space, and drag the "Sites" folder from your home folder to the Terminal window. That'll give you the full path to that file.
    Edit your user's config file (you'll need to use sudo) with a text editor like nano:
    <pre class="command">sudo nano /etc/httpd/users/username.conf</pre>
    Look for this line:
    <pre class="command"><Directory "/Users/username/Sites/"></pre>
    Change it to reflect the path you saw in the Terminal window. If the partition name has a space in it, be careful, Terminal will escape it:
    <pre class="command">/Volumes/Volume\ Name/username/Sites</pre>
    But since it's enclosed in quotes in the Apache config file, you'll want to dump the escape:
    <pre class="command"><Directory "/Volumes/Volume Name/username/Sites/"></pre>
    Don't forget to restart the web server.
    charlie

  • Personal file sharing won't complete 'starting up' phase

    i'm trying to network my Power Mac G5 to my iBook G4...
    everything seems fine on my G5: the Sharing preferences went smoothly, and i can access my iBook from it. (they're both connected via ethernet to my DSL router)
    but when i try to set the Sharing preferences on my iBook, for both the Personal File Sharing and Personal Web Sharing services, when i click 'on' box they just sit there, grey, in 'Starting Up' mode and never actually turn on.
    i ran a Disk Repair Permissions to no avail.
    i have no idea what to do next...
    thanks for any help,
    ct
    PowerPC G5 dual 2Ghz   Mac OS X (10.4.8)  

    I'd Trash these files...
    /Library/Preferences/com.apple.sharing.firewall.plist
    /Users/nnnnLibrary/Preferences/com.apple.internetconnect.plist
    /Library/Preferences/SystemConfiguration/preferences.plist
    then get 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.

  • 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

  • PERSONAL WEB SHARING ON iMAC G5 WILL NOT START

    hello:
    i am hoping someone would be able to help me on this issue. i attempted to start the Personal Web Sharing service on my computer (iMAC G5 with MAC OS 10.4) from System Preferences > Sharing. however, after i highlight Personal Web Sharing on the list of services and click the Start button, the message changes to "web sharing starting up..." and simply remains that way (i've waited for a long time). it does not change to "web sharing on".
    am i doing something wrong? is it possible that my Apache installation has been compromised? my goal is to be able to use my computer to create and run .php web pages.
    any help / suggestions are greatly appreciated
    iMac G5   Mac OS X (10.4.8)  

    Sorry, this still doesn't seem to be working.
    Actually, it's me steering you wrong. It's been a while since I fooled around with the Entropy PHP installation and it looks like he's changed it.
    He used to put the configuration stuff for PHP at the bottom of the main Apache config file, but now he's putting it in that separate file in the httpd users directory. That's why moving the default Apache configuration file into place didn't help.
    You have two choices: one is to just forget about the PHP5 stuff for now and go with Apple's default PHP install. The other is to try to get PHP5 up and running.
    The first option is very easy: just run this command:
    <pre class="command">mv private/etc/httpd/users/+entropy-php.conf ~/Desktop</pre>That will put the offending file on the desktop. Now try starting the web server. Most likely, PHP won't work yet, but Apache should start. In order to use the default PHP5, you need to make some changes to the httpd.conf file. You can use pico in the Terminal. It's pretty simple and the key commands are printed at the bottom. Where you see the up arrow listed, that means to use the "control" key, i.e., "control"-x to exit. You need to use sudo, though so you have root privileges:
    <pre class="command">sudo pico /etc/httpd/httpd.conf</pre>Search ("control"-w) for "php". The first line you'll see is this:
    <pre class="command">#LoadModule php4_module libexec/httpd/libphp4.so</pre>Uncomment it by removing the "#" from the start of the line. Search again until you find this line:
    <pre>#AddModule mod_php4.c</pre>Again, remove the "#". Now search again until you find these lines:
    <pre class="command"><IfModule mod_php4.c>
    # If php is turned on, we repsect .php and .phps files.
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps
    # Since most users will want index.php to work we
    # also automatically enable index.php
    <IfModule mod_dir.c>
    DirectoryIndex index.html index.php
    </IfModule>
    </IfModule></pre>Just verify that they look like these. If they don't, copy and paste your corresponding lines into a reply. Now stop and restart the web server and see if PHP pages will work. You should be using OS X's built-in 4.x version.
    If, on the other hand, you'd rather use the Entropy PHP5 installation, post back and tell me and we'll see if we can figure out what's up with that...
    charlie

  • MacoBook Pro connecting wirelessly via Personal Web Sharing from iMac G5

    Subject line says it all... more specifically my problem is that some things seem "blocked" on the MBP when i'm connecting wirelessly via my iMac network, but then are 100% functional when I use other wireless networks.
    examples:
    • gmail via Mail.app [mailbox always has the ! symbol and says it's timed out]
    • playing app-based online games, certian functions will not work
    • using FTP software, it won't connect
    Maybe this an issue I can fix with port forwarding, if so how do I go about doing this? I was told my iMac is technically acting as a router, but I don't have a lot of experience with this type of networking. Thanks!
    iMac G5 2GHz • 15" MacBook Pro 2GHz   Mac OS X (10.4.9)  

    Personal Web Sharing can be a bit tricky and yes, it's because of the firewall on the Mac that's sharing its connection.
    The actual firewall software in the Mac is completely configurable, but the friendly user interface doesn't support the more sophisticated configurations. Fancier setups would require the use of commandline scripts run from Terminal.
    You'll save yourself a lot of headaches if you buy a wireless base station, and forget about using Personal Web Sharing. A $60 Linksys will do the job nicely.

  • Personal Web Sharing or equivalent?

    I'm working on a server running Mac OS X Server version 10.4.5. I'm trying to set up personal web sharing, or whatever server equivalent there is, but I'm running into a major problem. Everything I've read tells me that I should be able to go to System Preferences->Sharing and there should be a checkbox to turn on personal web sharing. However the only options there are:
    Remote Login
    Apple Remote Desktop
    Remote Apple Events
    Does anybody know what's causing this, or what server equivalents I can use?

    The sharing thing in system preferences works on regular OS X, but not in server.
    Whatever you want to share, you have to put in the sites folder of your home directory. There's a fairly detailed explanation of it on pages 53-54 in the web technologies admin pdf (I downloaded it from the apple site somewhere, but I can't remember exactly where - probably in manuals or downloads. I'd be happy to email it to you if you like). Good luck.

  • Pixelpost and Personal Web Sharing in Tiger

    Dear Friends:
    I figured out how to install Pixelpost (for a photoblog) in my OS X Tiger system -- by using MAMP. I changed the Document Root in MAMP so that now it looks to the Personal Web Sharing folder in the Mac (the Sites folder in the /usr/ space). The installation of Pixelpost works fine, letting me add images, manage it, etc. However, when I type in the computer address ("personal website") as provided in the Sharing tab under system preferences, it does not bring me at all to the photoblog. For instance:
    http://my.computer.address/ (just brings me to the regular Apache Server notice that it is running)
    if I type this:
    http://my.computer.address/~username/
    It brings me to the generic OS X page in place. But when I type:
    http://my.computer.address/~username/pixelpost/
    it opens to the pixelpost directory which I placed in the Sites folder. What I'd like to do is figure out what address will call up this blog so that others can access it.
    The blog comes up fine under this URL:
    http://localhost:8888/pixelpost/
    But that's not a proper address for external viewing. So, what address should I provide others? I've tried various configurations with the address provided in the Sharing tab of System Preferences, but no luck so far.
    Thanks!
    N

    I changed the Document Root in MAMP so that now it looks to the Personal Web Sharing folder in the Mac (the Sites folder in the /usr/ space
    I think you mean /Users/ space. /usr is something completely different.
    http://my.computer.address/ (just brings me to the regular Apache Server notice that it is running)
    Then it means you didn't change the DocumentRoot like you think you did. If you did, and assuming you restarted Apache after changing the DocumentRoot, then this URL would point to whatever directory you specified (/Users/whoever/Sites) and not /Library/WebServer/Documents.
    But [http://localhost:8888/pixelpost> is not a proper address for external viewing.
    but it can be. If all you're using this for is PixelPost then just setup the port forwarding on your router to forward to port 8888 rather than port 80 and you're done.
    Now, that said, the fact that you're using two different ports here (port 80 and port 8888) means that, at the very least, you are running two virtual hosts, or quite possibly two completely separate Apache instances.
    That could explain why changing the DocumentRoot doesn't help. You may have changed either the PixelPost VirtualHost configuration, or the MAMP-specific server configuration, but that's not the server/virtualhost you're talking to on port 80.
    I've never used MAMP, so I don't know how it installs, but it wouldn't surprise me to find that it installs a whole new Apache distribution and you'd need to find that server and its configuration files to fix the DocumentRoot problem, if that's the way you want to go.
    You can also fix it via a simple Alias in the standard Apache configuration - just alias /pixelpost to /Users/whoever/sites/pixelpost - that way users who hit /pixelpost on your server will get the User-specific directory, while all other URLs continue to be served via /Library/WebServer/Documents. This might improve security and avoid the possibility of leaking other content from your home directory that you don't want to make available.

Maybe you are looking for