Actually, it depends what is in your htaccess file.
In my root directory, the .htaccess is
Code:
AddHandler application/x-httpd-php .php .htm
Options -Indexes -ExecCGI -Includes -FollowSymLinks
DirectoryIndex index.htm index.html index.php
This specifies that my /htdocs/ and /cgi-bin/ and whatever other dirs I have in root, be subject to those rules.
Then in my /htdocs/.htaccess file I have the following
Code:
ErrorDocument 404 /inc/e/error.htm
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.
RewriteCond %{HTTP_HOST} !powweb\.com$
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteRule ^scripts/(.*)\.sll$ /cgi-bin/$1.php [T=application/x-httpd-php]
Note, not everything works from the root .htaccess.. and you should also realize that it is a bit more inefficient to use a htaccess file in your root dir.