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

Re: /var/www or /var/web

Sáb, 2007-01-20 às 11:39 -0500, Roberto C. Sanchez escreveu:
> On Sat, Jan 20, 2007 at 08:28:57AM +0100, Michael Koch wrote:
> > 
> > The idea behind using /var/www for all webservers is that the user can
> > install a different webserver and it just servers his/her content. All
> > packaged web aoolications are put into /var/www too so choosing a
> > different root for MyServer defeats this and makes no sense for Debian.
> > 
> Then why to some applications install into /usr/share/foo and then ask
> you to create an alias in your apache config?
i think this is a way to go. 
one thing is to choose the web server's root. Other one is to choose the
place were you want to put your things.

for example, phpsysinfo installs on /usr/share/phpsysinfo and symb links
into /var/www/phpsysinfo.

this is ok, but maybe, a better location is sysinfo or hwinfo. the
easiest way to do this without handling links is to add an alias in the
web server, which i think should be the default behaviour.

the same happens with squirrelmail. you would prefer /webmail or a
single webmail.domain.com host than domain.com/squirrelmail .

so i think all packages should come with symbolic link or the alias
option. Not to install directly on /var/www .

> Regards,
> -Roberto
Best Regards,
Luis Matos

Reply to: