Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Deny/Allow problems in .htaccess |
|
Author |
|
Darguz Parsilvan
Joined: 23 Apr 2009 Posts: 1
|
Posted: Thu 23 Apr '09 17:41 Post subject: Deny/Allow problems in .htaccess |
|
|
I want to deny access to all except certain files in a directory. I created this .htaccess file:
Code: | Order Deny,Allow
Deny from all
<Files "mvx.css">
Allow from all
</Files>
<Files "wz_tooltip.js">
Allow from all
</Files>
<Files "swfupload.js">
Allow from all
</Files>
<Files "ajax.js">
Allow from all
</Files> |
I can access the first two files, but not the last two -- I get a Forbidden error. Am I missing something? |
|
Back to top |
|
|
|
|
|
|