Page 2 of 2

Re: Update-Problems With Apache

Posted: Thu Dec 11, 2014 1:21 am
by amahiuser1
This might be a sign you should upgrade to Amahi 7 :D
Fedora 21 is out and support for 19 will end in less than a month. So maybe there is another platform change in the works? Anyway it doesn't seem like a great time to make the switch. :(

Re: Update-Problems With Apache

Posted: Thu Dec 11, 2014 6:15 am
by bigfoot65
Understand. We are in the early stages of development for Fedora 21. No estimate as to when it will be ready.

[ Post made via Android ] Image

Re: Update-Problems With Apache

Posted: Fri Dec 12, 2014 7:33 am
by amahiuser1
Thanks for the pm'ed file!

The interesting parts are:

Code: Select all

# Include generic snippets of statements Include /etc/httpd/conf.d/ # Include the virtual host configurations: Include sites-enabled/ Include /usr/share/hdactl/httpd/
Seemingly there is no difference between including /etc/httpd/conf.d/ and /etc/httpd/ as it works in both cases.
There is no /usr/share/hdactl directory on my machine just as there's no /var/hda/platform/html/public.

Could you check with with your machine, please?

Code: Select all

ls -l /usr/share/hdactl/httpd/ ls -l /var/hda/platform/html/public/
I'm also interested in the DocumentRoot directory which is linked via 01-platform.conf:

Code: Select all

locate 01-platform.conf cat /etc/httpd/conf.d/01-platform.conf | grep platform/
I'm thinking this is the one which contains the dashboard files. Once I know the filenames I can have a look - maybe I'm just missing a link.

Thanks.

Re: Update-Problems With Apache

Posted: Fri Dec 12, 2014 6:44 pm
by bigfoot65
Here are the results of the commands:

Code: Select all

ls -l /usr/share/hdactl/httpd/
drwxr-xr-x 2 root root 4096 Sep 25 20:19 .
drwxr-xr-x 5 root root 4096 Sep 25 20:19 ..
-rw-r--r-- 1 root root 21 May 28 2012 00-init.conf
-rw-r--r-- 1 root root 2225 May 28 2012 01-platform.conf
-rw-r--r-- 1 root root 515 May 28 2012 03-calendar.conf

Code: Select all

ls -l /var/hda/platform/html/public/
drwxr-xr-x 2 root root 4096 Sep 25 20:19 .
drwxr-xr-x 5 root root 4096 Sep 25 20:19 ..
-rw-r--r-- 1 root root 21 May 28 2012 00-init.conf
-rw-r--r-- 1 root root 2225 May 28 2012 01-platform.conf
-rw-r--r-- 1 root root 515 May 28 2012 03-calendar.conf

Code: Select all

locate 01-platform.conf
/etc/httpd/conf.d/01-platform.conf
/usr/share/hdactl/httpd/01-platform.conf

Code: Select all

cat /etc/httpd/conf.d/01-platform.conf | grep platform/
DocumentRoot /var/hda/platform/html/public
ErrorLog /var/hda/platform/logs/error_log
CustomLog /var/hda/platform/logs/access_log combined env=!dontlog
RewriteRule ^/_PKGS/(.*)$ /var/hda/platform/apps/$1 [last]
RewriteRule ^/images/\.\./_PKGS/(.*)$ /var/hda/platform/apps/$1 [last]
RewriteRule ^/_USERS/(.*)$ /var/hda/platform/users/$1 [last]
<Directory /var/hda/platform/html/public>
With all the issues you have, it may be quite a chore to get it back to normal.

Re: Update-Problems With Apache

Posted: Sat Dec 13, 2014 2:42 am
by amahiuser1
With all the issues you have, it may be quite a chore to get it back to normal.
Maybe :(
I really had hoped either /var/hda/platform/html/public/ or /var/hda/platform/html/ would contain actual html (or php) files as indicated by DocumentRoot. So presumably there will be no easy copy-and-hope-for-the-best solution.

In any case I'm thinking it might be a good idea to wait for Amahi 8 since shares and custom webpages are working again.

Thank you for your efforts!

Re: Update-Problems With Apache

Posted: Sat Dec 13, 2014 6:46 am
by bigfoot65
Yes it can be a pain when things get all messed up. As long as you can live with it for a while, understand your desire to wait.

Please understand it will most likely be several months before Amahi 8 is ready for release. We are in the early stages of work.

Re: Update-Problems With Apache

Posted: Sat Dec 13, 2014 9:53 am
by amahiuser1
Please understand it will most likely be several months before Amahi 8 is ready for release. We are in the early stages of work.
I'll manage somehow :)
Thanks again and good fortune in all your endeavors.