[vox-tech] Re: quick apache question

Cylar Z cylarz at yahoo.com
Sun Feb 26 11:39:43 PST 2006


Hey all...

I've looked at the page on the Apache website that you
referenced and made the appropriate changes to my
httpd.conf file:

<IfModule mod_userdir.c>
    #
    # UserDir is disabled by default since it can
#confirm the presence
    # of a username on the system (depending on home
#directory
    # permissions).
    #
    UserDir disable
    UserDir enable my_user_wanting_to_upload_webpages

    #
    # To enable requests to /~user/ to serve the
user's          #public_html
    # directory, remove the "UserDir disable" line
#above, and uncomment
    # the following line instead:
    #
    UserDir public_html

</IfModule>

Now, when my user goes to www.mywebserver.com/~myuser,
he gets the following error message:

---------------
Forbidden

You don't have permission to access /~myuser on this
server.

Additionally, a 403 Forbidden error was encountered
while trying to use an ErrorDocument to handle the
request.
-----------

WTF?? Myuser's public_html directory has been chmod'ed
to 755, as has the index.html file INSIDE the
directory.

Any clue as to why Apache still insists it doesn't
have permission to access myuser's webpage?

Thanks, Matt

--- vox-tech-request at lists.lugod.org wrote:

> Send vox-tech mailing list submissions to
> 	vox-tech at lists.lugod.org
> 
> To subscribe or unsubscribe via the World Wide Web,
> visit
> 	http://lists.lugod.org/mailman/listinfo/vox-tech
> or, via email, send a message with subject or body
> 'help' to
> 	vox-tech-request at lists.lugod.org
> 
> You can reach the person managing the list at
> 	vox-tech-owner at lists.lugod.org
> 
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of vox-tech digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: linux and viruses (Alex Mandel)
>    2. Re: quick apache question (Jan W)
>    3. Re: quick apache question (Jan W)
> 
> 
>
----------------------------------------------------------------------
> 
> Message: 1
> Date: Sat, 25 Feb 2006 10:55:03 -0800
> From: Alex Mandel <tech_dev at wildintellect.com>
> Subject: Re: [vox-tech] linux and viruses
> To: lugod's technical discussion forum
> <vox-tech at lists.lugod.org>
> Message-ID: <4400A807.3060903 at wildintellect.com>
> Content-Type: text/plain; charset=ISO-8859-1;
> format=flowed
> 
> Bill Kendrick wrote:
> 
> >>Off-topic, but I've got a question:
> >>
> >>I have McAfee security crap on my Windows XP
> laptop here at work.
> >>(It includes a firewall which occasionally refuses
> to run due to
> >>"Unknown error"; but seems to start working again
> after some random
> >>self-update by McAfee, or some random Windows
> Update.  *grrr*)
> >>
> >>I find it concerning that the firewall is NOT
> running unless I'm actually
> >>_logged in_ to my/an account.
> >>
> >>Why does the firewall service not start up as
> _soon_ as possible?
> >>Is it not an issue at that point (i.e., the system
> is not vunerable)?
> >>Or is it simply not _possible_ for the firewall to
> start at that point?
> >>
> >>Considering the fact that it still takes about 5
> minutes between entering
> >>my username and password, and actually being able
> to _use_ the Windows
> >>environment (e.g., launch Mozilla Mail or Putty),
> am I vulnerable while
> >>waiting for McAfee to take its sweet time to start
> up?
> >>    
> >>
> I've had the same problem with Norton Anit-virus
> scans. I want it to 
> scan when I'm not at work but that means I have to
> lock my station, if  
> I log out it won't run until I log back in. Utterly
> useless.
> My best guess is that these software components are
> not services, and 
> therefore can't run without a user logged in.
> 
> Alex
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Sat, 25 Feb 2006 11:38:54 -0800 (PST)
> From: Jan W <jcwynholds at yahoo.com>
> Subject: Re: [vox-tech] quick apache question
> To: lugod's technical discussion forum
> <vox-tech at lists.lugod.org>
> Message-ID:
> <20060225193854.57740.qmail at web52015.mail.yahoo.com>
> Content-Type: text/plain; charset=iso-8859-1
> 
> Sorry for the dupe.  
> --j
> 
> 
>
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> I believe that unarmed truth and unconditional love
> will have the final word in reality. That is why
> right, temporarily defeated, is stronger than evil
> triumphant.
>     Martin Luther King Jr., Accepting Nobel Peace
> Prize, Dec. 10, 1964
>
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Sat, 25 Feb 2006 11:35:37 -0800 (PST)
> From: Jan W <jcwynholds at yahoo.com>
> Subject: Re: [vox-tech] quick apache question
> To: lugod's technical discussion forum
> <vox-tech at lists.lugod.org>
> Message-ID:
> <20060225193537.80658.qmail at web52007.mail.yahoo.com>
> Content-Type: text/plain; charset=iso-8859-1
> 
> Hey Z:
> 
> I think what you're looking for is the UserDir
> directive.
> 
> Is that enabled in the conf file (for your target
> user at least)?
> 
> Check this out for more info:
> 
>
http://httpd.apache.org/docs/2.0/mod/mod_userdir.html
> 
> --HTHO
> 
> jan
> 
> --- Cylar Z <cylarz at yahoo.com> wrote:
> 
> > Hey all,
> > 
> > Thanks to all who wrote regarding my "linux and
> > viruses" thread. A nod to those who said my admin
> was
> > unbelievably naive and uninformed. You know, he
> always
> > seemed like a smart guy, but the fact that he's
> barely
> > even heard of Linux (yet is in charge of a
> 200-client
> > network) is staggering. As someone who has a free
> hand
> > to design and maintain all the systems at our
> > workplace, you'd think he would want to be fully
> aware
> > of all his options and alternatives.
> > 
> > What I'll probably wind up doing is emphasizing
> that
> > there have been no large-scale virus attacks on
> Linux,
> > and even if there were, it would be difficult if
> not
> > imposssible for such an infestation to make the
> leap
> > from Linux to Windows. (I'm hoping this will put
> his
> > fears aside enough to let me hook up my laptop.)
> Many
> > posters correctly pointed out that anything beyond
> > this will likely go in one of the sysadmin's ears
> and
> > out the other.
> > 
> > Now I have a completely unrelated question about
> > Apache HTTP server, one that I couldn't find the
> > answer to at the Apache Server Project's website.
> The
> > Linux server I'm working on runs HTTP server 2.0.
> > 
> > A user on the system wants to have a webpage space
> > within his shell account. He has already created a
> > public_html directory & uploaded an index.html
> file
> > into the directory. He has also set his
> public_html
> > folder to chmod 755 and his index.html file therin
> to
> > chmod 644.
> > 
> > However, when he fires up his browser and types in
> > 
> > www.mywebserver.com/~user
> >   OR
> 
=== message truncated ===




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the vox-tech mailing list