suman07
09-10-2008, 08:10 AM
hello to all,
I have used following codes in my htaccess file:
DirectoryIndex folder/index.php
such that when www.mysite.com is entered,
the page www.mysite.com/folder/index.php is opened and
www.mysite.com/index.php is seen in my address bar
But what happens is, all the subfolder within the root use the same htaccess file and all the subfolders tend to search file '/folder/index.php' which I don't want.
Is there any way to use the above code for only the root?
Thanx in advance
I have used following codes in my htaccess file:
DirectoryIndex folder/index.php
such that when www.mysite.com is entered,
the page www.mysite.com/folder/index.php is opened and
www.mysite.com/index.php is seen in my address bar
But what happens is, all the subfolder within the root use the same htaccess file and all the subfolders tend to search file '/folder/index.php' which I don't want.
Is there any way to use the above code for only the root?
Thanx in advance