|
I think I've got it!!
I've just been doing a bit more experimentation, more closely copying the RoR setup I have and I have got it working (whether it is the correct way or not I don't know).
I have done the following:-
1. Created an External App called lsperld which runs lsperl.fpl
2. Created a Script Handler using lsperld and tied to all .pl scripts
3. (A new bit) Created a Fast CGI Context called lsperld which uses the Ext App lsperld
4. (Another new bit) Created a Static context, called /cgi-bin/ with a Location set to my CGI root. I have added the following re-write rules to this Static context (thereby linking it to the Fast CGI Context):-
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /lsperld [QSA,L]
and it seems to have been that which did the trick
I have no idea what the rewrite rules mean and would be grateful for any enlightenment.
Anyway, it seems to work, many thanks for your help.
Doug
|