I believe that's it. I remember having to make that same alteration. I
believe the WebStack version of Apache is rather secure by default, in
that content being served from any directory other than the
/opt/coolstack/apache2/htdocs folder is denied by default first (default
apache is allow,deny if memory serves).

You have to put in a directive which permits content to be served from
the userdir. If you use the included /extra/httpd-userdir.conf file
(uncomment it in httpd.conf), this directive is already made for you (as
opposed to just adding the "UserDir public_html" as you have done).

Hope it makes sense.

-John

-----Original Message-----
From: [email protected]
[mailto:webstack-discuss-bounces at opensolaris.org] On Behalf Of Mads
Toftum
Sent: Thursday, November 15, 2007 4:02 AM
To: ludo
Cc: webstack-discuss at opensolaris.org
Subject: Re: [webstack-discuss] Enabling UserDir in apache22?

On Wed, Nov 14, 2007 at 05:08:30PM -0800, ludo wrote:
> I see that the mod_userdir.so module loaded in conf.d/modules-32.load 
> file, but when I add a line:
> 
> UserDir public_html
> 
> in httpd.conf, restart and create a ~/public_html/index.html file,
> I get a "client denied server configuration: 
> /export/home/ludo/public_html" error
> 
This could be any one of a number of things but in this case it could
well be something like having access controls that only allow access
within the usual webscope:

<Directory />
Deny from all

<Directory /some/where>
Allow from all

> I guess I must be missing something obvious...A Google search gives me

> 100s of entries, and I still feel the need to ask the question to this

> alias:)
> 
This smells very much of a common user problem not really related
specifically to the webstack version. A common place to ask is #apache
on freenode or http://httpd.apache.org/lists.html#http-users

vh

Mads Toftum
-- 
http://soulfood.dk
_______________________________________________
webstack-discuss mailing list
webstack-discuss at opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/webstack-discuss

Reply via email to