[eluser]Daniel Moore[/eluser]
If it was a CI portion you needed authentication for, we could all point you to a quick and dirty authentication system that would get you up and running quickly. There are a number of them found in these forums. However, for seoTools, I can't say, as I don't use it.
Since the seoTools .htaccess file is loaded after the webroot .htaccess, you are still bound by all the functionality of the webroot .htaccess. If CodeIgniter is working properly, I don't see any reason it should be a problem for seoTools.
First, try changing your .htaccess for seoTools to the following:
Code:
Options -Indexes
AuthType Basic
AuthName "Tool"
AuthUserFile /path/.../.htpasswd
Require valid-user
Just a re-arrangement of the order, just in case. We want to keep everything organized and more readable. It's best practice to always declare the type of Auth before implementing it.
You said you tried adding the '?' to the rewrite rule, but it messed things up. Have you tried adding the QSA flag to it?
Code:
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
You may want to try the link in my signature to further troubleshoot your problem, if you haven't already. Try every option there for the .htaccess and see if it helps.
Consider replacing:
Code:
RewriteCond $1 !^(index\.php|404\.shtml|401\.shtml|seoTools|adminfiles|javascript|robots\.txt)
with the following:
Code:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
You may be too restrictive on your rewrite, so try that.
If none of that works, let me know.