Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. LocalSettings
  2. $wgScriptPath = "/mw";
  3. $wgScriptExtension = ".php";
  4. $wgArticlePath = "/wiki/$1";
  5.  
  6. VirtualHost
  7. <VirtualHost *:80>
  8. ServerName www.hotbmush.com
  9. ServerAlias hotbmush.com
  10. DocumentRoot /var/www/hotbmush/public_html
  11. ErrorLog /var/log/httpd/hotbmush_error.log
  12. CustomLog /var/log/httpd/hotbmush_requests.log combined
  13. RewriteEngine on
  14. RewriteCond %{SERVER_NAME} =www.hotbmush.com [OR]
  15. RewriteCond %{SERVER_NAME} =hotbmush.com
  16. RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
  17.  
  18. RewriteEngine On
  19. RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/mw/index.php [L]
  20. RewriteRule ^/?$ %{DOCUMENT_ROOT}/mw/index.php [L]
  21. </VirtualHost>
  22.  
  23. site www.hotbmush.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement