Created
November 19, 2011 20:28
-
-
Save cwarden/1379312 to your computer and use it in GitHub Desktop.
ThinkUp within WordPress docroot example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # In ThinkUp/webapp/config.inc.php, set the site_root_path: | |
| # $THINKUP_CFG['site_root_path'] = '/thinkup/'; | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteBase / | |
| # ThinkUp | |
| RewriteRule ^thinkup$ /thinkup/ [L,R=301] | |
| RewriteRule ^thinkup/(.*)$ /ThinkUp/webapp/$1 [L] | |
| # BEGIN WordPress | |
| RewriteRule ^index\.php$ - [L] | |
| RewriteRule wzk-(.*).htm$ wp-content/plugins/simple-forum/editors/tinymce/plugins/inlinepopups/skins/clearlooks2/img/style.css.php [L] | |
| RewriteCond %{REQUEST_URI} !^/thinkup/ | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule . /index.php [L] | |
| </IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment