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

Re: [cobalt-users] Removing the ~ (tilde)



> > The Sourceforge Webalizer 2.01 .pkg file is set up to deliver the stats
at
> > http://www.domain.com/~stats. What I want is for the stats to still be
in
>
> > I tried a few Alias experiments in srm.conf, but nothing I tried worked
> > (yes, I restarted Apache after each change).
>
> Alias's inside virtual domain's have to go in the virtualdomain blocks in
> httpd.conf, uless yoy want a single server wide directory, whuch i doubt
> you do...(The ~user code gets expanded before any of the other stuff gets
> seen...the siteXX stuff has to be done before....
>
> Why not just reconfig webalizer to put them in /stats/ to start with ?

If Webalizer is configured to put them in /stats/, that would be
/home/sites/siteXX/web/stats, is that correct? I like the idea of Webalizer
keeping the stats directory out of the main web space so the users can't
mess with it when they FTP, and also so it won't cause problems with
FrontPage.

If I made the change in the <virutalhost> area of httpd.conf, I'd have to
manually make the change for every domain on the server, which is not very
practical (especially because removing the tilde is only to improve things
cosmetically, not functionally). I thought there was maybe a way to do it in
the srm.conf, either with a wildcard of some sort, or something like:
Alias /stats ../users/stats/web/