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.
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.