...
- Download purchased module from clients.hostbillapp.com
- Upload archive contents into main HostBill directory
- Proceed to Settings->Module. Search and activate "User API" module.
- Proceed to Extras->User API - you can manage your API routes from this section
- It is important to set URL rewrites for API to function, depending on your web-server software
- Apache users
in /api folder rename file template.htaccess to .htaccess Nginx (including HostBill enterprise) users
Edit your location file (in server section, for HostBill enterprise it is /usr/local/kbkp-software/apps/b-etc/nginx/usr/local/conf/kbkp-location/p-enterprise-mainlocations/hostbill.conf, addCode Block location @userapi { rewrite ^/api/(.+)$ /api/index.php?/$1 last; }
Next, replace line:
Code Block to main location add try_files
$uri $uri/ index.php;withline:
Code Block try_files $uri $uri/ index.php @userapi;
- Apache users
Now, restart your webserver.
...
Q: I'm missing route/function XYZ, do you plan to add it?
A: Yes! Just let us know what is missing for you and we're happy to improve this plugin for you