First of all, my apologies for being so inattentive to this bug. I am at
the moment preparing a new package with the latest upstream version.
On Sat, 10 Feb 2007, Loïc Minier wrote:
Webapps in Debian usually ship an Apache configuration which makes them
work out of the box. When I browsed the examples using file:// in my
browser, these were ugly and non-functional but did not show up any error.
According to policy I can rely on http://localhost/doc being usable with
any packaged webserver right? My intention was to make the examples
accessible from http://localhost/doc/yui/examples. I see I have neglected
to document this in README.Debian so I will fix that in the new package.
Since the installed examples use /yui to access the yui files
(sometimes /doc/yui, strange), and since this is the package name I
think it would make sense to use that prefix as well.
When I use http://localhost/doc/yui/examples all the examples work for me.
Is this not true for you?
I'm attaching the Apache2 config which I dropped in sites-enabled and
which made most examples work for me; I'm not sure you should enable it
by default, but it might make sense to make it easy to symlink to and
configure, perhaps by shipping it in /etc/yui/apache2.conf.
The problem is that this will not help people using web servers other than
Apache. That's why I am trying to provide a limited but useful default
and relying on the end user to configure things differently for more
advanced setups.
You might want to suggest PHP for PHP-backed examples.
Yes I will do that.
--
Jaldhar H. Vyas <[EMAIL PROTECTED]>
La Salle Debain - http://www.braincells.com/debian/