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

Bug#195948: cgi config problems for the packaging work that I did



As it stands, the dspam cgis look in their current directory (/var/www/dspam/) for the "admins", and "default.prefs" files, whereas I have packaged these under /etc/dspam/. The proper thing to do, is to fix up admin.cgi and dspam.cgi so that they look in the config directory for these config files (and probably send to upstream, but I'm not sure if jonz feels the same way about this sort of thing - if you make it a configure time option, and set the default to the cgi directory, my hunch is he'll be happy with that).. I have already made some compile-time changes to these files, so the change is trivial.

Meanwhile, this will work around the problem..

# ln -s /etc/dspam/default.prefs /var/www/dspam/
# ln -s /etc/dspam/admins /var/www/dspam/

Tim.



Reply to: