Apache 403 Permission Error Due to daemon user

I am running BitNami MAMP Stack. I am create a virtualhost for the dropbox. Inside the httpd.conf file I added the following line.

 


#DropBox
<Directory "/Users/kenteo/Dropbox/www">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be “All”, “None”, or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride All

#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all

</Directory>
#END DropBox

I tried to access this from web browser, it keep prompting 403 Forbidden.

I was checking with the folder permission, everything is alright. It is set to 755.

Finally I found out the solution is due to the user to start the processor. It also located at httpd.conf

Original:

<IfModule unixd_module>
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User daemon
Group daemon

</IfModule>

Edited:

<IfModule unixd_module>
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User kenteo
Group daemon

</IfModule>

From the error.log file it also shown:

[Fri Jun 20 22:53:01.539398 2014] [core:error] [pid 14837] (13)Permission denied: [client 127.0.0.1:51390] AH00035: access to / denied (filesystem path '/Users/kenteo/Dropbox/web') because search permissions are missing on a component of the path

Once you had change the User and restart it, the problem should be solved.

Activity Monitor:

httpd process

芙蓉驰名美食店 Restoran Famous Seremban Favourites

If you are looking for melt-in-the-mouth Char Siew, this is the restaurant you need to visit!

melt-in-the-mouth Char Siew
melt-in-the-mouth Char Siew
Wan Tan Mee
Wan Tan Mee
Hak Ka Mee
Hak Ka Mee
Hak Ka Mee
Hak Ka Mee

For Hak Ka Mee personally I feel it is a bit salty. I added my own plain water to make it less salty.

Recommend Dish: Char Siew (IS A MUST!) Wan Tan Mee (I Prefer this one) / Hak Ka Mee!
Will I Coming back again: Yes!
Crowd: Yes (Come early!)
Cleanliness: Moderate
Service: Moderate
Category: Non-Halal

Operational hours: Open from 8am-4pm. Closed on Tuesday.
GPS Coordinates: 3.1186666666666665,101.59916666666666

 

Gold Chilli @ SS15 Subang Jaya

Looking for the BEST BUTTER CHICKEN? The milky, creamy, sweet and  butter sauce that you will crave for more. (BELIEVE ME!)

Butter Chicken @ Gold Chilli
Butter Chicken @ Gold Chilli

8 Peaces of Butter Chicken (Medium Size) – RM13.00

Meal with my wife with 3 dishes + 2 white rices

Recommend Dish: Butter Chicken + White Rice!
Will I Coming back again: Of Course Yes!
Crowd: Yes (Come early!)
Cleanliness: Moderate
Service: Moderate
Category: Halal/Pork-Free

Operational hours: 12am-12pm. Closed on Sundays.
GPS Coordinates: 3.074454,101.586848

 
[googlemaps https://maps.google.com.my/maps/ms?t=h&msa=0&msid=209639889914100540416.0004fbc7aaa7aa78253f8&ie=UTF8&ll=3.074454,101.586848&spn=0.001725,0.002411&output=embed&w=425&h=350]

OS X 10.10 Developer Preview Overview

I had a chance to get  a MacBook Air to test with the latest OS X 10.10.

One of my friend asked me to help to format her MacBook Air. I help her do a fresh install to OS X 10.9 Mavericks, inside my mind why not have a try to upgrade directly to Yosemite 10.10

This is how it look from fresh 10.9 to 10.10

OS X 10.10 DP Initial Screen
OS X 10.10 DP Initial Screen

The question mark app is belong to Photo Booth. They did not ship the app yet. Other still looking good!

Safari 8.0

I used Safari 8.0 to experience the speed. So far the performance is good.

I browse through apple.com website. Only page give me very slow response is iPad Air page (http://www.apple.com/ipad-air/). The animation from the flat to the stand is not working in Safari 8.0. Let’s me know what is your feedback also.

Notification

OS X 10.10 DP Notification
OS X 10.10 DP Notification

I like the notification bar implement in the 10.10. This is the same gimmick used in 10.9 widget dashboard. But this is much more easy to access compare widget dashboard.

I really like the look the feel for 10.10! Good job Apple. I am really looking forward for the release version! It coming up the fall!