Click to See Complete Forum and Search --> : htaccess to allow all files


philcol
08-30-2006, 07:02 PM
heres what i have setup for my main htaccess file

AuthType Basic
AuthName "Enter descriptive name here"
AuthUserFile "/home/cejmecom/.htpasswds/passwd"
require valid-user
Redirect /mail https://host525.ipowerweb.com:8087/webmail4/index.pl
Options -Indexes

RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php?user=$1 [L]

That works great, but now everything under the uppro directory i want to act like normal, so if i go to www.mysite.com/uppro/some.php it will view it, so any file under uppro will not get rerouted. Thanks for your help.

shane.carr
08-31-2006, 09:12 PM
This is a question for the "other" forum. I'm afraid that I know very little unix (unix code in htaccess, right?) so I con't help you, and you are unlikely to find anyone who does in this forum, but you will find people who know that language in the other forum.

Could a moderator kindly move the thread please?