I'd really appreciate it if someone could take the time to figure out how to convert this. I've been trying for about 14 hours total in the past two days to get this working.
Our file structure is similar to:
/
/index.php
/beta
/beta/html
/beta/site
/ci/index.php
We have everything loading from root, so when I visit:
http://domain1.com/to/questions
It should direct to:
/beta/site/_questions.php
In /beta/, we have:
[code]<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /beta
RewriteRule ^/?abc/(.*).png /_process_abc.php?file=$1
RewriteRule ^/?process.php/?$ /processme/here
RewriteRule ^/?xyz/here/?$ /processme/here
RewriteRule ^/?to/questions/?$ /site/_questions.php
RewriteRule ^/?to/(.+?)$ /ci/index.php/$1
RewriteCond %{HTTP_HOST} ^domain1.com$
RewriteCond %{REQUEST_URI} !^/via/
RewriteRule ^(.*)$ via/index.php?t=$1 [L]
RewriteCond %{HTTP_HOST} ^domain2.com$
RewriteCond %{REQUEST_URI} !^/beta/site
RewriteCond %{REQUEST_URI} !^/beta/html
RewriteRule ^(.*)$ site/index.php?p=$1 [L]
</IfModule>
[/code]