I am new to Webmin and have made a custom module. I have a page with some drop downs (<select>) and onchange wish to use JavaScript to AJAX to a .pl.
The HTTP request works all good, however i get a <h1>Error - Access denied to /test.pl</h1> response. I assume this is webmin security. If i try to go directly to the .pl e.g. http://webmininstance/module/test.pl it also throws the same message. Now if i change it to a .cgi file it works but i get all the header guff, which i don't want.
So, how do I i get access to this script? alternatively how you use AJAX in Webmin?
thanks
Ibanez
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am new to Webmin and have made a custom module. I have a page with some drop downs (<select>) and onchange wish to use JavaScript to AJAX to a .pl.
The HTTP request works all good, however i get a <h1>Error - Access denied to /test.pl</h1> response. I assume this is webmin security. If i try to go directly to the .pl e.g. http://webmininstance/module/test.pl it also throws the same message. Now if i change it to a .cgi file it works but i get all the header guff, which i don't want.
So, how do I i get access to this script? alternatively how you use AJAX in Webmin?
thanks
Ibanez