Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LocalSettings
- $wgScriptPath = "/mw";
- $wgScriptExtension = ".php";
- $wgArticlePath = "/wiki/$1";
- VirtualHost
- <VirtualHost *:80>
- ServerName www.hotbmush.com
- ServerAlias hotbmush.com
- DocumentRoot /var/www/hotbmush/public_html
- ErrorLog /var/log/httpd/hotbmush_error.log
- CustomLog /var/log/httpd/hotbmush_requests.log combined
- RewriteEngine on
- RewriteCond %{SERVER_NAME} =www.hotbmush.com [OR]
- RewriteCond %{SERVER_NAME} =hotbmush.com
- RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
- RewriteEngine On
- RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/mw/index.php [L]
- RewriteRule ^/?$ %{DOCUMENT_ROOT}/mw/index.php [L]
- </VirtualHost>
- site www.hotbmush.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement