Advertisement
Guest User

apache wordpress config

a guest
Feb 26th, 2014
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.90 KB | None | 0 0
  1. <VirtualHost *:80>
  2.     ServerAdmin info@dhae.dev
  3.     ServerName dhae.dev
  4.     DocumentRoot /var/www/dhae/wordpress
  5.     FileETag MTime Size
  6.     <Directory /var/www/dhae/wordpress/>
  7.         Options Indexes FollowSymLinks Multiviews ExecCGI
  8.         AllowOverride None
  9.         <RequireAll>
  10.         Require all granted
  11.         Require not ip 188.40 46.4 176.9 46.166 46.21 78.46 91.207.7.21 0.0.0.0
  12.         </RequireAll>
  13.         AddDefaultCharset UTF-8
  14.         # BEGIN WordPress
  15.         <IfModule mod_rewrite.c>
  16.             RewriteEngine On
  17.             RewriteBase /
  18.             RewriteCond %{REQUEST_FILENAME} !-f
  19.             RewriteCond %{REQUEST_FILENAME} !-d
  20.             RewriteRule . /index.php [L]
  21.         </IfModule>
  22.         # END WordPress
  23.     </Directory>
  24.     ErrorLog /var/log/apache2/dhae_error.log
  25.     LogLevel warn
  26.     CustomLog /var/log/apache2/dhae_access.log combined
  27. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement