Hi guys its possible and if yes how i can do this

on my htaccess on first line i have

```
DirectoryIndex home.php index.php

```

then

```
RewriteEngine On etc.....

```

so based on a option on my code i want to do 

```
if (option=1) {
  // on htaccess write DirectoryIndex home.php index.php #first line
} else (option=2) {
  // on htaccess remove DirectoryIndex home.php index.php
}

```

also i dont know if this is safe

thanks for any help