Advertisement
Guest User

Untitled

a guest
Jul 29th, 2014
469
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.18 KB | None | 0 0
  1. <VirtualHost 192.168.1.14:443>
  2.  
  3. Redirect permanent / http://www.aaamerica.com.mx/
  4.  
  5. # RewriteEngine On
  6. # RewriteCond %{HTTPS} off
  7. # RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI}
  8.  
  9. # ServerName 192.168.1.14
  10. # DocumentRoot /var/sites/www.aaamerica.com.mx
  11. # Redirect permanent /secure http://www.aaamerica.com.mx/
  12.  
  13. # Redirect / http://www.aaamerica.com.mx/
  14.  
  15. # <IfModule mod_rewrite.c>
  16. # RewriteEngine On
  17. # RewriteCond %{HTTPS} on
  18. ## RewriteRule .* http://%{HTTP_HOST}%{REQUEST_URI}
  19. # RewriteRule ^(.*)$ http://www.aaamerica.com.mx/$1 [R=301,L]
  20. # </IfModule>
  21. # SSLEngine on
  22. # SSLCertificateFile /etc/apache2/ssl/www.aaamerica.com.mx.crt
  23. # SSLCertificateKeyFile /etc/apache2/ssl/www.aaamerica.com.mx.pem
  24. #
  25. # DocumentRoot /var/sites/www.aaamerica.com.mx
  26. # ServerName 192.168.1.14
  27. # ServerAdmin ed@aaamerica.com.mx
  28. # ErrorLog /var/log/apache2/www.aaamerica.com.mx_ssl-error.log
  29. # CustomLog /var/log/apache2/www.aaamerica.com.mx_ssl-access.log combined
  30. # php_value log_errors 1
  31. # php_value 'include_path' '.:/usr/share/php:/usr/share/pear:/var/sites/shita/shita/libs:/var/sites/shita/proyecto/libs'
  32. # Alias /mrtg /var/www/mrtg
  33. # Alias /notas /var/fileserver/notas
  34. # Alias /webalizer /var/www/webalizer
  35. # ServerSignature Off
  36. #
  37. # AliasMatch /estilos.css /var/sites/shita/shita/estilos.css
  38. # AliasMatch /estilos_encuesta.css /var/sites/shita/shita/estilos_encuesta.css
  39. # AliasMatch logo.png /var/sites/shita/shita/images/logo.png
  40. #
  41. # <Directory /var/sites/www.aaamerica.com.mx>
  42. # Options -Indexes
  43. # </Directory>
  44. #
  45. # <Directory />
  46. # Options -Indexes
  47. # AllowOverride None
  48. # Order allow,deny
  49. # allow from all
  50. # </Directory>
  51. # <Directory /var/www/mrtg>
  52. # AuthType Basic
  53. # AuthName "MRTG"
  54. # AuthUserFile /etc/apache2/passwords/mrtg
  55. # Require user admin
  56. # </Directory>
  57. # <Directory /var/www/webalizer>
  58. # AuthType Basic
  59. # AuthName "Webalizer"
  60. # AuthUserFile /etc/apache2/passwords/webalizer
  61. # Require user admin
  62. # </Directory>
  63. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement