logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Deny/Allow problems in .htaccess
Author
Darguz Parsilvan



Joined: 23 Apr 2009
Posts: 1

PostPosted: Thu 23 Apr '09 17:41    Post subject: Deny/Allow problems in .htaccess Reply with quote

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


Reply to topic   Topic: Deny/Allow problems in .htaccess View previous topic :: View next topic
Post new topic   Forum Index -> Apache