Mailinglist Archive: opensuse-security (465 mails)

< Previous Next >
Re: [suse-security] Permission problem with Apache
  • From: Jasmine Davis <jasmine@xxxxxxxxxxxxxx>
  • Date: Tue, 4 Dec 2001 11:25:33 +1100
  • Message-id: <20011204002416.51AE4E658B@xxxxxxxxxxxx>
Hi Ralf

I have this entry in my httpd.conf

# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is received.
#
<IfModule mod_userdir.c>
UserDir public_html
</IfModule>


I know that Apache has the mod_userdir.c loaded.

At one stage as a test, I did change the permissions of the directory to
allow everyone to have full access, but this did not make any difference.
(dont panic, the server is not online yet).

Also the error log shows nothing but the access logs shows this

192.168.1.1 - - [04/Dec/2001:09:33:12 +1100] "GET /~jasmine HTTP/1.1" 403 218


On Tue, 4 Dec 2001 10:09, you wrote:
> Hi Jasmine,
>
> shouldn't be a big problem. Check the following:
> -Is Apache allowed to read/list the documents in the ~user directories?
> -Is there a <Directory /home/of/user> for the user directories in
> your httpd.conf?
> -What tells your error_log of this site when you try to access?
>
> If you check these you will find the prob in most cases.
>
> Hope that helps,
>
> Ralf
>
> >Hi
> >
> >I am setting up apache 1.3.19 on our Suse 7.1 server & I am have a
> >problem with mapping ~user to public_html.
> >
> >After creating the public_html directory in the user directory & placing
> >an index page in it. I then try typing in the url http://my.server/~user
> >I get a 403 error, "Forbidden You don't have permission to access /~user
> >on this server".
> >
> >I have a had a lot of experience with IIS but this is the first time I
> >have started to work with Apache. So I know this is something stupid, I
> >just can't put my finger on it.
> >
> >Regards,
> >
> >Jasmine
>
> *
> * Ralf 'coko' Koch
> * mailto:info@xxxxxxxxxx
> *
> ---
> Mein Windows ist seit 6 Monaten noch nie abgestürzt. - Ein halbes Jahr
> ohne Strom - das ist hart.

--
Jasmine Davis - Photo Girl
www.photo-girl.com
-------------------------->>
Welcome to Suse Linux 7.1 i686 - Kernel 2.4.2-4
hotgirls login:
11:19am up 3 days, 22:52, 1 user, load average: 0.29, 0.23, 0.19

< Previous Next >