The package has installed the files, set up the mysql tables, and configured apache.  I think my permissions are correct (see below).   Following the installation instructions from the frontaccounting wiki, I don't see any steps that are incorrect, yet when I type http://myserver/frontaccounting apache returns a "404 not found" error. 

# ls -l modules/
total 4
-rw-r--r-- 1 www-data www-data 43 May  2  2007 index.php

Running Debian Squeeze

I get the following at the config stage of installation:

------
Unpacking frontaccounting (from .../frontaccounting_2.2.10-2_all.deb) ...
Setting up frontaccounting (2.2.10-2) ...
Reloading web server config: apache2.
sed: -e expression #1, char 148: unterminated `s' command
dpkg: error processing frontaccounting (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
                                      Errors were encountered while processing:
frontaccounting
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up frontaccounting (2.2.10-2) ...
Reloading web server config: apache2.
sed: -e expression #1, char 148: unterminated `s' command
dpkg: error processing frontaccounting (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
frontaccounting
------
running:
$ grep sed $(ls |grep frontacc)
in /var/lib/dpkg/info gave a list of possible candidates.  The following are the ones I thought might be problematic, especially the first two, but I can't see any problem myself.

there are two varscript lines that are probably important:
varscript=