Changes

From Amahi Wiki
Jump to: navigation, search
46 bytes removed ,  21:00, 7 August 2014
no edit summary
* Go to your config file for apache:
{{Code| cd /etc/httpd/conf}}
* Now it is time to create a key and a crt. It will ask you a few questions, just make sure that the '''Common Name''' is the domain name:
{{code| openssl genrsa -out filename.key 1024 openssl req -new -key filename.key -x509 -days 1000 -out filename.crt}}
* Next open up '''/etc/httpd/conf/httpd.conf''' and add the following to the end (skip if you implemented [[Access HDA over SSL]]):
{{Text| NameVirtualHost *:443}}
* Open terminal and do (skip if you implemented [[Access HDA over SSL]]):
{{Code| yum -y install mod_ssl}}
* Find the file that has ajaxplorer in its name (i.e. '''1026-ajaxplorer.conf'''):
{{Code| cd /etc/httpd/conf.d/}}
* Edit it to like this (change username.yourhda.com):
{{Text|<pre><VirtualHost *:443>
ServerName ajaxplorer
ServerAlias username.yourhda.com
</Directory>
</VirtualHost>}}</pre>
* Finally create a file called '''1026-ajaxplorerhttp.conf''' (number may be different for you) and add this code (change username.hda.com):
{{Text|<pre><VirtualHost *:80>
ServerName ajaxplorer
ServerAlias username.yourhda.com
AddOutputFilterByType DEFLATE text/html text/plain text/xml
</VirtualHost>}}</pre>
* Now you need to restart apache:
{{Code| service httpd restart}}
* And that's all, you now have 128 bit encryption for AjaXplorer. Note that when you uninstall the app, you will need to manually remove the '''1026-ajaxplorerhttp.conf''' file you created.
==== See also ====
[[Access HDA over SSL]]
12,424

edits