htaccess noabort options not working

hoss

New Member
#1
I am trying to setup the "noabort" options for a specific php file in my web root. I have tried multiple variations of "Rewrite Rules" but nothing seems to work. I have a php script that writes to the syslog 'start', sleeps(20), and then writes 'end'. I call this test script via a url and immediately close the browser window. I see in the syslog 'start' but never get the 'end' part (unless I leave the browser window open). Under the Virtual Host -> Rewrite tab I have "Rewrite Contnrole" [ Enable Rewrite => yes, Auto Load from .htaccess => yes, Log Level => 'not set' ] , Rewrite Map: [empty], Rewrite Rule:
RewriteEngine on
RewriteBase /
# LiteSpeed noabort
RewriteRule .* - [E=noabort:1]

----------------
Does this feature work in OpenLiteSpeed? Or am I messing up the syntax?
Thank you in advance.
 

Cold-Egg

Administrator
#2
Looks fine to me.
Maybe you can also try to set "Max Idle Time" to -1 under the external app and see if it helps.
 
Last edited:

hoss

New Member
#4
Update - I have tried multiple variations of the above suggestions and then some, nothing seems to be working. Can anyone confirm that this is an "Open" LSWS feature? I am starting to think this is enterprise edition only.
 

hoss

New Member
#6
I would like to define specific php script(s) that do not terminate when the user leaves the page and/or closes the browser. (see original post for more detail) I understand there are other methods that can accomplish this (background process, etc), but this would be most ideal.
 
Top