How to fix permission denied for home folder with Apache in Mavericks?

I recently activated the apache that ships with OS X Mavericks. I followed some tutorial to set up the web-server, however. When I browse to my home-filter at http://localhost/~nazeem, I get the following error: You don't have permission to access /~nazeem/ on this server.
Installation steps
To set up the webserver, I took the following steps:
1. activated the webserver with command: apachectl start
2. enabled PHP by checking if the module is loaded
3. checked if the home folder module is loaded
4. made the user based configuration file, in /etc/apache2/users/nazeem.conf The content is as follows:
<Directory "/Users/nazeem/Development/Websites/">
Options Indexes MultiViews FollowSymLinks AllowOverride All
</Directory>
Permissions
~/nazeem : drwxr-xr-x+ ~/nazeem/Development : drwxr-xr-x ~/nazeem/Development/Websites : drwxr-xr-x
Log
The apache log says the following:
[Mon May 19 21:22:57 2014] [error] [client ::1] client denied by server configuration: /Users/nazeem/Sites
In my opinion this is remarkable, as the path /Users/nazeem/Sites is nog what I defined in my user configuration.
Versions
OS X Mavericks 10.9.3
Apache 2.2.26
Does anybody know how to solve this?

nzm_aak wrote:
I recently activated the apache that ships with OS X Mavericks. I followed some tutorial to set up the web-server, however. When I browse to my home-filter at http://localhost/~nazeem, I get the following error: You don't have permission to access /~nazeem/ on this server.
Does anybody know how to solve this?
You will have to contact the author of that tutorial and ask. Apache can be configured an infinite number of ways. You seem to be attempting to configure it in two conflicting methods. You can define specific directories on your web server or you can use mod_userdir. You can't hack up a combination of the two.
I posted my own User Tip on how to configure Apache: https://discussions.apple.com/docs/DOC-3083
This user tip only covers mod_userdir and will serve content out of $(HOME)/Sites. I strongly suggest starting there and only trying a custom location later, if you see the need.

