htaccess Elite

.htaccess tutorial


All times are UTC [ DST ]





Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: How to use FilesMatch in .htaccess with regular expressions?
PostPosted: 25 Jun 2008 15:58 
Offline

Joined: 25 Jun 2008 15:54
Posts: 1
Hello,

I have been trying to protect a virtual file/directory using .htaccess for a while now, but I'm getting nowhere.

What I am trying to do is protect the ADMIN area of a site that is dynamically created using rewrites.

So, there is no physical admin directory. One can access admin using:

index.php/admin
or just plain
admin/

Is there a way to password-protect anything with "admin" in it using FilesMatch within a .htaccess file, and how would one do that?

Many thanks!
Lisa


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB