I'm trying to set up the Amahi DNS to create my own web apps. This used to be an option under the "apps" page - can someone give me an idea of how to do this in Amahi 7? For reference, the app I'm installing is transmission (not the one-click install) but I'm really interested in the general principle rather than specific steps for this particular program. So far I've:
- installed program, tested and running fine on http://hda:9091
- used the "network/DNS aliases" option to create a new alias for this port. I think I might have done this incorrectly as it doesnt seem to have done anything, and all the other aliases listed just refer to 192.168.1.50 (my hda address) not the specific port for that website. The new alias returns a 404 error.
- put a new .conf file in the /etc/httpd/conf.d folder. I used the formatting from the wiki article on packaging web-apps which has been updated for Amahi 7, also compared with conf file for plex one-click app which is working ok.
- added folders in /var/hda/web-apps, with a new .htaccess file. Again, used the plex installation for help with content for .htaccess file. An error_log and access_log were created in the /log folder but they are both empty.
Can someone point me in the right direction? I feel like I must have missed a step, since I can't get the alias to work at all.
SOLVED: New web-apps on Amahi 7
Re: New web-apps on Amahi 7
Probably will need to modify the .conf file for the app in /etc/httpd/conf.d directory. Add lines below server alias area.
Then restart httpd and it should work. Not sure if there is a feature in Amahi 7 to handle apps such as this through the dashboard.
Code: Select all
ProxyPass / http://hda:9091/
ProxyPassReverse / http://hda:9091/
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: New web-apps on Amahi 7
Thanks bigfoot - that's working fine
Re: SOLVED: New web-apps on Amahi 7
Awesome. Would be nice if that could be done in Amahi 7 via the dashboard. I have not expeerimented with Amahi 7 much, so will need to explore more.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Who is online
Users browsing this forum: No registered users and 62 guests