CodeIgniter Forums

Full Version: rewriting help please
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Unknown[/eluser]
My Current htaccess is

Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|wildcard|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

but I also want to rewrite sub.mydomain.com to folder wildcard

where sub may be a wildcard ie anything

I have already enabled wildcard redirects and if it makes a difference, I am on litespeed

Any help is appreciated

PS

current folder structure

PUBLIC_HTML
------------ system
------------ application
------------ wildcard
------------ images
------------ index.php
------------ .htaccess

El Forum

[eluser]Unknown[/eluser]
bump