To accommodate those users who need the manual web app feature currently not available in Amahi 7, the following guidance is provided. This has been tested and no issues were noted.
Choose a name for your app. It should be short, lowercase, and do not use spaces. For example, <b>head_phones</b> or <b>headphones</b> are acceptable names. (remember to replace all occurrences of <u>appname</u> below with your desired name).
<b>NOTE:</b> There is no guarantee this will work for you or not cause problems with your Amahi 7 install. Please proceed with caution as carelessness could render your HDA inoperable.
As [[Open_Terminal_as_root|root user]], perform the following steps:
::The id field is set to 99 for this example. It can be any number not currently used by Amahi. Recommend you keep it at 99 or greater to be safe.<br />
::Ensure you replace appname accordingly and the date can be changed providing you follow the format. If you changed the .conf file name, ensure it matches as well.<br />
::To do a quick check, you can do the following for each table:
<pre>echo "select max(id) from dns_aliases" | mysql -uroot -phda hda_production</pre>
<pre>echo "select max(id) from webapps" | mysql -uroot -phda hda_production</pre>
::Once you have chosen the id number, execute the following
<pre>echo "INSERT INTO `dns_aliases` (`id`, `name`, `address`) VALUES
(99, 'appname', '')" | mysql -uroot -phda hda_production</pre>
ALL </body></html></pre>::Set the correct permissions on the file<pre>chown apache:users /var/hda/web-apps/appname/html/index.html</pre>* Test your new web app by entering <b><nowiki>http://appname</nowiki></b> in your browser. If all goes well, you should see the test page.<br /><br />::If you have problems, retrace your steps must be executed as root user. Ensure you replaced all occurrences of appname accordingly and the id field in both tables match.