Similar Messages

  • How to fix Security settings for Startup folder on startup

    Hello.
    i am getting the message that the security settings have changed. and due that items in my start up folder has been disabled. ( now that has not stopped me from working but it is annoying in the beginning) Now when I hit the question mark it tells you about it and the solution, it talks about have MacOsX fix it , but it does not show how On other posts it says that i would receive that option on startup but nothing there either. So How can i fix it .

    racb wrote:
    i took all the folders out and restarted and the same message came up that the startupitems folder is insecure and a second message saying that folder DS_Store in the startupitems folder is disabled because of insecure settings. Now I can not see that folder in the startup items folder, any idea
    Probably just as it says, DS_Store is corrupt. This stores the settings for a folder.
    To see if we can find the invisible folder and remove it open Terminal in your Utilities folder and at the prompt copy and paste defaults write com.apple.finder AppleShowAllFiles True; killall Finder
    If you can see the file now just delete it.
    Then, switch back to visibles only and create a new folder called Startup Items.
    defaults write com.apple.finder AppleShowAllFiles False; killall Finder
    Or, simply creating a new Startup Items folder may be enough.
    -mj

  • How to use smb share for home directory with AD account

    I have extended the schema of our AD and bound a macbook pro running 10.6.8 to the domain. AD users are able to logon, and if I select the option to use their AD homedirectory attribute then this smb share is used as a network drive. My question is though, I need users to logon to MAC using a different smb share for their home drive than the path set in the home directory attribute. Does anyone know how I can achieve this?
    Cheers
    Paul.

    But this method cannot use Regular Expression because my searching target is more than one line.Yes it can!
    Like you said, first you list all the files in the folder.
    For each file, use a BufferedReader to read the first lines, then you may use a StringBuffer to append the lines into it (don't forget to append the '\n' to each line).
    Finally, compile your pattern ( "^November.*\nDecember" ) with the DOTALL flag,
    verify that the string (from StringBuffer) matches the pattern and there you have it!

  • How to fix "access denied" in windows vista with Deskjet 3056A J611 Series

    I am really struggling with getting the printer recognized in windows vista 32 bit. No matter what I try (including HPPSdr)
    I keep getting "access denied" or windows cannot print?!
    Does anyone have a solution to this?
    HELP!

    I'm sorry, but the subject seems to have been cut off. What Printer are you using? How is the printer connected to the computer, USB, wireless, or Ethernet? Is the printer installed and when you use it you are getting this message, or are you getting this message during installation?
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • I get this error msg - Permission denied for to webpage get property XPCComponents.classes

    A couple of days ago I started geting the error msg -Permission denied for to <webpage> get property XPCComponents.classes. It happens with every webpage I visit. If I hit the x in the upper righthand corner I can then access the page. This doesn't have in IE. Any ideas how I could fix this and why it started happening?

    Try the Firefox SafeMode to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    * You can open the Firefox 4.0+ SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''
    If you look in the Error Console for that '''XPCComponents.classes''' error, there should be a '''Source file: chrome://''' address which might give us information related to which extension is causing that message.
    Firefox button > Web Developer -> Error Console or just use {Ctrl + Shft + J} from the keyboard

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

  • Error: Permission denied for (document.domain has not been set) to call method Location.toString on (document.domain=).

    Why am I getting these errors Error: Permission denied for (document.domain has not been set) to call method Location.toString on (document.domain=).
    == URL of affected sites ==
    http://

    HOW DO YOU SET THIS??? I'M FRUSTRATED OVER THIS. ITS BEEN 2 MONTHS SINCE I HAVE BEEN ABLE TO PLAY ANY GAMES IN FACEBOOK DUE TO THIS PROBLEM! IT DOES NOT MATTER WHAT BROWSER I USE I STILL GET THIS SAME MESSAGE.

  • How to fix ipod touch 4g home button(jammed)

    How to fix ipod touch 4g home button(jammed)?

    Hey! So I found out this free way to be able to use the home button with no cost! It won't unjam it, but using this method you will have a touchscreen homebutton.
    Directions:
    1. Go to Settings
    2. Go to General
    3. Scroll down and go to Accessibility
    4. Scroll down and go to Assistive Touch
    5. Then turn assistive touch on.
    What you will see is a little white circle on the screen. When you tap this circle you have the Home button option(which functions all the ways of your jammed home button). As well as a few other options; Device, Favorites and Gestures. You can move that circle about the screen for your convenience. This is just a way to have a home button without paying to restore.

  • When spanning new tabs (firefox) my users are asked to re-authenticate with pages already signed into. Can you tell me how to fix this issue for firefox users?

    With some research I found regedit setting called “TabProcGrowth” that allows tabs to span without re-authenticating with certain browsers. Can you tell me how to fix this issue for my Mozilla Firefox users? Our current version of Mozilla Firefox is: 24.5.0 (x86 en-US). This was first noticed with a product called Confluence that we use in our Tech Support area. Users are having to reenter their password every time they click on a new link in confluence. Any help would be appreciated.
    Thank you,

    Hi Bernie:
    As long as you are accessing your internal server on http:// or https:// then I would expect the normal rules to apply. To see whether some external requests are being blocked, you might try using Firefox's Web Console, Network tab.
    You can open the console in the lower part of a tab using either:
    * Ctrl+Shift+k
    * "3-bar" menu button > Developer > Web Console
    * (menu bar) Tools menu > Web Developer > Web Console
    Click "Network" on the top bar of the Web Console.
    Then use the address bar or a bookmark to launch Confluence in the same tab. Each request made by Firefox should be displayed along with the result. You can click a row for more details.
    When I look up "TabProcGrowth" it seems related to the Protected Mode feature of IE8 and newer, which is not (yet) applicable to Firefox. http://blogs.msdn.com/b/askie/archive/2009/03/09/opening-a-new-tab-may-launch-a-new-process-with-internet-explorer-8-0.aspx
    However, if Confluence is heavily reliant on plugins such as Flash or Java, that could be a factor because plugins are run out-of-process in Firefox. In that case I suggest checking with Confluence for suggestions.

  • Directory in home folder with 1367321 files?

    Hi!
    I have a random named (DZVhveYJ_Y) directory in my home folder (~) with 1.3 million files in it, also random named, all of them six characters. Directory size is only 480 MB. What can this directory be? Should I delete it?
    Last edited by Bailando (2014-01-29 17:09:17)

    jasonwryan wrote:What is in the files?
    ...and for your information, before you try to open them, you can find out what type they are by using the command "file <filename>". I hate it when I accidentally try to open a binary file in a text editor.

  • Three keys of my keyboard are not working, the cap one, the return key and the space bar, while the virtual keyboard shows to others keys highlighted in orange (^ and `); How to fix it? I writing now with a bluetooth keyboard.

    Three keys of my keyboard are not working, the cap one, the return key and the space bar, while the virtual keyboard shows to others keys highlighted in orange (^ and `); How to fix it? I writing now with a bluetooth keyboard.

    All new keyboards need Snow Leopard 10.6.8 and above for full functionality.
    Rather short-sighted of Apple perhaps, but that seems to be a trend these days.
    I'm afraid the only fix is to upgrade to SL. Personaly, I'd take it back and get a refund and seek an older keyboard or a third-party one elsewhere.

  • Deleted Movies Home Folder with Transmit

    Hi, accidentally I deleted my movies home folder with Trasnmit (pointing to the wrong window and bang!!!, bye bye movies!!!), and I managed to recover my files with Data Rescue II, but my problem is to get my Movies folder re-rooted to my user, which I have no Idea at all how to do.
    Any help will be really appreciated.

    And what about to have it rooted and protected with the ACL specials permissions that have Leopard, that is been talk in this posts:
    http://discussions.apple.com/thread.jspa?messageID=6192505&#6192505
    http://discussions.apple.com/thread.jspa?messageID=6286626&#6286626

  • After creating a form, how do I download it for further editing with Adobe Professional XI?

    After creating a form, how do I download it for further editing with Adobe Professional XI?

    This is probably a new precaution that Apple has taken to alert folks that something has occurred with their account that has not occurred before*, namely a Mac has downloaded something from their account that has not done so before. And as the notice says, if it was you doing so, then you may safely ignore the notice. Also, do not be alarmed, Apple refers to all downloads as purchases, even when they are free.
    But if you are truly concerned about the notice then you can authorize the Mac with your iTunes account, which should be the same as your MAS account. Open iTunes on the older Mac and sign into your account. Then in the Store menu choose Authorize This Computer. Now this Mac is definitely associated with your account and can now play media that you purchase from the iTunes Store as well.
    *My banks do the same thing when I pop up making a purchase with my bank cards somewhere in the world I have never made a purchase before. They call me and email me and want to know if it is indeed me using the card.

  • How to create a record for table PLAF with order type 'NB'.

    How to create a record for table PLAF with order type 'NB'(standard purchase order).
    who can tell me the T-code or some usefull information?
    Thanks.

    Hi
    This will be updated automatically when generate planned orders thru MRP. (MD02)
    regards
    Srinivas

  • How much is the exchange for iphone 5s with a broken screen? in Brazil charged me R$ 999.00

    How much is the exchange for iphone 5s with a broken screen? in Brazil charged me R $ 999.00

    If the device has not been opened by anyone (other than Apple) then it can be replaced via the Out of Warranty replacement program, $269US for the 5, 5C, and 5S?
    If it has been opened by anyone other than Apple, purchase a new device.

Maybe you are looking for

  • Same Image every time in JTextField with HTMLEditorKit and HTMLDocument

    Hi all I have a JTextPane with HTMLEditorKit as editorkit and HTMLDocument as document. I am trying to load an html file into the text pane. the html file contains image. When loading first time it is shown perfectly. After I change the image file wi

  • I am using 3 g iphone . Purchased 3 year before . I want to update to ios 7 . pl help

    I AM USING IPHONE 3  and want to upgrade to latest version ios 7 . I tried to upload but in vain since I was getting error download ios 5 and 6. model MC637HN Serial  84137CD3EDG IMEI  01 285400 174463 6

  • EJB redirection - lookup or inject defaults ?

    Hi, As a starting point: I have 2 layers in my app. Both layer contains stateless session beans. EJBs of Layer1 call EJBs of Layer2. EJBs of Layer2 can be customized by replacing some of them with custom implementations. The configuration of these cu

  • Problem with previewing video when capturing

    I recently had to reinstall FCP onto my Powerbook and since doing this the following problem has occured: When I open the log and capture window the program recognises my DV deck and plays the footage fine. However, when I start to capture the footag

  • Screen just stopped working

    Anybody have any experience with the screen just stops working? Literally one day was working and the next day not. It's a 2009 MacBook Pro, and I've done all the updates and taken really good care of it