Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DocumentRoot /var/www/<subdirectory>
- ServerName www.example.com
- ServerAlias example.com
- ErrorLog /var/log/<subdirectory>
- TransferLog /var/log/<subdirectory>
- LogLevel warn
- RewriteEngine on
- RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
- RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L]
- RewriteCond %{HTTP_HOST} ^example.com$
- RewriteRule ^robots.txt robots-development.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement