(ianaaw - I am not an apache wizard, so I could be wrong here)
You might also need to ensure you have the UserDir directive turned on
in apache (from the apache manual):
UserDir
Syntax: UserDir directory/filename
Default: UserDir public_html
Context: server config, virtual host
Status: Base
Module: mod_userdir
Compatibility: All forms except the UserDir public_html form are only
available in Apache 1.1 or above. Use of the enabled keyword, or
disabled with a list of usernames, is only available in Apache 1.3 and
above.
The UserDir directive sets the real directory in a user's home
directory to use when a request for a document for a user is received.
Directory/filename
is one of the following:
The name of a directory or a pattern such as those shown below.
The keyword disabled. This turns off all username-to-directory
translations except those explicitly named with the enabled keyword
(see
below).
The keyword disabled followed by a space-delimited list of
usernames. Usernames that appear in such a list will never have
directory
translation performed, even if they appear in an enabled clause.
The keyword enabled followed by a space-delimited list of
usernames. These usernames will have directory translation performed
even if a
global disable is in effect, but not if they also appear in a
disabled clause.
If neither the enabled nor the disabled keywords appear in the Userdir
directive, the argument is treated as a filename pattern, and is used
to
turn the name into a directory specification. A request for
http://www.foo.com/~bob/one/two.html will be translated to:
UserDir public_html -> ~bob/public_html/one/two.html
UserDir /usr/web -> /usr/web/bob/one/two.html
UserDir /home/*/www -> /home/bob/www/one/two.html
On Mon, 26 Jun 2000, Kurth Bemis wrote:
> Date: Mon, 26 Jun 2000 15:15:07 -0700
> From: Kurth Bemis <[EMAIL PROTECTED]>
> To: csmith <[EMAIL PROTECTED]>,
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> Subject: Re: Sym Links to apache
>
> At 02:54 PM 6/26/2000 -0400, csmith wrote:
>
> this is what we did at USAExpress.net
>
> drwxr-xr-x 16 kurth users 1024 Jun 13 10:05 public_html
>
> also make sure that all the files under that dir are public readable by
> doing a 'chmod 755 public_html -R'
>
> then in your www dir (/www in my case)
>
> i do 'ln -s /home/kurth/public_html kurth'
>
> try that...i suspect that it is the permissions on the page or the html dir.
>
> ~kurth
>
>
>
> >my web server is serving a page ( index.html) from /home/httpd/html
> >
> >I want to set up a sym link to the directory /home/tara/html so that
> >the web server serves the index.htnml page from /home/tara/html
> >
> >No matter how I set the permissions It won't work it keep saying that I
> >don't have permission to access this page
> >
> >I am using the command ln -s /home/tara/html to set the symlink
> >/home/httpd/~html
> >
> >can any one help??
------------------------------------------------------------------------
Jeffry Smith Technical Sales Consultant Mission Critical Linux
[EMAIL PROTECTED] phone:603.930.9379 fax:978.446.9470
------------------------------------------------------------------------
Thought for today: Once it hits the fan, the only rational choice is to sweep it up,
package it,
and sell it as fertilizer.
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************