gundambison

config buat apache

Mar 4th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <IfModule ssl_module>
  2.  
  3. <VirtualHost 127.0.0.1:443>
  4. <Directory "d:/php2/testing">
  5. Options FollowSymLinks Indexes
  6. AllowOverride All
  7. Order deny,allow
  8. allow from All
  9. </Directory>
  10. ServerName testing.site
  11. ServerAlias testing.site
  12. ScriptAlias /cgi-bin/ "d:/php2/testing/cgi-bin/"
  13. DocumentRoot "d:/php2/testing"
  14. SSLEngine on
  15. SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
  16. SSLCertificateFile "C:\Program Files (x86)\Ampps/apache/conf/ssl_crt/testing.site.crt"
  17. SSLCertificateKeyFile "C:\Program Files (x86)\Ampps/apache/conf/ssl_key/testing.site.key"
  18. ErrorLog "C:/Program Files (x86)/Ampps/apache/logs/testing.site_ssl_error.log"
  19. TransferLog "C:/Program Files (x86)/Ampps/apache/logs/testing.site_ssl_access.log"
  20. <FilesMatch "\.(cgi|shtml|phtml|php)$">
  21. SSLOptions +StdEnvVars
  22. </FilesMatch>
  23. <Directory "d:/php2/testing/cgi-bin/">
  24. SSLOptions +StdEnvVars
  25. </Directory>
  26. BrowserMatch ".*MSIE.*" \
  27.     nokeepalive ssl-unclean-shutdown \
  28.     downgrade-1.0 force-response-1.0
  29. CustomLog "C:/Program Files (x86)/Ampps/apache/logs/testing.site_ssl_request.log" \
  30.     "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
  31. </VirtualHost>
  32. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment