I want to install codeigniter on '**mydomain.com**', hosting (shared) presents next kind of structure:

* public\_html/
+ 404/
+ \_private/
+ \_vti\_bin/
+ cgi-bin/
+ addondomain1.com/
+ addondomain2.com/
+ codeigniter
- application/
- system/

+ index.php
+ .htaccess

**index.php** (modified):

```
<?php
...
  $system_path = 'codeigniter/system';
  $application_folder = 'codeigniter/application';
...

```

**.htaccess** (default):

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

```

How can I modify .htaccess to force/apply rewrite condition only when url has '**mydomain.com**'?