Advertisement
Guest User

Untitled

a guest
Dec 7th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerAdmin webmaster@localhost
  3. ServerName pixelboii.wtf
  4. ServerAlias www.pixelboii.wtf
  5. DocumentRoot /var/www/main
  6. ErrorLog ${APACHE_LOG_DIR}/error.log
  7. CustomLog ${APACHE_LOG_DIR}/access.log combined
  8. RewriteEngine on
  9. RewriteCond %{SERVER_NAME} =pixelboii.wtf [OR]
  10. RewriteCond %{SERVER_NAME} =www.pixelboii.wtf
  11. RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
  12. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement