Changes

From Amahi Wiki
Jump to: navigation, search
chown apache:users /etc/httpd/conf.d/9999-appname.conf
service httpd restart
* Update Amahi 7 database settings<br /><br />::**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:
echo "select max(id) from dns_aliases" | mysql -uroot -phda hda_production
echo "select max(id) from webapps" | mysql -uroot -phda hda_production
::Set the correct permissions on the file
chown apache:users /var/hda/web-apps/appname/html/index.html
* 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. Ensure you replaced all occurrences of appname accordingly and the id field in both tables match.
== Delete Manual Web App ==
12,424

edits