views:

90

answers:

0

Hi,

I would like to automatically generate image from *.gv files in a browser.
I am using webdot CGI script to do this.
This works with URLs like these:

http://localhost/cgi-bin/webdot/path_to_file/file.gv.dot.png

location of the CGI script:

http://localhost/cgi-bin/webdot/

file to render:

/path_to_file/file.gv

rendering engine & output format:

dot.png

Webdot renders such urls properly on the fly.

Now I would like to run this webdot whener I am accessing the http://localhost/path_to_file/file.gv. For that purpose I modified httpd.conf:

ScriptAliasMatch (^(?!(?i:(/cgi-bin)).*.gv$) "/Library/WebServer/CGI-Executables/webdot$1.dot.png"

Unfortunately it does not work.
Any suggestions?
Thanks.