You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sasa STUPAR <sa...@stupar.homelinux.net> on 2003/05/04 09:11:26 UTC
[users@httpd] UserDir
Hi!
I am running apache 2.0.45 under RH8 linux. I would like to enable for
my users to have there own webpage. I have added this to my httpd.conf:
-----------
UserDir www
<Directory /home/*/www>
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
----------
The problem is that when I want to go to ex. httpd://mydomain.com/~username
I get 403 Forbiden error.
Am I missing something ?
Sasa
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
[users@httpd] SSI ?
Posted by Gordon Stewart <go...@slingshot.co.nz>.
Hi there
Ive d/loaded Apache last night - ive got it going - However Ive followed
all the instructions but cant get SSI to operate / parse my shtml files
G
<
PS - i've got :-
AddType text/html .shtml
AddHandler server-parsed .shtml
in the httpd.conf file..
& ive also got
Options Indexes FollowSymLinks +Includes
Is there anything else I should do - to activate SSI ?
PS - im on a WIN 98 system
G.
Re: [users@httpd] UserDir
Posted by Joseph A Nagy Jr <jo...@charter.net>.
Sasa STUPAR wrote:
> OK, I have got it working now. I have change definition for directory in
> httpd.conf and now it works. Thanks for the help.
>
>
<snip>
lol I didn't even think of that. :) Glad to have helped in some tiny way.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] UserDir
Posted by Sasa STUPAR <sa...@stupar.homelinux.net>.
OK, I have got it working now. I have change definition for directory in
httpd.conf and now it works. Thanks for the help.
On 5/4/2003 7:01 PM, Joseph A Nagy Jr a écrit:
> Sasa STUPAR wrote:
>> yes
> <snip>
>
> I'm stumped. I had the same problem when setting up a user dir for a
> friend and only solved it when making the entire /home/friend/ dir
> structure 777 (not advisable).
>
> Perhaps you should contact your local LUG, they'd be more knowledgable
> about the permission settings as that seems to be the problem. You
> wouldn't be getting a 403 Forbidden if Apache wasn't finding it.
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] UserDir
Posted by Joseph A Nagy Jr <jo...@charter.net>.
Sasa STUPAR wrote:
> yes
<snip>
I'm stumped. I had the same problem when setting up a user dir for a
friend and only solved it when making the entire /home/friend/ dir
structure 777 (not advisable).
Perhaps you should contact your local LUG, they'd be more knowledgable
about the permission settings as that seems to be the problem. You
wouldn't be getting a 403 Forbidden if Apache wasn't finding it.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] UserDir
Posted by Sasa STUPAR <sa...@stupar.homelinux.net>.
yes
On 5/4/2003 3:12 PM, Joseph A Nagy Jr a écrit:
> Sasa STUPAR wrote:
>> www has already settings pust.apache
>>
>>
> <snip>
>
> Is your home directory readable (e.g. chmod 755 /home/pust)?
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] UserDir
Posted by Joseph A Nagy Jr <jo...@charter.net>.
Sasa STUPAR wrote:
> www has already settings pust.apache
>
>
<snip>
Is your home directory readable (e.g. chmod 755 /home/pust)?
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] UserDir
Posted by Sasa STUPAR <sa...@stupar.homelinux.net>.
www has already settings pust.apache
On 5/4/2003 2:55 PM, Joseph A Nagy Jr a écrit:
> Sasa STUPAR wrote:
>> I have created www directory with chmod 777. Users belong to the apache
>> group and the server runs as user=apache and group=apache. This is the
>> error:
>> -------
>> Forbidden
>>
>> You don't have permission to access /~pust on this server.
>>
>> Additionally, a 403 Forbidden error was encountered while trying to use
>> an ErrorDocument to handle the request.
>> ------------
>> Any other ideas?
>>
>> Sasa
> <snip>
>
> Try chown pust.apache www
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] UserDir
Posted by Joseph A Nagy Jr <jo...@charter.net>.
Sasa STUPAR wrote:
> I have created www directory with chmod 777. Users belong to the apache
> group and the server runs as user=apache and group=apache. This is the
> error:
> -------
> Forbidden
>
> You don't have permission to access /~pust on this server.
>
> Additionally, a 403 Forbidden error was encountered while trying to use
> an ErrorDocument to handle the request.
> ------------
> Any other ideas?
>
> Sasa
<snip>
Try chown pust.apache www
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] UserDir
Posted by Sasa STUPAR <sa...@stupar.homelinux.net>.
I have created www directory with chmod 777. Users belong to the apache
group and the server runs as user=apache and group=apache. This is the
error:
-------
Forbidden
You don't have permission to access /~pust on this server.
Additionally, a 403 Forbidden error was encountered while trying to use
an ErrorDocument to handle the request.
------------
Any other ideas?
Sasa
On 5/4/2003 2:20 PM, Joseph A Nagy Jr a écrit:
> Sasa STUPAR wrote:
>> Hi!
>>
>> I am running apache 2.0.45 under RH8 linux. I would like to enable for
>> my users to have there own webpage. I have added this to my httpd.conf:
>> -----------
>> UserDir www
>>
>> <Directory /home/*/www>
>> AllowOverride FileInfo AuthConfig Limit Indexes
>> Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
>> <Limit GET POST OPTIONS PROPFIND>
>> Order allow,deny
>> Allow from all
>> </Limit>
>> <LimitExcept GET POST OPTIONS PROPFIND>
>> Order deny,allow
>> Deny from all
>> </LimitExcept>
>> </Directory>
>> ----------
>> The problem is that when I want to go to ex. httpd://mydomain.com/~username
>> I get 403 Forbiden error.
>>
>> Am I missing something ?
>>
>> Sasa
>
> /home/~/www needs to be chmod'd at least 755 (and the dir has to exist
> in the first place, it's not just auto-created).
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] UserDir
Posted by Joseph A Nagy Jr <jo...@charter.net>.
Sasa STUPAR wrote:
> Hi!
>
> I am running apache 2.0.45 under RH8 linux. I would like to enable for
> my users to have there own webpage. I have added this to my httpd.conf:
> -----------
> UserDir www
>
> <Directory /home/*/www>
> AllowOverride FileInfo AuthConfig Limit Indexes
> Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
> <Limit GET POST OPTIONS PROPFIND>
> Order allow,deny
> Allow from all
> </Limit>
> <LimitExcept GET POST OPTIONS PROPFIND>
> Order deny,allow
> Deny from all
> </LimitExcept>
> </Directory>
> ----------
> The problem is that when I want to go to ex. httpd://mydomain.com/~username
> I get 403 Forbiden error.
>
> Am I missing something ?
>
> Sasa
/home/~/www needs to be chmod'd at least 755 (and the dir has to exist
in the first place, it's not just auto-created).
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org