]> ###2016.09.16 - update plugin for 6.2 only ###2015.09.07 - fix start and stop scripts ###2015.09.06 - change image png - refomat code for markdown and dynamix inherent functions ###2015.08.31 - add full path to settings page POST script ###2015.08.27 - fix plugin remove script ###2015.08.26 - update extensions to php 5.4.44 - updated for unRAID 6.1 ###2015.08.20 - fix rc.apache symlink ###2015.08.19 - update apache to 2.4.16 - update extentions to php 5.4.43 - updates for unRAID 6.1-rc* only ###2015.06.06 - update to apache 2.4.12 - update php extensions to 5.4.40 - remove libpng and libjpeg packages will need to reboot ###2015.05.22 - condense code - use native v6 code and styling ###2015.04.18 - fix bugs - add version and link to webserver ###2015.04.17 - update extentions to php 5.4.36 - added directory browser - reformatted layout ###2015.01.31 - update for beta12+ ###2014.09.25 - fix install and remove scripts ###2014.09.25 - reformated github and plugin format - conf files will now be in /boot/config/plugins/apache/httpd ###2014.06.07 - initial commit &gitURL;/packages/6.2/apr-1.5.2-x86_64-1.txz 4076e8b7bd35e028b1cfb9224b51afc8 &gitURL;/packages/6.2/apr-util-1.5.4-x86_64-2.txz 4efea0ce9975635fe82ad0a6a079d1ca &pkgURL;freetype-2.6.5-x86_64-1.txz 60eb82ef3458130fc48f07e6f5035876 &pkgURL;httpd-2.4.23-x86_64-1.txz 5a7a6f7ec34f23b88bd60072dcc1add9 &pkgURL;libtool-2.4.6-x86_64-4.txz 3a4d8446f6025bdc06f423d719f942e8 &pkgURL;libX11-1.6.3-x86_64-2.txz 26472fb7e9d86d3127a427f2c364623f &pkgURL;libXau-1.0.8-x86_64-1.txz b09a959ee01a1ea1d31600999b05dfef &pkgURL;libxcb-1.11.1-x86_64-1.txz 86a2a1c5f8fa01e6c2372d3d957201c4 &pkgURL;libXdmcp-1.1.2-x86_64-2.txz ce01ef3cc35262bb124d36e2f5c520c5 &pkgURL;libXpm-3.5.11-x86_64-1.txz d7e67e2109a8b0e3e554187dcccf3089 &pkgURL;net-snmp-5.7.3-x86_64-3.txz 4e5e3b7b73388912e18205ab1f509629 &pkgURL;php-ext-5.6.25-x86_64-1.txz b3a04a99ab551b85b690b41c57976ce9 &pkgURL;t1lib-5.1.2-x86_64-3.txz 6942fb6f9f78b8e3cc4a1c77469a2512 "https://github.com/&author;/&name;/archive/&version;.tar.gz" if [ ! -d &emhttp; ]; then mkdir -p &emhttp; fi tar -zxf &plugin;/&name;-&version;.tar.gz --strip=1 -C &emhttp;/ find &plugin; -type f -iname "*.tar.gz" ! -iname "&name;-&version;.tar.gz" -delete chmod +0770 /usr/local/emhttp/plugins/&name;/scripts/* cp -nr /usr/local/emhttp/plugins/&name;/&name; /boot/config/plugins if [ ! -L /var/www/htdocs ]; then mv -T /var/www/htdocs /var/www/html fi ln -sfT /var/www/html /srv/httpd/htdocs rm -rf /etc/httpd ln -sfT &plugin;/httpd /etc/httpd /usr/local/emhttp/plugins/&name;/scripts/stop rm -rf /usr/local/emhttp/plugins/&name; rm -f &plugin;/&name;-&version;.tar.gz > "$CFGFILE" [ ! `cat "$CFGFILE" | grep DOCROOT` ] && echo "DOCROOT=\"/var/www/html\"" >> "$CFGFILE" [ ! `cat "$CFGFILE" | grep ^PORT` ] && echo "PORT=\"8088\"" >> "$CFGFILE" [ ! `cat "$CFGFILE" | grep RUNAS` ] && echo "RUNAS=\"nobody\"" >> "$CFGFILE" rm /tmp/apache-chkconf ]]>