[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache broke on me (unstable)



* Pim Bliek | PingWings (bliekp@pingwings.nl) [030622 13:04]:
> Hi all,
> 
> I have apache running fine on my unstable box for months now. I am
> hosting some test websites (which are important for my business and for
> my friends business, so I am f*cked...see below ;)) for myself and for a
> friend. I do this in $HOME/public_html directories.
> 
> Since this afternoon I cannot access these public_html dirs anymore. The
> normal docroot in /var/www is still working. The public_html dir gives
> this error when requested:
> 
> Forbidden
> You don't have permission to access /~username on this server.
> 
> 
> ------------------------------------------------------------------------
> --------
> 
> Apache/1.3.27 Ben-SSL/1.48 Server at somewhere.in.the.world Port 443
> 
> 
> Here is the part of 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>
> 
> #
> # Control access to UserDir directories.  The following is an example
> # for a site where these directories are restricted to read-only.
> #
> <Directory /home/*/public_html>
>     AllowOverride FileInfo AuthConfig Limit
>     Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
>     <Limit GET POST OPTIONS PROPFIND>
>         Order allow,deny
>         Allow from all
>     </Limit>
>     <Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
>         Order deny,allow
>         Deny from all
>     </Limit>
> </Directory>
> 
> What am I doing wrong? I was playing with clamav, clamav-freshclam,
> clamav-data and clamav-doc packages. Also with snort, snort-mysql and
> acidlab.
> 
> I cannot figure out if one of the above packages has ruined my Apache
> install.. At least I dunno how to ;) I am positive it did work this
> morning, and that I didn't alter any file-system permissions. I checked
> to be 100% sure, and these public_html dirs are all perfectly accessible
> (x and r rights to all)

What does

ls -l / /home /home/username /home/username/public_html

say?

good times,
Vineet
-- 
http://www.doorstop.net/
-- 
I am mortified to be told that, in the United States of America, the sale of a
book can become a subject of inquiry, and of criminal inquiry too.
						-- President Thomas Jefferson

Attachment: signature.asc
Description: Digital signature


Reply to: