Sha256: bcfafddf606d7eea61d7ee2e10597e6d2a73670f18b745cb2ade42235159e3de

Contents?: true

Size: 933 Bytes

Versions: 127

Compression:

Stored size: 933 Bytes

Contents

<VirtualHost *:80>
  ServerName <%= wordpress_domain %>
  DocumentRoot <%= "#{wordpress_install_dir}" %>

  <Directory <%= "#{wordpress_install_dir}" %>>
	DirectoryIndex index.html index.htm index.php
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
  </Directory>

  RewriteEngine On

  # Prevent access to .svn directories
  RewriteRule ^(.*/)?\.svn/ - [F,L]
  ErrorDocument 403 "Access Forbidden"

  # Prevent access to .git directories
  RewriteRule ^(.*/)?\.git/ - [F,L]
  ErrorDocument 403 "Access Forbidden"
  
  # Deflate
  AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript
  BrowserMatch ^Mozilla/4 gzip-only-text/html
  BrowserMatch ^Mozilla/4\.0[678] no-gzip
  BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

  ErrorLog logs/<%= wordpress_domain %>-error_log
  CustomLog logs/<%= wordpress_domain %>-access_log combined
</VirtualHost>

Version data entries

127 entries across 127 versions & 4 rubygems

Version Path
le1t0-deprec-2.1.6.043 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.042 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.041 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.040 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.039 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.038 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.037 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.036 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.035 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.034 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.033 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.032 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.031 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.030 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.029 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.028 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.027 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.026 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.025 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.024 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb