Forum

RonOnDownload option

RAJ
28 June 2012, 12:41
I want to use RunOnDownload option in Directory Settings and my settings are:
Directory{
Path = /START_PATH/temp/abcd.txt
RunOnDownload = /START_PATH/temp/program
}

But when i give URL "https://ip-address/temp/abcd.txt" on browser, it simply downloads abcd.txt and do not run "program".

WebsiteRoot is set to "Website = START_PATH"

What should i do so that "program" run. Plz help.

Hugo Leisink
28 June 2012, 12:59
Is the user that Hiawatha runs as able to execute that program? Try switching to the userid you use for Hiawatha and execute the program.
RAJ
28 June 2012, 13:25
Yes, i run hiawatha as super user and if i give URL "https://ip-address/temp/redirect" on browser, it downloads redirect. It seems that Directory is not working.
This topic has been closed.