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 gkittelson 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
May 9, 2001
2
US
In my .htaccess file, why does

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

work and

Code:
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