Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- catatan...
- setting ini jalan di tempat saya..
- */
- ServerName localhost:80
- DocumentRoot "D:/php/demo"
- <VirtualHost 127.0.0.1:443>
- ServerName localhost
- ServerAlias locahost
- DocumentRoot "D:/php/demo/secure"
- </VirtualHost>
- //==============================XAMPP==============
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteCond %{HTTPS} !=on
- RewriteCond %{REQUEST_URI} secure
- RewriteRule ^(.*) https://%{SERVER_NAME}$1 [R,L]
- </IfModule>
- //===============================SSL==================
- <VirtualHost _default_:443>
- # General setup for the virtual host
- DocumentRoot "D:/php/demo/secure"
- ServerName localhost:443
- ServerAdmin webmaster@localhost
- ErrorLog "logs/error.log"
- <IfModule log_config_module>
- CustomLog "logs/access.log" combined
- </IfModule>
- SSLEngine on
- SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
- #SSLCertificateFile "conf/ssl.crt/server-dsa.crt"
- SSLCertificateFile "conf/ssl.crt/server.crt"
- #SSLCertificateKeyFile "conf/ssl.key/server-dsa.key"
- SSLCertificateKeyFile "conf/ssl.key/server.key"
- <FilesMatch "\.(cgi|shtml|pl|asp|php)$">
- SSLOptions +StdEnvVars
- </FilesMatch>
- <Directory "C:/app/xampp/cgi-bin">
- SSLOptions +StdEnvVars
- </Directory>
- BrowserMatch ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
- CustomLog "logs/ssl_request.log" "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement