How to handle own cgi-bin files in addons?
How to handle own cgi-bin files in addons?
If i call my ajax request we land in the standard folder for cgi scripts. But how i get the file into this folder during installation time without manual copy?
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: How to handle own cgi-bin files in addons?
You have to create the <ADDONROOT>/bin/cgi-bin directory. Then you need in the Filelist node of the .sopm a File node where Location is "bin/cgi-bin/<name>" and Permission "755".
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: How to handle own cgi-bin files in addons?
The topic package build was not yet on my list, so i had assumed it would also somewhere in custom folder or so.
The file is included in my package now and all is working fine. Thank you.
The file is included in my package now and all is working fine. Thank you.