Apache 2 and ~User Site folder

I recently installed Apache 2 following the helpful guide at http://www.phpmac.com/articles.php?view=244, at any rate while I have Apache running correctly, and can load http://127.0.0.1 (which displays the Apple default stuff) I cannot load http://127.0.0.1/~username. I have followed the guide, editing the httpd-userdir.conf, so I am not sure what to do. Having looked at an old Apache httpd.conf file I noticed that it had a
<IfModule mod_userdir.c>
UserDir Sites
</IfModule>
statement which is missing from the new httpd.conf, might that be the source of the problem? For example, there may be a module that I failed to install? If so a little direction would be a big help -- I don't know much about adding modules beyond "LoadModule". Any help is much appreciated!

>Would you please take a look at my thread 9-22-06
Not unless you post a link to it.
In any case I know exactly what I'll say there.
The first is to ask what the logs say. I'll go out on a limb and say there's an error message that looks something like:
 Permission denied: access to /Users/billjones/Sites/index.php failed because search permissions are missing on a component of the path.
Am I right?
If so the log message tells you what's wrong - Apache doesn't have permissions to search the directory tree to get to the document, so it doesn't know if the document exists, or whether it can serve it.
You need to add world-executable privileges to every directory in the path to the file - that means /Users, /Users/billjones and /Users/billjones/Sites
Since your other 'guest1' account works it's likely that /Users has the right permissions, so focus on the other directories.
You'll need to chmod a+x /Users/billjones in order to set the execute bit on your home directory. Then repeat it with the /Users/billjones/Sites directory.

Similar Messages

  • Integration of Apache Solr* and Webcenter Sites.

    Hi ,
    I am new to Apache Solr and Webcenter Sites . could you please guide us how to integrate both of them using SolrJ . please provide us the best ways for integrating them .
    Thank you,
    Sashank P

    Hi Sashank,
    In short you would need to customize WebCenter Sites.
    You would need to include Apache Solr Client libraries into lib directory of you sites installation and call it withing the jsp template.
    BR
    user12345

  • Migrate OD Users Sites folder only

    Hey all,
    Here at our school we have server that we wipe every year and re-add our users to clear out our graduating students, upgrade our machines, etc. The faculty have decided that for those students that are not graduating they want to setup a website in each of their user folders that the students can have for all four years of school. We have students now who have websites from last year and I want to move their folders over.
    Is there an easy way to move over all the Sites folder for each user to their new home folder without having to do it 1 by 1 for each user?
    Thanks in advance.

    Make sure that the files you need are being synchronized on a regular basis with the server. For Address Book, this means ~/Library/Application Support/Address Book.
    For iCal, it's: ~/Library/Application Support/iCal/
    Oftentimes (and by default in the Background sync tab), either in the Login and Logout sync or in the Background Sync tabs in the Mobility preferences for a user, ~/Library/ (and therefore the directories underneath it) are excluded from synchronization. Getting these off of the excluded list will make sure that they get included.
    Check other threads on portable/mobile home directories for things in the ~/Library folder than you may not want to have sync, like the ByHost preferences.

  • Enabling user Sites folder

    I would like to enable the "old style" http://my.server.org/~username configuration so users can share the contents of their Sites folder in OS X Mavericks server.
    So far I have succeeded in getting it to work for Open Directory users by editing /Library/Server/Web/Config/apache2/httpd_server_app.conf and uncommenting these two lines:
    Include /private/etc/apache2/extra/httpd-userdir.conf
    and
    LoadModule apple_userdir_module ${SERVER_INSTALL_PATH_PREFIX}/usr/libexec/apache2/mod_userdir_apple.so
    Once I did that Local Network Users' (Open Directory Users) sites are accessible at http://my.server.org/~username but sites of Active Directory users are not.
    Does anyone have any suggestions?

    Using your text editor, create a new document. Type following text
    <Directory "/Users/username/Sites/">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    where you replace username by your username. Save it as a text document on your Desktop with name username.conf
    Go to Finder, select Go menu, Go to folder item. Type /etc/apache2/users. A Finder window will open. Drag your username.conf file from the Desktop to this folder.
    Authenticate when ask.
    That's all.
    You probably (not sure) will have to stop and start Web sharing (in Preferences) to access your personal site
    http://servername_oraddress/~username/
    Hope this helps.

  • 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

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

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

  • Global search and replace on large-scale multi-user sites

    Is there a way for Dreamweaver to select only the files that
    are found when using the find and replace facility? This would make
    updating large websites a lot easier.
    From time to time I need to perform small changes to text or
    code (that obviously is not contained in an include file or library
    item) sitewide. As the site is administered by multiple users, it
    uses the check-in/check-out system, which means that before editing
    a file, it needs to be checked out. Thus, we can't just use search
    and replace directly, we have to check out the relevant files
    before performing the replace routine. The problem is selecting
    only those files which will be affected by the search and replace
    (and perform the operation in minutes) rather than selecting
    everything (and spending hours).
    Since it seems one is unable to select only files that appear
    in the search results, I have to manually identify the folder that
    holds the files with the results, and then check it out. As the
    files which need to be edited might be scattered around the whole
    site, this often means that I have to check out whole folders close
    to the site root. The check-out command will include everything in
    a folder, and the site contains thousands of files (which has to be
    checked back in afterwards), so obviously this is a heavy and
    time-consuming operation.
    Does anyone know if DW has a way of selecting only the
    relevant documents, or have suggestions for other ways of doing
    this? I get the feeling that this is most easily achievable by
    using tools outside DW, but I hesitate to go outside DW since it
    would interfere with DW's site managment system.

    I don't think you will find anyone here with such experience,
    not the least
    reason being that Library items run out of useful steam at
    about 100 pages.
    To use them on larger sites is just too tedious and risky,
    honestly. Is
    there any possibility to change to server-side includes?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "lochnessmoose" <[email protected]> wrote in
    message
    news:gb5ua7$a2t$[email protected]..
    > Is there really noone here with experience with this
    problem?
    >
    > The same problem applies to editing library items. I
    need to update a
    > library
    > item that will affect 200+ files (on a website that has
    thousands). Being
    > able
    > to select only those 200 for check out before editing
    would be a lot
    > easier
    > than having to check out the entire 500 MB site....
    >

  • User sip folder have many .cache files with 4kb and the folder is becoming full and Lync Client stops working

    User sip folder have manu Mailitem&username&.cache files until folder is full and Lync client stops working.

    Hi,
    You can try to change the Lync Profile name. After you do it, Lync will create a new Profile. The Lync Profile path is following:
    %UserProfile%\AppData\Local\Microsoft\Office\15.0\Lync
    If the issue persists, please repair Office 2013 and then test again.
    Best Regards,
    Eason Huang  
    Eason Huang
    TechNet Community Support

  • Granting permissions to manage my sites site collections and user profiles

    We currently have no governance in place to deal with user profiles and my site site collections.
    So the farm has quite a large number of both profiles and site collections which are orphaned. We do not currently run the timer job that deletes my site site
    I have a few questions about handling this kind of thing.
    1. We have administrative staff who handle the "off boarding" process. They send out mail to people asking whether project folders continue to be needed, etc. and give project members a month to make copies of the important info. Right now, there
    are a few of these staff which have site collection admin rights on normal projects.
    Is there a way that a powershell script could be constructed to give them the ability to delete obsolete user profiles and site collections without giving them full farm admin rights?
    2. Is there a way to set up an AD or SharePoint group and then use that group as a secondary site collection admin on the my site site collections?
    3. With appropriate permissions, would they be able to grant someone else permission to look at data in the my site collection to determine whether any of it needed to be kept?
    I have been requested as a sharepoint admin to work with the offboarding process staff so that they include the sharepoint my site data in the data that they recommend people check before deleting the data.
    I would like to automate as much of the dealings they have to have with the system as possible, just to reduce unrelated accidental actions.

    1. We have administrative staff who handle the "off boarding" process. They send out mail to people asking whether project folders continue to be needed, etc. and give project members a month to make copies of the important info. Right now, there
    are a few of these staff which have site collection admin rights on normal projects.
    Is there a way that a powershell script could be constructed to give them the ability to delete obsolete user profiles and site collections without giving them full farm admin rights?
    Inder : 
    http://blogs.msdn.com/b/kaevans/archive/2012/06/25/top-recommendations-for-managing-the-my-site-cleanup-timer-job.aspx
    http://www.harbar.net/archive/2011/02/10/account-deletion-and-sharepoint-2010-user-profile-synchronization.aspx
    http://blogs.technet.com/b/seanearp/archive/2009/03/04/sharepoint-profile-cleanup.aspx
    2. Is there a way to set up an AD or SharePoint group and then use that group as a secondary site collection admin on the my site site collections?
    Inder: NO, it has to be a user. But you can go to site action > site settings > site collection administrator > Add that group here.
    3. With appropriate permissions, would they be able to grant someone else permission to look at data in the my site collection to determine whether any of it needed to be kept?
    Inder:  Yes
    If this helped you resolve your issue, please mark it Answered

  • Users itune is stored to the hard drive and not in it's users music folder.

    I have 4 users on the same Imac. Updated to Mountain OS x 10.8.5. i have a user itunes that is being saved to the harddrive and i would like it to be stored to it's respective users music folders. How do i set that users itune to be stored inside of that users music folder.  I don't actually know if one of the users have to save their music on the harddrive. But i would like to still be able to share music between all of the libraries still. Thanks

    Hi,
    In iTunesPrefernces>sharing, what is enabled?

  • Sharing and Permissions for Admin Users Home Folder

    Staff user group deleted from Admin User home folder.  User groups listed are the user as read/write, admin as read and everyone as read.  If you create a new Admin user the group "staff" is listed instead of "admin"????  How do i get it back to how it was?  It also seems to be effecting stored passwords in my keychain and other apps.

    Hi, i think it depends who are you serving for, if you are just serving for a small office or home server or a big organization. The following quick thinking just came to me:
    I think cups set automatically a system  user of its own, and runs as it, so no trouble there. Cups also has the option to set users and it uses the system users as default, i think it depends in in how many printers/users your have in your server.Users that can manage cups are in the lp group. 
    For nfs every user should have their home, samba is also a good option if you have  windows computer in your network and it integrates better with graphical file  managers like nautilus in the clients side, but it is a hassle to configure.
    You should run the web server (owncloud ) as it own user, maybe you can manage to set something up for owncloud in the filesystem, but owncloud uses a database, and the users for owncloud are stored in there, and they are not system users.
    You can configure ssh for local use only enabling the corresponding subnets in your /etc/sshd.conf and optionally but recommended you can set a firewall and permissions. You can use iptables but i prefer ufw for simple setup.
    I think you should read the wiki:
    https://wiki.archlinux.org/index.php/users_and_groups
    and the other respective topics in the wiki.
    Also as an advice i know that arch linux is a great distribution, but you have to do more work to mantain a stable server. I would recommend debian or another more conservative distro, but of course it is your choice.
    Last edited by hydrosIII (2014-11-06 06:26:45)

  • Had Kernel panic and the app folder for my user is empty...

    I was using a OWC estat express card and had my second kernel panic in two days (not using it anymore..) but when I restarted the app folder for my user was empty. Now the apps are still on Macintosh HD and in the apps stack in the dock.
    So my question is does it matter if I just use the Macintosh HD apps and maybe even drag it into my user or will this cause problems.
    Also, I don't have a backup at the moment bc I just upgraded to snow leopard last week...
    Thanks!

    The app folder for my user had all of my apps earlier today...!
    I think that you are the one who is mistaken. All Apple apps are installed to the Applications folder at the root level of your hard drive, not the one in your user folder. If you moved them, some of them would stop working and all of them would stop being updated. Some third party apps will allow themselves to be placed in the user Applications folder, but some will not allow themselves to be installed anywhere other than the main Applications folder, and some will allow themselves to be placed in the user Applications folder but will not work properly if you do so.
    So, there's absolutely no way you had all your apps in that folder.

  • I have tried to log in on a web site and this is what I'm gettig: Alert 530 Autentication failed. I have used the correct password and user's name.

    ftp.oxbow.fr This is the file I have log on and I have used the correct password and user's name and this is what comes up:
    Alert 530 Authentication Failed!

    This is a user to user forum. Apple is not here. Apple does not answer questions here.
    iTunes Support -
    http://www.apple.com/support/itunes/
    Mac App Store Support -
    http://www.apple.com/support/mac/app-store/

  • .htaccess file in ~user/Sites directory

    Hello all,
    I'm having trouble getting a .htaccess file to work in my user directory (~/rwilson4/Sites/private, to be specific). They've always worked just fine in any subfolder of /Library/Webserver/Documents/, but they're not being recognized in my personal Sites folder. Here is my rwilson4.conf file:
    ]<Directory "/Users/rwilson4/Sites/">
    ] Options Indexes MultiViews
    ] AllowOverride All
    ] Order allow,deny
    ] Allow from all
    ]</Directory>
    ]# AccessFileName .htaccess
    I put that last line in because I wasn't sure if it was needed. I've tried it with and without the comment (and of course stopping and restarting the server with httpd graceful)
    I copied the .htaccess directly from one that currently works, but if anyone thinks that might be the problem, I could post that too.
    If anyone has any ideas, I'd be grateful for the feedback.
    Sincerely,
    Robert

    The user sites in Apache are configured much differently than the main site by default. One of the differences is authorization. The user sites section of httpd.conf will need changing to make it more like the main server section.
    Roger

Maybe you are looking for