PDA

View Full Version : [Resolved] how to "translate" addhandler / action from apache


ts77
04-09-2005, 02:45 PM
Hi there,

any idea how I can translate that part from my apache-config
to a part in litespeed?

AddHandler prg .prg
Action prg /cgi-tdb/bin/tdbengine

I'd really appreciate any ideas.


thanks.

mistwang
04-11-2005, 01:56 PM
Right now there is no direct translation for "action" directive like that, we will add configuration like that later, however, I think you can archive the same effect using URL rewrite now. :-)

Make sure /cgi-tdb/bin/tdbengine is configured to serve as CGI, then rewrite all requests to ".prg" files to URI "/cgi-tdb/bin/tdbengine" and add required environment variables "PATH_INFO" and "PATH_TRANSLATED".

I did not try, but I think it should work. ;-)

tina
06-17-2010, 09:51 AM
Right now there is no direct translation for "action" directive like that, we will add configuration like that later, however, I think you can archive the same effect using URL rewrite now. :-)

Sorry to bring up a November 2005 thread, but it is now June 2010 and it seems such 'Action' directives still do not work with LiteSpeed, even though they work fine with Apache. Can this be implemented soon? :)

mistwang
06-18-2010, 12:59 PM
OK, added it to our to-do list. :)

tina
09-06-2010, 04:20 AM
Hi again. :) Just wondering if this is being worked on for the next version of LiteSpeed?

It is one of the features of Apache that is still missing from LiteSpeed, and prevents some sites from running.

Because of this, we have to keep some of our machines still running Apache, instead of upgrading all of them to LiteSpeed.

NiteWave
10-02-2010, 07:51 AM
"action" is added in 4.0.17. please download and test if you get chance. not formal release yet but may be soon.

tina
10-02-2010, 08:43 AM
"action" is added in 4.0.17. please download and test if you get chance. not formal release yet but may be soon.

Wow - it works great. Excellent support! Thank you. :)

Elik
12-10-2010, 02:03 PM
Hello,

Are you guys going to be adding that feature in the 4.1.x release since it seems the RC2 does not have it at this time for it.

mistwang
12-10-2010, 02:44 PM
Yes, it is in our RC3 build. You can just change the version number in the download link to try it.