web site with ssh
here is: /etc/apache2/httpd.conf:
#http://httpd.apache.org/docs/2.0/vhosts/examples.html
# Ensure that Apache listens on port 80
Listen 80
#Listen 443
# Listen for virtual host requests on all IP addresses
NameVirtualHost *:80
NameVirtualHost *:443
DocumentRoot /var/www/normal
ServerName normal.alin0.alinneaga.info
ErrorLog /var/log/apache2/error.log
CustomLog /var/log/apache2/access.log combined
DocumentRoot /var/www/secure
ServerName secure.alin0.alinneaga.info
# Other directives here
ErrorLog /var/log/apache2/error_secure.log
CustomLog /var/log/apache2/access_secure.log combined
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/server.crt
SSLCertificateKeyFile /etc/apache2/ssl/server.key
#http://httpd.apache.org/docs/2.0/vhosts/examples.html
# Ensure that Apache listens on port 80
Listen 80
#Listen 443
# Listen for virtual host requests on all IP addresses
NameVirtualHost *:80
NameVirtualHost *:443
DocumentRoot /var/www/normal
ServerName normal.alin0.alinneaga.info
ErrorLog /var/log/apache2/error.log
CustomLog /var/log/apache2/access.log combined
DocumentRoot /var/www/secure
ServerName secure.alin0.alinneaga.info
# Other directives here
ErrorLog /var/log/apache2/error_secure.log
CustomLog /var/log/apache2/access_secure.log combined
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/server.crt
SSLCertificateKeyFile /etc/apache2/ssl/server.key
Comments
Post a Comment