Advertisement
GWibisono

setting xampp

Oct 9th, 2013
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. /*
  2. catatan...
  3. setting ini jalan di tempat saya..
  4. */
  5. ServerName localhost:80
  6. DocumentRoot "D:/php/demo"
  7.  
  8. <VirtualHost 127.0.0.1:443>
  9. ServerName localhost
  10. ServerAlias locahost
  11. DocumentRoot "D:/php/demo/secure"
  12. </VirtualHost>
  13. //==============================XAMPP==============
  14. <IfModule mod_rewrite.c>
  15. RewriteEngine On
  16. RewriteCond %{HTTPS} !=on
  17. RewriteCond %{REQUEST_URI} secure
  18. RewriteRule ^(.*) https://%{SERVER_NAME}$1 [R,L]
  19. </IfModule>
  20. //===============================SSL==================
  21. <VirtualHost _default_:443>
  22. # General setup for the virtual host
  23. DocumentRoot "D:/php/demo/secure"
  24. ServerName localhost:443
  25. ServerAdmin webmaster@localhost
  26. ErrorLog "logs/error.log"
  27. <IfModule log_config_module>
  28. CustomLog "logs/access.log" combined
  29. </IfModule>
  30.  
  31.  
  32. SSLEngine on
  33.  
  34.  
  35. SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
  36.  
  37.  
  38. #SSLCertificateFile "conf/ssl.crt/server-dsa.crt"
  39. SSLCertificateFile "conf/ssl.crt/server.crt"
  40.  
  41.  
  42. #SSLCertificateKeyFile "conf/ssl.key/server-dsa.key"
  43. SSLCertificateKeyFile "conf/ssl.key/server.key"
  44.  
  45. <FilesMatch "\.(cgi|shtml|pl|asp|php)$">
  46. SSLOptions +StdEnvVars
  47. </FilesMatch>
  48. <Directory "C:/app/xampp/cgi-bin">
  49. SSLOptions +StdEnvVars
  50. </Directory>
  51.  
  52.  
  53. BrowserMatch ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
  54.  
  55.  
  56. CustomLog "logs/ssl_request.log" "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
  57. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement