Having multiple htaccess in a root directory
<p>I have directory in my website where user can upload projects or create sub directories, in the root dir i have a default <code>.htaccess</code> file and <code>default.php</code> which i don't want the user to get access to because i rewrite the dir to load default.php as default index page and also this to file will be copied to any sub dir that the user create.
Now my problem is when user try to save .htaccess for the project he want to save it will show that is already exist. is there anything i can do to have multiple htaccess or write my own as default htaccess.</p>

<p>Second. is it possible to use one htaccess in all the sub dir so user can freely add their own?
Example: bellow is how my directory look</p>

<blockquote>
  <p>WWW.example.com/ <strong>project</strong> /userprojectname/sub1/sub2/sub3/etc...</p>
</blockquote>

<p>In <em>project</em> it has htaccess and users are not allow to do anything but their projectname will save there.
In <code>userprojectname</code> it has an <code>htaccess</code> and <code>default.php</code>, they can also add more file or create directories and any sub dir will also have it own htaccess and default.php.</p>

<p>Now can i make htaccess in <strong>project</strong> work in all page? and as for default, i used jquery to disallow users creating file name <code>default.php</code> also is there a better way i can fix all this?</p>

<p>Bellow is my dirs and htacess file</p>

<pre><code>Options +FollowSymlinks
RewriteEngine on

#This will block from accessing root folder
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteRule ^([^\.]+)$ $1.php [NC,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([a-zA-Z0-9]+)$ $1.php [NC,L]

DirectoryIndex default.php
</code></pre>