HOWTO : Make your Apache to use SSL
Step 1 :
sudo a2enmod ssl
Copy the default-ssl to the name as your current XOOPS domain, e.g. samiux.com.
sudo cp /etc/apache2/sites-available/default-ssl /etc/apache2/sites-available/samiux.com-ssl
sudo nano /etc/apache2/sites-available/samiux.com-ssl
Do not change anything inside but except the following :
DocumentRoot /var/www/xoops
ServerName www.samiux.com # add this line under DocumentRoot
<Directory /var/www/xoops>
Step 2 :
sudo nano /etc/apache2/sites-available/samiux.com
Make sure you enabled rewrite module as at previous HOWTO. Add the following inside the mod_rewrite.c bracket.
RewriteCond %{HTTPS} !=on
RewriteRule ^/(.*) https://%{SERVER_NAME}%{REQUEST_URI} [R]
Step 3 :
Open your browser and go to your site and login as admin. Enable SSL and add the... ... read more >>> samiux.wordpress.com
Similar entries
- HOWTO : Security enhanced your Ubuntu 9.04 LAMP server with AppArmor
- HOWTO : Home made NAS server with Ubuntu 8.04.1 – Part V
- HOWTO : Almost a perfect and secure Ubuntu 9.04 LAMP server
- HOWTO : WebDAV on Ubuntu 9.04 Server
- Como habilitar mod_rewrite en apache2/Ubuntu
- Abilitare mod_rewrite su Apache2
- How to install DRUPAL in ubuntu
- SSH to use RSA key for login
- My home network
- Configuring Apache Web Server (Debian/Ubuntu)
