WWW folder

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.

Moderator: POL Developer

Post Reply
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

WWW folder

Post by boberski »

Hi,

you can have www folder in every package but how exactly is it working? How can I run script from it from my browser?

Cheers :)
RusseL
Forum Regular
Posts: 375
Joined: Fri Feb 20, 2009 8:30 pm

Re: WWW folder

Post by RusseL »

So, if you use scripts/www/yourscript.ecl you can open it with http://<server-ip>:<web-port>/yourscript.ecl
If your script is in pkg folder, like pkg/bestpackage/www/yourscript.ecl - http://<server-ip>:<web-port>/pkg/bestpackage/yourscript.ecl
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: WWW folder

Post by boberski »

You are half correct :)
http://<server-ip>:<web-port>/pkg/<package_name>/yourscript.ecl
RusseL
Forum Regular
Posts: 375
Joined: Fri Feb 20, 2009 8:30 pm

Re: WWW folder

Post by RusseL »

aderal wrote:You are half correct :)
http://<server-ip>:<web-port>/pkg/<package_name>/yourscript.ecl
bestpackage is a package name! :D
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: WWW folder

Post by boberski »

Yesss you are right, but you can have this in for example pkg/somedir/somedir/bestpackage :)
Post Reply