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.

Similar Messages

  • Help with understanding the Home Folder plus User Accounts

    I just got the IMac (replacing an ageing...that is an understatement...Grape iMac from long ago) and this is my first go at the OSX. My previous iMac had OS9.2
    I am having a problem understanding the Home folder and the Users to a point. The concepts are fine, it is the changing of names that is the problem. When I first started the iMac and went through the set-up and finally looked at the file structure, there was the Home Folder with a name, which i guess was pre-entered during set-up since I did not enter it (lets call it JOE). There was also 1 User, JOE with all the iLife folders. Since I did not like the name, i went to the Systems Preferences, into Accounts and found that JOE is an Admin. So, I changed the name to, lets say BILL, who still is an Admin. I also changed some settings and made BILL the auto log account. OK so far I am happy. I go back to the HD and find that now there are 2 users (folders), BILL and JOE, and that the Home Folder is still named JOE butall the iLife files are now under BILL.
    So I went and also renamed the Home Folder to BILL, so everything looks fine. But when I restarted the iMac latter it lost all the settings (mouse, etc.) This is really getting confusing.
    Here is what I want to do (after some reasearch):
    I want to change the Short Name (JOE) but so far I have read that you can not do that. Where did this name come from (basically my first initial and my last name) because I don't want my Home Folder to be named that. I found somewhere that the only way to do that is an Erase and Install. I am willing to do that since I have a backup of all the iLife files on an external disk anyways and I have not put anything new yet.
    Can someone enlighten me as to what would be the best course of action....this Short Name thing is frustrating.
    iMac 20" 2.33MHz   Mac OS X (10.4.9)  

    Welcome To Discussions kapklo!
    First you need to sort out the extra Home folder issue, that was created by changing the Short Names.
    The info in one or more of the articles linked to below, will help you with that.
    Return to Default Desktop, Apparent "Loss" of Home Directory
    My home folder and desktop are different than before
    Recover from renaming your Home folder, authored by Dr Smoke
    Then you can change the Short Name using this Change Short Name The Easy Way.
    Or you could do an Erase & Install, making sure you enter your preferred Short Name, during the setup process.
    ali b

  • I have three user accounts on one computer. On only one account when I when I check Help - About fire fox only one user account says apply update and won't apply. The other two work fine.

    One of three user accounts on the same computer appears to not be updating to 8.0.1 correctly. One admin and one none admin user account says it is up-to-date. The other non-admin user account, under Help About Firefox says apply update, but won't.

    As long as you installed MS Office into its default location (the top level /Applications folder) it will be available to all user accounts on the Mac.
    As far as licensing is concerned you only have to enter the license code once, which you should do right after installing MS Office, in the same admin account you installed it from, by opening any one of the MS Office applications.  There is no additional licensing required for additional user accounts on the same Mac.
    Each user account is able to run the Office apps.  The only thing you will have to do is go through an initial setup screen in each user account (but this setup does NOT involve entering any additional license codes).
    You may have problems if you installed MS Office in a particular user account (i.e. NOT in the top level /Applications folder).

  • Merge iweb sites from multiple user accounts on same computer

    With the previous iweb version, my children created their own iweb sites on their own users, but all under my own .mac account. It worked great.
    But now with the new "upgraded" iweb '08, that isn't allowed anymore.
    So, I created a new user on our computer for all of us to use to maintain our multiple iweb accounts on.
    How can I move multiple iweb sites from multiple users on the same computer into one user?

    Each of the user's work in iWeb will be contained in a single file, Domain.sites2, which can be found in this location on the hard drive for each user account. You will need to copy all of these Domain.sites2 files to an external drive, or, at the very least, burn them to a disk to make them transferable from one user account to another. A flash drive also works great for this.
    Once you have made all of these Domain files accessible from the new user account that you created, you will still have a formidable task ahead of you, i.e., publishing separate sites, from separate Domain.sites2 files, to the same .Mac account/directory. In other words, bringing all of these Domain files together for access by a single user account will not solve the problem. You may very well be able to solve the problem with things the way they are, but it will involve some shuffling of Site's files on the iDisk prior to publishing.
    The method I'm going to give you has worked well for me. So far, here in the forums, I've read posts from (2) other users who were also successful. Conversely, I know of at least (3) other users who have been unsuccessful with this approach. I sure hope it works for you.
    Open System Preferences and go to .Mac. Turn syncing off, if it is on, and leave it off.
    Now, in Finder, navigate to the current Site files on your iDisk, following this path:
    Go/iDisk/My iDisk/Web/Sites/NameOfSiteFolder
    Drag the Site folder that is named for your site, (not the directory Site folder), back one level on the iDisk, into the Web folder. This is where some run into difficulties--you may get an error message that the folder is "in use, and cannot be moved". I have never gotten this message, and am able to move my Site's folders around with no problem on the iDisk.
    If you are successful moving the folder, choose one of your other accounts on your machine, launch iWeb, and Publish all to .Mac. The existing site on the server will not be deleted. Now, go back to the iDisk and move that site folder, (the one you just published), back one level, again, to the root Web directory. Publish your next site, from your next account.
    When you are finished publishing sites, just move the Site folders back to their original location on the iDisk--Web/Sites/SiteFoldersHere. All sites will be accessible from a browser using the web.mac.com/username/nameofsite url.
    It is important to use the Publish all to .Mac command in iWeb. A simple Publish to .Mac command will not put the correct index.html file in place on the server.
    Post back and inform us of your success.
    -Mark

  • The home folder for user isn't located in the usual place......

    ....or can't be accessed.
    Ok so I have trawled the internet and found this to be a known problem, however mine has an extra twist.
    Ok, my Mac has a local admin account, lets call it Admin, but the account I use is a network account called PBN.
    This network account does not create a home folder path to the server, as such it stores a user folder in Macintosh HD/Users/.
    Since buying this mac this has been working fine, no issues, but today when I log onto the machine it gets the error "The home folder for <user> isn't located in the usual place or can't be accessed", whats more is that its created a new folder labelled "~".
    Things I have tried:
    1) repair permissions and repair disk while booted into SL DVD
    2) Right clicking while in System Pref - Users to get to advanced options to check the home drive path (Can't do this because its a network account although the profile is stored locally)
    3) xattr -d com.apple.FinderInfo / on problematic machine
    Couldn't do this on the PBN account as it has no permissions (although it is a domain admin)
    attr file no found error the admin account
    4) xattr -d com.apple.FinderInfo /volumes/users/ while booted into another machine with broken machine in target disk mode.
    So, I am at a major loss and would really preciate any help

    The error messages regarding network homes really don't offer any specific clues as to what's wrong. The error message you're getting means one of several things - you've done something wrong setting up your server, you've done something wrong setting up your clients, your server has hardware/software issues, or your network infrastructure is bad. I'm honestly not trying to give you a bad time here, just going over possibilities.
    DNS, which you mentioned, is a good place to start. You mentioned that forward/reverse lookups work, and that's a good sign. But just to be sure, have you run sudo changeip -checkhostname
    If that reports back that the names match and there is nothing to change, then it's pretty certain that DNS is not the issue. Just to be sure, your clients are using your OS X Server, or whatever server is hosting DNS records for your setup?
    The next step is to double-check permissions on the shares where user homes are located. The clients should also have accurate date&time settings.
    The logs on the clients and server can also offer clues, however cryptic they may be, be sure to look at them if you haven't.
    Also, has this setup worked before, if not, can you describe how you set everything up? I've been stymied by OS X Server myself, so I get where you're at, but the more details you provide, the better chance that Tony, Mr. Hoffman, or other folks here can offer a few more clues/suggestions.
    hth
    Jeff

  • Can I change the Home Folder of users with Group Policy (or in another centralized way)?

    I know how to change the Home folder of users from AD Users & Computers -> their Properties -> Profile tab. But this is not very practical when one has users spread across many OUs, and with users being added and removed often.
    So I am wondering whether there is a way to do the same with a GPO. The closest thing I found was Folder Redirection, with which I can change the location of particular profile folders for each user, but not the location of the whole profile.
    Is there a way to redirect the entire location of users in a centralized way, using a GPO or some other mean?

    I would recommend reading that about the management of roaming profiles: http://technet.microsoft.com/en-us/library/cc784961(v=ws.10).aspx
    You can involve the use of Powershell scripts for the management of roaming profiles:
    http://social.technet.microsoft.com/wiki/contents/articles/12460.powershell-automate-roaming-profile-folder-permissions.aspx
    http://gallery.technet.microsoft.com/scriptcenter/Check-if-an-AD-user-has-a-45ed5d1c
    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
    Get Active Directory User Last Logon
    Create an Active Directory test domain similar to the production one
    Management of test accounts in an Active Directory production domain - Part I
    Management of test accounts in an Active Directory production domain - Part II
    Management of test accounts in an Active Directory production domain - Part III
    Reset Active Directory user password

  • How can I share the home folder with different accounts on the same mac?

    Hi, here's a question:
    How can I share the home folder with different accounts on the same mac?
    The whole point being not to have to install all my apps, and move all my files each time between users.
    The second thing would be to be able to modify one document on one account, and have it changed on the other account without having to copy it.
    I would like to have a pro and a private account on my mac.
    Thanks for you answers,
    Doug

    Your apps should not be installed in your home folder--they should be in /Applications where every user can access them.
    If you want to share things between users on the same Mac, use the /Users/Shared folder. Keep your home folder private. Trying to defeat the protections on the home folder subfolders just gets messy. I've never bothered to figure out all of the problems associated with it so I can't explain how to do it.
    Even with using Shared, you would need to alter the ACLs on the shared folder in order to allow both users to modify the documents.
    You must create a Group in Users & Groups and put each user in that group. Then create a folder inside /Users/Shared where you want to share the various files.
    Then, add an ACL to the shared folder that gives the group special permissions. on that folder.
    sudo chmod -R +a "<sharinggroup> allow delete,chown,list,search,add_file,add_subdirectory,delete_child,file_inherit,directory_inherit" /Users/Shared/<sharing folder>
    Replace <sharinggroup> and <sharingfolder> with the name of your group and your folder. Then, run the command in the Terminal.
    With that ACL, each user in <sharinggroup> will be able to alter the files created by any user in the group in that <sharingfolder>.
    Essentially, the client OS is not designed for true file sharing among the individual users. It is designed to isolate each user account from the others.

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

  • Could someone clarify some questions I have about the download folder?

    I use my computer mainly for audio recording. I'm constantly downloading updates to virtual instruments, updates for programs, new applications, etc. Once I download something and install it, can I delete the file from the download folder? If it's an application, do I need to drag it from the download folder into applications?
    Also, there are lots of .dmg files. I've always wondered about these. Once I have opened it and installed the program, is there any need to save them? Or can I trash them? As you can see from the screen shot, some of those files are really big and I'd like to get rid of them.

    If you no longer need a downloaded file you can delete it.
    Downloaded applications need to be installed in the Applications folder. You do not drag anything from the Downloads folder to the Applications folder unless you are draggin an Application from an archive or disc image.

  • Can't get into User Accounts  in smc

    After few Updating around I can't get into User Accounts in smc. I can go through up to there, but when I doubleclick on User Accounts it's get just clock loading forever, that's all. BTW I have unistalled update 121309-12 'coz with this update when I started smc - there was NO Solaris Management Console Server available. So I could not even load it. Please anybody know what causes this problem? Thanks in advance
    Edited by: wmila on Mar 23, 2008 4:09 AM

    Yup, thanks for link. I already read it before.
    I added the line to Services, delete the SMC Patch. But still it did not help. I am doing smt wrong :-(
    I normally login to SMC. Server starts, I can see Management tools and Localhost, started Management. Then, when I click to User Accounts it's get overclocked, and waiting...

  • Apple why did you take the Sites folder with my website in it? Nobody helps!

    Since upgrading to Mavericks I lost my local website folder that used to be in the Sites folder!
    Error: Can't connect, check your info! Oh Apple why did you take it? "H E L P  P L E A S E!"

    Thank you Barney-15E
    I have no clue why this is or why I am getting this error in Mavericks. All I have is a local website folder in the Sites folder using Dreamweaver CS4 to update my files, working perfect on my other drive running 10.6.8 . Why I cant update and get the error above is the reason I am posting here. (and several other spots)
    You said:
    "First off, FTP is disabled in Mavericks, which is why you likely cannot FTP into your local Mac--why are you ftp'ing to the Mac you are working on?"
    You said:
    "Your Sites folder is in your Home folder. However, if you created it somewhere else, you'll have to figure that out."
    When I say my Sites folder is not in my Home folder you can bank on it. No I never changed any folders in there.
                                  Walter

  • How to recreate the com.apple.calendarserver user account?

    Hi everybody!
    I migrated my Snow Leopard server to Lion and discovered (to my annoyance) that it doesn't run an Open Directory server by default. This is bad since we have several Macs that rely on this feature. As you all know, Apple ***** badly as far as the documentation or support for Mac OS Server is concerned.
    Anyway, with a lot of research I got my OD up and running again, including all the user accounts. There is just one victim: the com.apple.calendarserver user account. It is not in OD anymore, and it is not in the local user database. Consequently, email invitations in iCal don't work, which again ***** badly.
    Can any of you guys tell me a way to recreate this user account without blowing the rest of the server out of the water?
    Your help is greatly appreciated!
    Kind regards
    Jörg

    Hi everybody,
    I finally hit the right spot, I think. Having a look at the server settings via
    # sudo serveradmin settings calendar::Scheduling
    revealed that they were all wrong. I looked up my System key chain and voila, there is an entry for icalserver.invitations. I retrieved the password and checked if it worked by entering
    # sudo doveadm auth com.apple.calendarserver <password from key chain>
    It worked! So I fixed the server settings via
    # sudo serveradmin stop calendar
    # sudo serveradmin settings calendar::Scheduling:iMIP:Sending:Password="<password from key chain>"
    # sudo serveradmin settings calendar::Scheduling:iMIP:Receiving:Password="<password from key chain"
    # sudo serveradmin start calendar
    Everthing seems to be running happy dandy right now, I'll test some more and report back to you guys if I run into more glitches.
    Thanks, Apple, for providing a totally unhelpful documentation...

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

  • I lost an xcel doc. Tried to find the Library folder in Users not there when use Finder. But when trying to upload a photo, iphoto found the library folder I can see my doc in Office 2011 Autorecov, but can't access it! How do I get User to show Library

    I lost an xcel doc a couple of days ago. Tried to find the Library folder in Users but not there when I use Finder (even when I do shift-command-G). But when trying to upload a photo in iphoto I found the library folder in Users. I can see my doc in Office 2011 Autorecovery, but can't access it! How do I get User to show Library then I can get to my long lost document?

    The auto recovery dat should be in the Microsoft User Data folder in your documents folder, not in the Library. However, I Haven't had to look recently.

  • When I send an email the rely comes into another account in my apple email.  How do I set it so that my email comes to the correct address?

    When I send an email the rely comes into another account in my apple email.  How do I set it so that my email comes to the correct address?

    Hi Sunny C,
    Welcome to the Support Communities!  The "From" field should be showing by default, but you can check or change your settings for Mail with the instructions below:
    Mail (Yosemite): Set Mail preferences
    http://support.apple.com/kb/PH19178
    In the Composing pane, you can set the email account that you want to send new messages from.
    Also, check the View command on the Menu bar.  View > Message Attributes should have a checkmark beside the "From" field.
    Cheers,
    Judy

Maybe you are looking for

  • What is the best way to get rid of duplicates in the XML data?

    Hi all, Please help me with the best way to get rid of the duplicates in the XML data. Will a transform with some stylesheet do the trick? I need to read on the stylesheet first, but please tell me if that is possible. I have to deal with XML data th

  • Weblogic startup error

    Hi All, we installed I&AM 11g, but we are not able to start the weblogic server it is throwing the follwoing error. weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the

  • On several different computers, documents coming from a scanner will not open, they are corrupt..?

    The files say they are corrupt and can not be opened.

  • VIP not reachable on ACE 4710

    Hi All, I am not able to connect to a virtual IP address of ACE 4710 and either i am able to ping it. Kindly let me know if anything wrong here. Regards, Neha.

  • New Editor downloadable??

    Hello folks, on de Euroforum was announced, that a new Editor (supporting for example syntaxhighlihting ) for the Forte IDE is available on forte.com. I was searching e few times but I did not find anything. Can somebody help me? Greetings F. Samland