I can’t appear to make this happen - and I believe the real issue is which i just starring myself blind onto it, and so i hope a set of fresh eyes can assist me.

Things I wan’t to complete is have several programs mounted on my system. At this time around, an internet site already is available within the root folder, however i wan’t some microsites/powerformats inside a CI installation.

My mod_rewrite appears like this:

RewriteCond %{REQUEST_URI} ^/(powerformat1|powerformat2)/?$
RewriteRule ^(.*)$ powerformats/index.php/$1 [L] 

Although, obtaining the CI index.php properly, when attempting to gain access to example.org/powerformat1 or example.org/powerformat2 provides me with CI’s 404 page.

It appears like whatever I attempt of rewrite rules I either obtain the 404 page or free whatsoever.

Any experience?

-- EDIT --

Things I believe is my issue is that CI really will get the 'powerformat1' string passed because the first segment. That's what I have to avoid. But can't that be solved through mod_rewrite?

Have you miss RewriteEngine On ?

You could attempt link straight to the file using the appropriate query string rather

RewriteRule ^(.*)$ /powerformats/index.php?somequery=$1 [L]
(you might want to alter the slashes, see below)

Or it might be this:

Being able to access /powerformat1/ might be spinning to
powerformats/index.php//powerformat1/

You could attempt
RewriteRule ^/(.*)/$ /powerformats/index.php/$1 [L]
as well as other variation with slashes:
RewriteRule ^/(.*)/$ /powerformats/index.php/$1/ [L]