SOLVED: New web-apps on Amahi 7

bellamatt
Posts: 57
Joined: Wed Jan 05, 2011 5:38 am

SOLVED: New web-apps on Amahi 7

Postby bellamatt » Mon Aug 05, 2013 6:12 pm

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.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: New web-apps on Amahi 7

Postby bigfoot65 » Mon Aug 05, 2013 7:09 pm

Probably will need to modify the .conf file for the app in /etc/httpd/conf.d directory. Add lines below server alias area.

Code: Select all

ProxyPass / http://hda:9091/ ProxyPassReverse / http://hda:9091/
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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

bellamatt
Posts: 57
Joined: Wed Jan 05, 2011 5:38 am

Re: New web-apps on Amahi 7

Postby bellamatt » Mon Aug 05, 2013 7:54 pm

Thanks bigfoot - that's working fine :)

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: SOLVED: New web-apps on Amahi 7

Postby bigfoot65 » Tue Aug 06, 2013 5:09 am

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

Who is online

Users browsing this forum: No registered users and 62 guests