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

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



On Sat, 22 Mar 1997, Jim Pick wrote:

> 
> > 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
> 
> At first, I didn't understand what Scott was try to do.  Then I looked at what
> info2www tried to do, and it didn't work on my system either - so now I 
> understand.
> 
> > The problem is that the policy forbids absolute symlinks. That's why I
> > can't use `/usr/doc/info2www'.
> 
> Correct.  Do the following
> 
> drwxr-xr-x root/root         0 Mar 20 15:46 1997 var/
> drwxr-xr-x root/root         0 Mar 20 15:46 1997 var/www/
> lrwxrwxrwx root/root         0 Mar 20 15:46 1997 var/www/info2www -> 
> ../../usr/doc/info2www

I fixed the problem by changing all URL's to refer to '/doc/info2www'
instead of just '/info2www'. This way I don't need to touch the web root
at all!


Thanks for your help,

Chris

--                  Christian Schwarz
                     schwarz@monet.m.isar.de, schwarz@schwarz-online.com,
Debian is looking     schwarz@debian.org, schwarz@mathematik.tu-muenchen.de
for a logo! Have a
look at our drafts     PGP-fp: 8F 61 EB 6D CF 23 CA D7  34 05 14 5C C8 DC 22 BA
at    http://fatman.mathematik.tu-muenchen.de/~schwarz/debian-logo/


Reply to: