Damien Curtain wrote:
>
> Kirk Ferguson wrote:
> >
> > Hello. I have a strange issue: I have installed the rpm to
> > add personal web space in a users /home/public_html
> > directory. After I add a new user, I can go to
> > my.domain/~username and access their page without problems.
> > If I go to my.domain/username, I get 404 not found, as
> > expected.
> >
> > Here's the strange part: If a wait until the next day, I can
> > access the users page at my.domain/username OR
> > my.domain/~username. Any ideas what is happening to cause
> > this change? I've attached a snippet from the
> > httpd/access_log:
>
> Because for it to be available as domain/username it requires
> an alias in httpd.conf, whereas domain/~username is a generic
> directive.
>
> You could add the actions to reconfigure apache and reload it
> in the new user create event, or manually run an event that
> truggers these actions, or wait.
If you don't want domain/username edit /etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess50userdir
and remove the section:
$result .= "#-------------------------------------------------------\n";
$result .= "# Alias to enable /user aswell as /~user access\n";
$result .= "#-------------------------------------------------------\n";
while (($key,$value) = each %accounts)
{
my ($type, %properties) = split (/\|/, $value, -1);
if ($type eq 'user')
{
$result .= "Alias /$key /home/e-smith/files/users/$key/home/publ
ic_html\n";
}
}
$result .= "\n";
--
Damien