Example situation:
You have an existing site, but want to run your website/numo from us in a subfolder for testing. Example Location: http://www.yourwebsite.com/my_subfolder/
In this situation, you will need to update the two .htaccess files included within your site.
Please note, DO NOT use Microsoft Expression Web, FrontPage or SharePoint Designer to edit ANY “numo” file. Use a plain text editor such as NotePad (not WordPad) or Dreamweaver.
The .htaccess in the main folder (http://www.yourwebsite.com/my_subfolder/) should be modified to look like this (note the bolding), where “my_subfolder” is the name of your sub-folder:
RewriteEngine on
RewriteBase /my_subfolder/
RewriteCond %{REQUEST_URI} !^.*/check.php
RewriteCond %{REQUEST_URI} !^.*/numo/
RewriteCond %{REQUEST_URI} !^.*/numo$
RewriteCond %{REQUEST_URI} !^.*/dynamo/
RewriteCond %{REQUEST_URI} !^.*/dynamo$
RewriteCond %{REQUEST_URI} !^.*/Site/
RewriteRule (.*) check.php?where=$1&%{QUERY_STRING} [L]
The .htaccess file in the “numo” folder (http://www.yourwebsite.com/my_subfolder/numo/) should be modified to look like this (note the bolding), where “my_subfolder” is the name of your sub-folder:
RewriteEngine on
RewriteBase /my_subfolder/numo/
RewriteRule ^module/(.*)/(.*)/$ index.php?m=$1&i=$2&%{QUERY_STRING} [L]
When you go to move this files back to the ROOT folder of your website (http://www.mywebsite.com/), you will need to revert those files to their original form, AS WELL as update the “numo/configuration/database_connection_info.php” file, to change the following line:
define(NUMO_FOLDER_PATH, ‘/my_subfolder/numo/‘);
to read
define(NUMO_FOLDER_PATH, ‘/numo/‘);