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
isaac-deprec-1.99.30 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
isaac-deprec-1.99.32 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.088 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.087 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.086 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.085 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.084 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.083 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.082 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
deprec-2.2.3 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
deprec-2.2.2 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
deprec-2.2.1 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
deprec-2.2.0 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.081 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.080 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.079 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.078 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.077 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.076 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
deprec-2.1.19 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb