Amahi and Mythweb

diablo581
Posts: 6
Joined: Tue Dec 07, 2010 7:48 pm

Amahi and Mythweb

Postby diablo581 » Tue Dec 07, 2010 8:49 pm

Which one of the files do I need to edit so that the Amahi webpages will allow mythweb through? When I try to get to the page on the server, I just end up on the users page.

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

Re: Amahi and Mythweb

Postby bigfoot65 » Wed Dec 08, 2010 5:52 am

How have you installed MythWeb? If you custom built it, then follow the wiki guidance for creating web apps.
ßîgƒσστ65
Applications Manager

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

diablo581
Posts: 6
Joined: Tue Dec 07, 2010 7:48 pm

Re: Amahi and Mythweb

Postby diablo581 » Wed Dec 08, 2010 5:58 am

I actually do my installs from Axel's ATRPMS repo. I will try and take a look at it today and see what I need to do.

jlamarmiller
Posts: 1
Joined: Tue Feb 01, 2011 12:25 pm

Re: Amahi and Mythweb

Postby jlamarmiller » Tue Feb 01, 2011 12:28 pm

I am also needing this information. I looked at the webapps page, but could not figure out how to make it work with my install of mythweb (not an app from the amahi store).

PatrickDickey
Posts: 75
Joined: Thu Jan 19, 2012 6:52 am

Re: Amahi and Mythweb

Postby PatrickDickey » Wed Apr 02, 2014 4:23 am

So I realize this thread is old, but it applies to me also. I've installed Mythtv from the RPMFusion repositories (Amahi 7). I followed most of the guidance from https://wiki.amahi.org/index.php/Amahi_ ... al_Web_App but have a question or two. The first and foremost is in the 9999-mythweb.conf file, where it says ServerAlias, do I need to put mythweb.PatrickDickey-2.yourhda.com, or can I put PatrickDickey-2.yourhda.com/mythweb (as that's how it would normally appear)?

I'm looking at the conf files inside of /etc/httpd/conf.d and there's a mythweb.conf file already (automatically installed) and the 999-mythweb.conf file that I created. So what I need is help merging the two files (as I'm pretty sure I'll need most (or all) of the information from the mythweb.conf file to make it work).

Here's the 9999-mythweb.conf file that I created (fixed to reflect the correct ServerAlias and added one for accessing from outside of my network):

...REMOVED...

Here's the code from the mythweb.conf file that's automatically installed:

...REMOVED...

And here's what I think it needs to look like:

...REMOVED...

Thanks for any help that you can provide (one reason that I'm continuing on this thread instead of creating a new one is because it ties directly into the original poster's question).

Have a great day.:)
Patrick.

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

Re: Amahi and Mythweb

Postby bigfoot65 » Wed Apr 02, 2014 5:16 am

You would put:
PatrickDickey-2.yourhda.com
Keep in mind that only 1(one) app can be accessed outside your network using this method. You do not add /mythweb afterwards on the server alias line, only what I listed above.

Also for future, we would appreciate it if you attached files vs showing the entire file in the post. We try to keep posts short and concise so it's easier to read and navigate.
ßîgƒσστ65
Applications Manager

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

PatrickDickey
Posts: 75
Joined: Thu Jan 19, 2012 6:52 am

Re: Amahi and Mythweb

Postby PatrickDickey » Wed Apr 02, 2014 5:32 am

You would put:
PatrickDickey-2.yourhda.com
Keep in mind that only 1(one) app can be accessed outside your network using this method. You do not add /mythweb afterwards on the server alias line, only what I listed above.

Also for future, we would appreciate it if you attached files vs showing the entire file in the post. We try to keep posts short and concise so it's easier to read and navigate.
Hi Bigfoot65. Sorry about the long post. I think you told me that once before (a while back). I'll try to remember next time. I guess I'm still confused a bit though. Would I use the 9999-mythweb.conf file, and delete the mythweb.conf file (from /etc/httpd/conf.d), or would I combine them into one or the other? Also would I only have one ServerAlias line then? I would imagine that I want two (one that says mythweb.local.lan or /mythweb for internal access, and one that says PatrickDickey-2.yourhda.com for external access)?

I'm uploading an updated version of 9999-mythweb.conf (as 9999-mythweb.txt) and mythweb.conf as mythweb.txt. I would appreciate any help in merging them (if that's what I need to do). Probably the easiest way would be for someone to merge them and upload the file, so I can download it and put it in place.

Thanks. Have a great day.:)
Patrick.
Attachments
mythweb.txt
mythweb.conf file, with my proposed changes.
(9.84 KiB) Downloaded 202 times
9999-mythweb.txt
9999-mythweb.conf file updated to reflect the ServerAlias change
(554 Bytes) Downloaded 224 times

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

Re: Amahi and Mythweb

Postby bigfoot65 » Wed Apr 02, 2014 4:58 pm

Yes I would agree some parts should be merged. There are some things though that might not work well in the .conf file.

You might create an .htaccess file in the html directory for the app and place those items there.

Not sure I can be much help with knowing what to put where. Have you checked the internet for guidance? Often there is someone who has already done the bulk of the work, just needs a little tweaking for Amahi.
ßîgƒσστ65
Applications Manager

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

PatrickDickey
Posts: 75
Joined: Thu Jan 19, 2012 6:52 am

Re: Amahi and Mythweb

Postby PatrickDickey » Wed Apr 02, 2014 5:16 pm

Yes I would agree some parts should be merged. There are some things though that might not work well in the .conf file.

You might create an .htaccess file in the html directory for the app and place those items there.

Not sure I can be much help with knowing what to put where. Have you checked the internet for guidance? Often there is someone who has already done the bulk of the work, just needs a little tweaking for Amahi.
I've looked, but I'm not finding anything useful. Do you know what the status of the mythtv one-click, app is? I see it's listed as Alpha on most everything, and beta on the rest. Is anyone actively working on the app, or is it basically dead in the water?

Have a great day.:)
Patrick.

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

Re: Amahi and Mythweb

Postby bigfoot65 » Wed Apr 02, 2014 5:23 pm

It's pretty much dead in the water. Has been for quite some time, even Ubuntu has very little progress.

I don't have the hardware to test it. If we can find someone who wants to work it, it might get finished one day. If I remember correctly, it's quite complicated and hard to integrate with Amahi.
ßî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 36 guests