Re: [users@httpd] public_html does not work

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

 



Ok, I made a:

apachectl graceful

and then pointed my browser to the user homepage

and the last part of my error log is:

[Fri May 13 21:38:36 2005] [notice] Graceful restart requested, doing restart [Fri May 13 21:38:42 2005] [notice] Digest: generating secret for digest authentication ...
[Fri May 13 21:38:43 2005] [notice] Digest: done
[Fri May 13 21:38:43 2005] [notice] Apache-AdvancedExtranetServer/2.0.47 (Mandrake Linux/6.3.92mdk) mod_perl/1.99_09 Perl/v5.8.1 mod_ssl/2.0.47 OpenSSL/0.9.7b PHP/4.3.2 configured -- resuming normal operations
[Fri May 13 21:38:43 2005] [warn] long lost child came home! (pid 17848)
[Fri May 13 21:38:55 2005] [error] [client XX.XX.XXX.XX] client denied by server configuration: /home/myuser/public_html/ [Fri May 13 21:38:55 2005] [error] [client XX.XX.XXX.XX] File does not exist: /var/www/html/favicon.ico

Tnx a lot
Alfredo

Nelson, Robert D. wrote:

Alfredo:


Hello,
I'm trying to allow users to have their own home pages on a server
(Linux Mandrake 9.1 with Apache 2).
So:
1) I made a public_html dir in /home/myuser and I put there a index.html
file.

2) I set permission on directories like this:
$myuser chmod 701 /home/myuser

$myuser chmod 755 /home/myuser/public_html

3) In httpd2.conf the following line is uncommeted:
LoadModule dir_module modules/mod_dir.so

4) In commonhttpd.conf the directives:
UserDir
and
DyrectoryIndex

are uncommented and set as default.

5) Also the following lines in the same file are uncommented and leaved as default :

<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>
    <LimitExcept GET POST OPTIONS PROPFIND>
        Order deny,allow
        Deny from all
    </LimitExcept>
</Directory>

and

<Directory /home/*/public_html>
    AllowOverride All
    Options MultiViews -Indexes Includes FollowSymLinks
    <IfModule mod_access.c>
      Order allow,deny
      Allow from all
    </IfModule>
</Directory>

and

<Directory /home/*/public_html/cgi-bin>
    Options +ExecCGI -Includes -Indexes
    SetHandler cgi-script
    <IfModule mod_access.c>
      Order allow,deny
      Allow from all
    </IfModule>
</Directory>

5) I looked at the guide of apache site and other tutorials on line.

Actually when i write in the browser:

http://www.mydomain.com/~myuser/

i receive this message:

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

I don't know how to do, I'm newbie and self-taught and need to be a bit tutored.


Please post the relevant portions of your error log.

 ~ Robert


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux