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.

Similar Messages

  • 403 Forbidden on Apache for a web page in my own encrypted Sites folder

    Greetings,
    I'm developing a php web site, putting files in my account's "Sites" folder.
    My whole account is encrypted (not by File Vault, but by moving it in an encrypted .dmg by ditto and niutil, instead) and I'd like the web site itself to be, too: for now I want it my eyes only. Everything I use (iApps, etc.) works fine, so I think I adjusted my encrypted home right.
    But, I can't view my own web pages in Safari: when I try any location such http://localhost/~myusername[/myfile] I get a 403 Forbidden error.
    File permissions seem right and Personal Web Sharing is on. Moreover, if I create a brand new user and move it (via ditto and niutil) in the same encrypted .dmg, it suffers the same fate.
    Any other non-encrypted account's web page, e.g. http://localhost/~otherusername is reachable from my encrypted account.
    I wonder if all that's about Apache configuration, which I'm not skilled enough to fix.
    Thanks to anyone caring to help.

    Hi Begli, and a warm welcome to the forums!
    See if any of this helps...
    http://www.informit.com/library/content.aspx?b=MacOS_XUnleashed&seqNum=211

  • Sites (in manage sites) missing AND folder unreadable?

    All right, so I finally had the dreaded disappearance of all my sites in the "Manage Sites" section of Dreamweaver (CS4/Mac). I've read the notices and see now that it's a bug that's never going to be fixed . . . and, of course, I didn't back up the .ste file 'cause I just didn't see it coming.
    That said, I went to start redoing the sites and started by opening the "Files/Assets" window in DW . . . then ran into a strange problem.
    All our web sites are stored in the "WEB SITES" folder in the "GRAPHICS" folder on our "BIG HARD DRIVE."
    However, when I went to open up some pages in our stored sites, the "GRAPHICS" folder, in the Dreamweaver menu, doesn't show up as a Folder . . it's shows up as a 0k file.  I can go to "file open" and navigate to the GRAPHICS folder, no problem . . .and all the files are there and open up. However, I can't access it through the manage sites part of the "files" window.
    Is this making sense?  I've attached a screen capture . . .
    Any help would be greatly appreciated.
    Stu

    I'm pretty sure that they are all lost if you hadn't backed
    up all sites
    previously.....
    it's all kept in the registry somewhere, but difficult to
    retrieve I
    believe.
    You may find this tool very useful from now on -
    Backup everything using the MM Exporter:
    http://mm-exporter.joexx.de/
    Nadia
    Adobe� Community Expert : Dreamweaver
    http://www.DreamweaverResources.com
    - CSS Templates|Tutorials
    http://www.csstemplates.com.au
    http://www.perrelink.com.au
    - Web Dev
    http://www.adobe.com/devnet/dreamweaver/css.html
    CSS Tutorials for Dreamweaver
    "nosummers" <[email protected]> wrote in
    message
    news:e928cg$11b$[email protected]..
    > Hi, I hope someone can help...
    >
    > A few days ago I could see all my defined sites listed.
    > Now only 6 of about 16 are there.
    > I have looked in... C:\Documents and
    Settings\Richard\Application
    > Data\Macromedia\Dreamweaver MX 2004\Configuration
    > ...and they are all there as folders with corresponding
    .dws files but as
    > I
    > didn't back them up before I do not have .ste files to
    import back in.
    >
    > Does anyone know of a fix for this, please?
    >
    > If not is there a way I can extract the passwords from
    the .dws files?
    >

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

  • 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

  • Where is the Sites folder in Mavericks?

    Where is the Sites folder in Mavericks? Only now I am realizing that I don't have a Sites folder where it used to be: Go/Home/Sites
    My local website folder used to be in the Sites folder. I am having website-synchronizing problems.
    I just started using Mavericks (on one of my hard drives) regularly.

    It is part of mail but if missing you could go to the top and pick mailbox and pick new and name that Junk.

  • 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

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

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

  • Sites Folder in Leopard

    One day i was surfing through some settings and i found the "web Sharing" option, turned it on, and it said "Web Sharing allows users of other computers to view Web pages in the sites folders on this computer." Now, where is that "sites" Folder? and how do I work this feature in Leopard.
    I you have any advice or helpful answers
    Thank you in advance.

    fenderbenderr45,
    Turning "Personal Web Sharing" on or off toggles the installed Apache Web Server, and opens the appropriate port (80).
    Apache, as it is configured by default in OS X, serves at least two "web directories." The first one is /Library/WebServer/Documents. Anything placed in this folder will be served to the internet when Web Sharing is turned on.
    In addition to the "main" web directory, each user has a personal web directory: their "Sites" folder (/Users/HOME/Sites), and it is analogous to the "Documents" folder in the main web directory.
    Assuming that Web Sharing is turned on, and your machine is connected to the internet, anyone across the internet can navigate to and read/download anything in the "main" web directory by entering your public IP address (formatted as "http://xx.xxx.xxx.xxx") in their web browser. To navigate to a personal web directory, they must enter "http://xx.xxx.xxx.xxx/~username," where "username" is the user's short name. When Personal Web Sharing is turned on, this information is displayed in the Sharing pane (if you are behind a router, with a private IP address, only the private IP address is shown, and it will not be accessible from "outside" your network).
    If you are behind a router, you must configure the router to forward http (port 80) requests to your private IP address.
    There are certain standards to follow when creating a "web site." An index page, written in HTML and titled "Index.html," will be the first page anyone sees when navigating to your site. If no index page is present, however, Apache is smart enough to dynamically create a basic text-only index page listing whatever files or folders you have in your "Sites" folder (or the main web directory). Your site can be as basic or as elaborate as you have the resources and knowledge to create.
    Scott

  • Using environment variable in local site folder filespec

    Configuration: Dreamweaver CC 2014.1; Windows 7
    I have quite a few sites defined in Dreamweaver and would like to define the folder locations using environment variables so thst if I decide to reorganize my disk (again) I can just redefine the variable instead of having to modify each of the site definitions. For example, instead of W:\dw\site\, I would like to specify %dw_root%\dw\site\ (where dw_root is defined as "W:"
    Attempting to save a configuration with this filespec fails with the error: The local site folder path must be absolute.
    I copied the path from the DW configuration dialog box and pasted it into a DOS window as the filespec of a DIR command to confirm the syntax was valid.
    Does anyone know if there is a way to make this work?
    Thanks.

    Very unlikely.  DW won't tolerate special characters (%&*~).
    Nancy O.

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

  • Is the Sites folder included in Time Machine backups?

    I've learned the hard way that not everything is included in a Time Machine backup.  For example, if you have iPhoto open, a backup will not be made of the photos.  Now that I'm developing websites and storing them in the Sites folder, is it safe to assume that they are being backed up by Time Machine?
    Thanks!

    Are documents in iCloud Drive included in Time machine backups
    Yes, they are, and the current Yosemite version 10.10.2 makes it easy to find them in Time Machine. Just select iCloud Drive in the Finder, before you enter Time Machine to restore documents.  Time Machine backs up the local shadow copies of your iCloud Drive documents, that are stored in your hidden user library.

  • Missing email folder icon on BBT 9800 - Where did it go and how to return it back?

    Missing email folder icon on BBT 9800 - Where did it go?
    The email icon on my BB Torch 9800 just disappeared. If I type email in the search button it shows me the greyed out email icon but I can't get the icon back on to my homescreen. How do I get my email icon back? And Unhide All is not an option so icant find it.
    Please consider the above on urgent basis as I can't see my work mails.
    Thanks,

    Hi hegazysource and welcome to the BlackBerry Support Community Forums!
    Are you using the BlackBerry® Internet Service or BlackBerry® Enterprise Server to receive your email on your device?
    Thanks.
    -CptS
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

Maybe you are looking for

  • Organizational unit transfers ,how to deal with the person in it ?

    Hi,All,I need your help! if an organizational unit has been transfered to another upper organizational unit ,and there are already persons assigned to different positions of it,so how to deal with this problem?are those person's IT 0000,0001should be

  • Unable to import Business Object in DQE

    I've some prob with "importing business Objects" in SAP Enterprise Portal I've EP6.0 SP16 installed. While importing the Business Object from "BW" System I expand the BW Node but alas! dont get any BO in it.. It shows a message "Loading...." and hang

  • Problems calling SOAP in JAVA program

    Hello Experts, I'm quite new to using SOAP. I just want to ask how to call SOAP in JAVA specifically NetBean. I already created a webservice using the WSDL a created in SAP XI but problem is when I'm trying to invoke the webservice I always get error

  • Tab Delimited

    I have a text file with 20 Milliion records. I have to insert all these records in Oracle Table. How to do this. I have never used SQL Loader before. Regards null

  • Address Book lookup

    I have a feature request for at least the nseries phones(but not only). In case of an incoming call the phone match only the last 7 digits of the phone number from the Address Book. As a result it can show a wrong name association to the incoming CLI