[NUUG fiksgatami] Question on /report and /reports
Petter Reinholdtsen
pere at hungry.com
Thu Feb 19 22:48:27 CET 2009
[Selvam Velmurugan]
> A quick update. The rewrites are working now (after moving the rules
> under .htaccess from httpd.conf and verified through the rewrite
> log), but the transformation of /report to /index.cgi?id=<id> does
> not work still.
>
> Any pointers/help will be much appreciated.
Ah, yeah, the apache configuration proposed by the mysociety source
did not work. I had to disable the .cgi rewrite in
bci/conf/httpd.conf (See how in
<URL:http://www.fiksgatami.no/localpatch.diff>), and instead use
"Options +ExecCGI" and "AddHandler cgi-script .cgi" as documented
<URL:http://wiki.nuug.no/grupper/fiksgatami>.
We have not been able to insert any reports yet because the mapit
database is empty, so we have not tested any report lookup.
Btw, I added a dummy map on the site today. Check out
<URL:http://www.fiksgatami.no/?pc=oslo> for an example. It need a lot
of more work to make it useful, as the coordinates are not used and
the map isn't clickable.
Happy hacking,
--
Petter Reinholdtsen
More information about the fiksgatami
mailing list