How do you make a page secured, and what exactly does secureing it do? Does it make it kinda one-way, so that the only way to enter it would be through a certain place? I'm trying to make a website and to secure it properly, and i have no idea on how to do this. Anyone helping me would be great! Thanks, ~D_C
Just configure in your apache a ssl connection (is like a normal conf). Anyway you need to have the certificate already generated for that. Anyway I will show you a little trick to forward your unsecure connection on secured one: On your non secured connection define in this way: <VirtualHost *:80> ServerName server.domain.tld ErrorLog /var/log/apache2/server.domain.tld-error.log CustomLog /var/log/apache2/server.domain.tld-access.log common DocumentRoot /var/www/xxx <Directory /var/www/xxx> AllowOverride All RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteRule (.*) https://%{SERVER_NAME}$1 [L,R] <--change for your needs </Directory> </VirtualHost> And on secured conection just define your ssl connection: <VirtualHost *:443> ServerAdmin DocumentRoot /var/www/xxx ServerName server.domain.tld ErrorLog /var/log/apache2/server.domain.tld-error.log CustomLog /var/log/apache2/server.domain.tld-access.log common SSLEngine on SSLCertificateFile /etc/apache2/ssl/apache.pem SSLProtocol all SSLCipherSuite HIGH:MEDIUM </VirtualHost> Regards Adrian