As far as I recall, you must first set the UserDir to public_html in the
srm.conf (or in httpd.conf, if you are not using srm.conf). Apache can
then services requests such as:
http://www.yourdomain/~user-name/userfile.html
it remaps this to the file ~user-name/public_html/userfile.html
You must however create the public_html directory in every user's
directory or Apache returns an error.
Hope this helps.
Webmaster wrote:
> What address would I use to access user home pages without editing
> Apache configuration files. The default.
>
> I have tried the following.
> http://localhost/~ldj
> http://localhost/ldj
> http://localhost/home/html/ldj
>
> still no luck.
>
> I have a copy of an index.html file in:
> /home/ldj
> /home/html/ldj
> /home/ldj/public_html
>
> Permissions are -rwxr--r--
>
> Anyone know what I am doing wrong?
> *********** REPLY SEPARATOR ***********
>
> On 5/7/98, at 10:29 PM, Marco Shaw wrote:
>
> >The html directories will not be created when adding regular users to
> the
> >system. A script would have to be develped for thim. With the
> version of
> >Apache that I have, /home/httpd/html is where all html files should
> be
> >located. Apache can be configured to show pages for the address you
> mention
> >below. Most of the Apache files can be found in /etc/httpd/conf
> >
> >Marco
> >
> >
> >
> >
> >I am using Redhat 4.2 with Apache installed. I have created a user
> called
> >ldj. However no directory for the users (public_html, etc) exists. I
> thought
> >these get created automatically when you create new users. Obviously
> not.
> >
> >I thought that I would be able to view users home pages from
> >http://localhost/~ldj
> >
> >
> >
> >--
> > PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST
> ARCHIVES!
> >http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips
> /mailing-lists
> > To unsubscribe: mail [EMAIL PROTECTED] with
> > "unsubscribe" as the Subject.
>
> Luke D. Jefferies
> Webmaster
>
> LDJNET
> ------------
> Phone: (902) 489-0408
> Fax: (902) 435-6750
> Www: http://ldjnet.com
> E-mail: [EMAIL PROTECTED]
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST
> ARCHIVES!
> http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips
> /mailing-lists
> To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.