This is a discussion on Apache problem with Per-user Web Directories (public_html) within the Linux Web Servers forums, part of the Web Server and Related Forums category; I have a Mandrake Linux with Apache installed and seemingly working. I created "public_html" directories for several of ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I have a Mandrake Linux with Apache installed and seemingly working.
I created "public_html" directories for several of my "users" and wanted to access via the ~user construct. Funny thing, some work and others don't! I get web pages from some users and a "Forbidden" error for others. I've looked at permissions of the user, the public_html directory and files within; they all look the same. What am I doing wrong?? Thanks in advance, --Sam |
|
|||
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 In article <cad1c8e.0306301418.148bce26@posting.google.com> , Sam Cantrell wrote: > I have a Mandrake Linux with Apache installed and seemingly working. > I created "public_html" directories for several of my "users" and > wanted to access via the ~user construct. Funny thing, some work and > others don't! I get web pages from some users and a "Forbidden" error > for others. I've looked at permissions of the user, the public_html > directory and files within; they all look the same. What am I doing > wrong?? Not looking at and/or posting your relevant error_log entries. - --keith - -- kkeller-mmmspam@wombat.san-francisco.ca.us (try just my userid to email me) alt.os.linux.slackware FAQ: http://wombat.san-francisco.ca.us/cgi-bin/fom -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAj8AxwUACgkQhVcNCxZ5ID8TIwCgkP0QPKq2nf QAdkfXr7savK4e HWYAn0UyIhZGVMngaZgI5x0vqlBqUuIN =1NJT -----END PGP SIGNATURE----- |
|
|||
|
On 30 Jun 2003 15:18:54 -0700, Sam Cantrell <cantrell_sam@hotmail.com> wrote:
> I have a Mandrake Linux with Apache installed and seemingly working. > I created "public_html" directories for several of my "users" and > wanted to access via the ~user construct. Funny thing, some work and > others don't! I get web pages from some users and a "Forbidden" error > for others. I've looked at permissions of the user, the public_html > directory and files within; they all look the same. What am I doing > wrong?? Have you looked at all system directories in the path (from /). If all directories in the path do not have at least x permission for apache (typically considered other), apache cannot get to their public_html. It is common for RH/Mdk to make a user's home dir 700 by default. Try at least 701, which allows "others" (including apache) to access that dir, but not do a dir listing (r allows dir listing). -- David Efflandt - All spam ignored http://www.de-srv.com/ http://www.autox.chicago.il.us/ http://www.berniesfloral.net/ http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/ |
|
|||
|
It's always something STUPID! I noticed that I had the directory
spelled "Public_html" rather than "public_html"!!!!! Now it works! Thanks, I noticed whilst checking permissions! Keith Keller <kkeller-spammmm@wombat.san-francisco.ca.us> wrote in message news:<6ugqdb.kku.ln@goaway.wombat.san-francisco.ca.us>... > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > In article <cad1c8e.0306301418.148bce26@posting.google.com> , Sam Cantrell wrote: > > I have a Mandrake Linux with Apache installed and seemingly working. > > I created "public_html" directories for several of my "users" and > > wanted to access via the ~user construct. Funny thing, some work and > > others don't! I get web pages from some users and a "Forbidden" error > > for others. I've looked at permissions of the user, the public_html > > directory and files within; they all look the same. What am I doing > > wrong?? > > Not looking at and/or posting your relevant error_log entries. > > - --keith > > - -- > kkeller-mmmspam@wombat.san-francisco.ca.us > (try just my userid to email me) > alt.os.linux.slackware FAQ: http://wombat.san-francisco.ca.us/cgi-bin/fom > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iEYEARECAAYFAj8AxwUACgkQhVcNCxZ5ID8TIwCgkP0QPKq2nf QAdkfXr7savK4e > HWYAn0UyIhZGVMngaZgI5x0vqlBqUuIN > =1NJT > -----END PGP SIGNATURE----- It's always something STUPID! I noticed that I had the directory spelled "Public_html" rather than "public_html"!!!!! Now it works! Thanks, I noticed whilst checking permissions! |