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

question about new webstand (was Bug#8223: info2www symlink broken)



On Fri, 21 Mar 1997, Scott K. Ellis wrote:

> Package: info2www
> Version: 1.2.2.9-4
> 
> While the webstandard states that http://localhost/doc/ should resolve to
> files in the /usr/doc directory, it doesn't provide that there needs to be a
> symlink in /var/www.  The info2www symlink should be to /usr/doc/info2www,
> not just doc/info2www

The problem is that the policy forbids absolute symlinks. That's why I
can't use `/usr/doc/info2www'.

But why is /var/www not guaranteed to exist? 

The Webstandard 3.0 (part of the new policy) says:

-------
3.Web Document Root

      Web Applications should try to avoid storing files in the Web
Document Root. Instead use the /usr/doc/<package> directory for documents
and register the Web Application via the menu package. If access to the
web-root is unavoidable then use

      /var/www

      as the Document Root. This might be just a symlink to the location
where the sysadmin has put the real document root.
-------

It seams to me as all Debian web _servers_ should create ask the user
where he wants to have the web root and make a symlink to /var/www. They
should also make a symlink /var/www/doc -> ../../usr/doc or tell the web
server to map URL's with directory /doc/ to /usr/doc/. 

Or do I have to use the new menu system? 


Thanks,

Chris

--                 Christian Schwarz
                    schwarz@monet.m.isar.de, schwarz@debian.org,
Don't know Perl?     schwarz@mathematik.tu-muenchen.de, bm955877@muenchen.org
      
Visit                  PGP-fp: 8F 61 EB 6D CF 23 CA D7  34 05 14 5C C8 DC 22 BA
http://www.perl.com     http://fatman.mathematik.tu-muenchen.de/~schwarz/


Reply to: