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.003 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.002 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
le1t0-deprec-2.1.6.001 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
deprec-2.1.5 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
visfleet-deprec-2.1.4.5 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
visfleet-deprec-2.1.4.4 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
visfleet-deprec-2.1.4.3 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
visfleet-deprec-2.1.4.2 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
visfleet-deprec-2.1.4.1 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
visfleet-deprec-2.1.4 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
deprec-2.1.4 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
deprec-2.1.1 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
deprec-2.1.0 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
deprec-2.0.15 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
deprec-2.0.11 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
deprec-2.0.13 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
deprec-2.0.1 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
deprec-2.0.10 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
deprec-2.0.0 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
deprec-2.0.4 lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb