Can't serve Sites folder

During an upgrade of PHP, I seemed to have "corrupted" my Apache installation. I can serve from the /Library/WebServer/Documents folder by typing http://localhost into my web browser, but I cannot serve from my Sites folder by typing http://localhost/~adwatson/index.html (or /phpMyAdmin or any of my other local sites with the http://localhost/~adwatson prefix). My guess is that something got altered in the httpd.conf file, but I'm not sure where to start.
Thanks in advance.
Tony

Ok, I'm getting closer to figuring this out with all of your help. I had previously installed Apache 2.2.4, but then learned this was a bad idea because future OS X upgrades could cause serious problems if anything but the Apple-installed version of Apache were present. So I "mv apachectl apachectl-2.2.4" in the appropriate directory and "mv apachectl-1.3 apachectl" in the appropriate directory to restore my original installation....or so I thought. I checked the error log as suggested by Gnarlodious and found entries up until the date of my upgrade and none since supposedly reverting to 1.3. I then checked the console, and sure enough, I'm still run 2.2.4. Therefore, I've been looking at the wrong httpd.conf file this whole time. Needless to say, the default Darwin install layout did not give the Apple-sanctioned installation.
So, how do I completely uninstall 2.2.4 so I can be rid of this problem? I want no part of 2.2.4.
Thanks for all your help.

Similar Messages

  • Can't see Site Folder on desktop

    I just downloaded the trial version of Dreamweaver. I can see
    in the file window that my site has been saved on the Desktop. But
    if I close Dreamweaver or collapse the window, I can't see the
    actual folder on the desktop. Why? is this a limitation to the
    trial versions?

    On Mon, 21 Jul 2008 04:50:28 +0000 (UTC), "Aftermid"
    <[email protected]> wrote:
    >I just downloaded the trial version of Dreamweaver. I can
    see in the file
    >window that my site has been saved on the Desktop. But if
    I close Dreamweaver
    >or collapse the window, I can't see the actual folder on
    the desktop. Why? is
    >this a limitation to the trial versions?
    No the trail version is the full works - no changes. Just
    that it will
    stop working after a month.
    you need to set up a site properly
    put the following into the Dw help system:
    About Dreamweaver sites
    good tutorial video here
    http://www.adobe.com/designcenter/video_workshop/?id=vid0145
    ~Malcolm~*...
    ~*

  • About the Sites folder into Users accounts

    Hi,
    I can reach the Sites folder of users if I put a ~ after the domaine name like in : http://mydomain.com/~userx/
    How to do the same without having to put the ~ ?
    Thanks

    You need to configure apache specifically to do that.
    The whole point of the ~ is to gain access to user-specific sites. Without that character (or something similar), Apache can't automatically tell whether http://yourdomain.com/userx is userx's Sites directory, or a directory called '/userx' in the document root.
    So, if you want Apache to automatically find user-specific sites you'll need the tilde. If you don't, you'll need to tell apache how to find them (bearing in mind that the user's home directory might not be in /Users - it could be a network home directory, or in some other location.
    You might be able to craft something close using RewriteRules (at least to the point of catching missing directories and redirecting to /Users), but getting Apache to lookup a user via directory services to locate thier home directory is beyond RewriteRules as I know them.

  • Can not find "Work Folder" in windows server standard edition

    Guys, I have a testing lab and all is working with the exception of the fact that I can not find "work Folder" to install it.  I'm using windows server 2012 standard evaluation copy edition.  Normally work folder should be under >file
    and storage service>file and iSCSI services.  However, it is not there.  Can someone help please
    staphisco

    Hi,
    From the overview, Work Folder is not supported in Windows Server 2012 (only Windows Server 2012 R2). 
    Work Folders Overview
    http://technet.microsoft.com/en-us/library/dn265974.aspx
    Software requirements
    Work Folders has the following software requirements for file servers and your network infrastructure:
    A server running Windows Server 2012 R2 for hosting sync shares with user files 
    If you have any feedback on our support, please send to [email protected]

  • Unable to open templates from server input form folder and server root folder from some system while the same can be open from others system

    Hi,
    I am unable to open input scheduled from server root folder and also from input form folder on some system while they can be open from others system.
    Please advice.
    Thanks in advance

    Hi Hengye,
    While opening , it dont give any error. When I try to open it , it takes some time to load then nothing happen.However I can open it on other system but not on mine my collegue and user system.
    Please advice.
    Thanks.

  • Can't see my Sites folder

    Hello,
    I have an iMac I just bought, running Lion (IOS 10,7,2). When I go to my Home directory I cannot see my Sites folder. Also, If I go to web sharing and click on the top link (personal website) I get a 403 Forbidden page.
    Can anyone please help me with this?
    Thank you.
    CPG

    Just found the answer thanks to Lynda.com.

  • Frequent Messages "Server Can't Find Site"

    Could this be a router issue? The Network is connected via cable modem to two notebooks. I get frequent messages "server can't find site." Any ideas?

    Does this happen only with certain websites? If so, you may have a DNS issue.
    You can find a good guide for changing your DNS at the link below. When you type a name into your address bar like Google.com... that goes out to a DNS server which then translates it to an actual address that can get you there. For example, if you wanted to mail something to your mother, you couldn't just put "Mom" on the envelope, you would have to put the actual address there. Open DNS is one of the most common DNS servers to use. Follow the guide below... EXCEPT... in the very last part where you enter the two DNS addresses, use 208.67.222.222 & 208.667.220.220 instead:
    http://www.plus.net/support/software/dns/changingdnsmac.shtml

  • Dreamweaver-upload an image's file name to DB, so it can be retrieved through a site folder

    I see a lot of help on how to save a file as a blog in an SQL database.  I would prefer to do it the recommended way, through a site folder.  I have a bunch of pictures that I want to match with various people (for a soccer team), and display those on a detail page.  I have the Dreamweaver Missing Manual, which gives tips on how to create a URL to retrieve the data. 
    So I have a field in the SQL database for the image, but my question is, when I create a file field on the form, select the image in my folder and click to select it, and submit the form, the file name (or path) doesn't show up in the SQL database or on the Detail page.  I feel like I'm missing one small element, and I hope that's the case. 
    Thanks in Advance for your help!

    To that end, isn't it enough to just update the SQL database of the location of the image, or does there have to be a transfer through the database so that a distinct connection to the image is established?
    No. That's not enough.  Two things need to happen:
    The image has to be uploaded to a specified location on the server (this is actually a multi-step process)
    The name of the image has to be saved in the database
    Then your code retrieves the name of the image and uses that name in a link, e.g.,
    <img src="path_to_the_image/<?php echo $rs_whatever['image_name']; ?>" />

  • How can I access my old projects php that was into Sites folder?

    I have many projects into Sites folder. But after upgrade to Mountain Lion I can't access this through safari. I have setups into hosts file and httpd-vhosts.conf

    solved.
    http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php- and-phpmyadmin-osx-108-mountain-lion

  • File permissions in Sites folder

    When I use my ISP account to host a site and install something like Joomla (a CMS) by uploading it using Transmit or GoLive permissions for directories uploaded default to 755, and are writable by Joomla (for example)
    If I upload files to Sites(on another Mac in my network) using GoLive or transmit - the permissions are 750. If I upload the zip file and extract it within terminal, directories are then 755.
    Also, directories are not writable even though they're 755 (inlike on my ISP), I need to manually set them to 777. config files for php applications can't be created by the particular application (they can on my ISP), and aren't automatically writeable, I have to create them and set them to 777 to be writeable.
    Since I'm completely new to this and not particularly technical, I have no idea why this is happening. Is it specific to the sites folder? Would it be the same if I used the library web documents folder? Is there a way to have this function the same way as it does with my ISP. I have webmin installed, but I get a headache just looking at it.
    Thanks!
    Chris Hutcheson
    G5/2.5 Mac OS X (10.4.6)

    As the sites folder resides in a home directory then they follow the permissions set by the owner of that directory.
    I dont use the Sites folder to serve webpages on my mac mini I have edited the apache config file to specify a directory in /Library/WebServer however I have just checked the sites folder in my home account and the permissions are 755.
    When I copy files across my network over AFP to my sites folder on my server they use the same permissions that they were on set to on the mac I sent them from. For example
    If I create a folder on my desktop by default it has 755 permissions. If I then zip the folder the resulting zip file by default has 644 permissions. When I copy the zip file to my sites folder it retains the 644 permission, then when I unzip it also retain the the 755 permissions of the original folder.
    When I use FTP it follows the similar rules by default transmit uploads files with default permissions of 640 however when I unzip files the unzipped file retains the permissions that were set on it on the computer that sent it.
    You can however in the transmit preferences setup what default permissions you want to use on any file that you transfer. You can specify different permissions on different file types. However this will not affect the contents of zipped files they retain the permissions set prior to them being zipped. Y

  • I can see an RSS folder from SharePoint on my phone (yay!) - is there a way to have this with the "Connect to Outlook" option?

    I can see an RSS folder from SharePoint on my phone (yay!) - is there a way to have this with the "Connect to Outlook" option?
    We've got a bevy of test phones here and I've been able to see RSS feeds in an Exchange setup using Android (along with other folders) but no Lists that were hooked up using "Connect to Outlook" button from SharePoint.

    Hi,
    You are viewing Mobile view of the site into your phone. If you open the same site in normal PC view i.e. the same look which you have in your computer then it will give you an option to connect to outlook.
    Hope this helps
    Regards,
    Pratik Vyas | SharePoint Consultant |
    http://sharepointpratik.blogspot.com
    Posting is provided AS IS with no warranties, and confers no rights
    Please remember to click Mark As Answer if a post solves your problem or
    Vote As Helpful if it was useful.
    Thanks for the suggestion but clicking on 'Connect to Outlook' from various phones doesn't seem to work.  "This webpage is not available." -- I didn't really expect it to do anything as I think this was meant to be done on a computer.  And then
    the result is that the documents would be available in Outlook. 
    And then, my question kicks in:  is it possible to see these files that are now in Outlook on a phone that's connected to the Exchange Server.

  • Missing Sites folder - apache

    I have had a few problems with the apache built into mac but I think I am closer to the answer, I think I have some how deleted the user/yorkichadwick/Sites folder which is why I get site not found on server.
    The Sites folder is still there but I realised all this when I did a ls -ld ~/Sites/
    and I was told
    ls: /Users/yorkiechadwick/Sites/: No such file or directory
    How can I replace this missing directory?

    Thank you, I had been getting advice from so many forums and really thought I had screwed up apche until today when I came acroos this error. I till had a sites folder but it wasn't working who would have thought that such a simple solution would be to create a new sites folder and just shift the files. It is a miracle it worked. So much for all the command line, terminal tapping investigation everyone had been pointing me to.

  • Dreamweaver CS6 edits to old Front Page site display in preview browser but NOT on live server site.

    Howdy Folks,
    My Dreamweaver CS6 edits to old Front Page site changes display in preview browser OK …But will NOT display on live server site.
    To anyone who can step up to the microphone and speak “solution” I will be much grateful?
    Bob MacDonald / VIPpromotions

    Are you sure you are uploading the pages to the correct location?
    Could you post a screen capture of your expanded files window, showing the remote server and local file structures?
    I'm guessing they're not identical and that you may be uploading to a redundant root folder.

  • Web Sharing on, Can't view sites

    Hi,
    I have a question about web sharing that I hope you can help me with (please!)...
    Recently I installed php5, and updated the httpd.conf file accordingly... evidently I didn't do it correctly, as web sharing failed to turn on afterwards. I reverted to the backup copy, and I could turn web sharing on again. Unfortunately, I couldn't view anything inside the Sites folder using the:
    http://localhost/~username/
    recommended in system preferences - I keep getting a Not Found error. The apache server page is visible at:
    http://localhost/
    and documents can be viewed from underneath the /Library/WebServer/Documents folder...
    but nothing in the username/Sites folder can be viewed.
    The ServerRoot in the httpd.conf file is specified as "usr"...
    Any help would be greatly appreciated,
    Thanks,
    Lauren

    Make sure you have the following lines in your httpd.conf file:
    LoadModule userdir_module libexec/httpd/mod_userdir.so
    AddModule mod_userdir.c
    <IfModule mod_userdir.c>
    UserDir Sites
    </IfModule>
    Include /private/etc/httpd/users/*.conf
    Tip: Whenever you are editing your httpd.conf file, you should always keep the file open in your editor and stop and start Apache from the terminal window, because any errors in the httpd.conf file will be echoed to the terminal as Apache tries to start up. This will allow you to undo any changes that introduce errors.

  • Can I change the folder from "//phone" to "/phone" for mobile version upload?

    I created a phone version of my site yesterday. The host directory is identified as the root (i.e., "/").   When I tried to upload to FTP host, I get the following: "Error creating folder //phone. Click Resume to try again. If this problem persists, try again later."  GoDaddy says the problem may be that the folder is named "//phone" instead of "/phone".  Can I change this to try to fix?

    Can you try leaving the Host directory field empty and re-try uploading through the built-in FTP upload? Some hosting providers require you to upload your site to a specific folder on their server, so you may try entering an absolute path of the directory you want to upload to (with a / at the beginning).
    Alternatively, you can export the site as HTML <http://www.adobekb.com/getting_started_07.html#exportinghtml> and publish using a third party FTP client.
    Thanks,
    Vinayak

Maybe you are looking for