Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.htaccess problem

Status
Not open for further replies.

Skrunch

Technical User
Joined
May 9, 2001
Messages
2
Location
US
In my .htaccess file, why does

RewriteRule ^(i)(.*)$ subdir/$1$2

work and

RewriteRule ^(.*)$ subdir/$1

not work?

The default file in my main directory is index.html. When I match one or more letters first, this works. If I change the (i) to a (.), this no longer works. This doesn't make any sense.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top