On Wed, 23 Jan 2008, Cameron Dale wrote:
It currently requires apache because that's the only supported way to
run it (by me and by upstream). I'd be happy to add support for
another web server, I just don't know how they work.

It's a PHP application, so Depends on

libapache-mod-php5 | libapache2-mod-php5 | \
libapache-mod-php4 | libapache2-mod-php4 | \
php5-cgi | php4-cgi, \
php5-mysql | php5-mysqli | php4-mysql

should suffice, IMHO. Maybe even add 'httpd' to the Depends list.

If you can supply
some insight on how you got it working, I can try and add support for
it.

/etc/torrentflux/apache.conf basically holds one line:
Alias /torrentflux /usr/share/torrentflux/www

I'm currently using lighttpd, so this would translate to:

alias.url += ("/torrentflux" => "/usr/share/torrentflux/www/")

...and one could include this part in an example configuration under /usr/share/doc/torrentflux/examples. I'm not sure how wise it is to attempt to autoconfigure every friggin' webserver out there :-)

The issues I can think of are: how to inform the webserver of the
location of the php files (see /etc/torrentflux/apache.conf),

OK, instead of putting the alias in the ../examples directory, we can put it in /etc/torrentflux/lighttpd.conf

and how
to start the webserver using the location (for apache a restart/reload
is required).

Wouldn't a nice "Please include the appropriate file in your webserver's
configuration and restart the server afterwards!" comment during installation suffice?

Thanks,
Christian.
--
BOFH excuse #261:

The Usenet news is out of date



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to