ok so i have this vhost directory container which is also the vhosts docroot:
 
<Directory "/usr/local/sites/somedir/htdocs">
                AllowOverride All
                DirectoryIndex index.html
                AuthName "SomeProj: Authorized Access Only"
                AuthType Basic
                AuthUserFile /usr/local/sites/someproj.htpasswd
                Require valid-user
        <FilesMatch "\.(png|gif|flv|js)$">
                Allow from All
                Satisfy Any
        </FilesMatch>
</Directory>

This is as far as ive gone with no success, currently any URL i request 
requires authentication.

Im trying to figure out how to only allow unauthenticated access to requested 
URLs that have png,gif,flv or js in them.
Otherwise authentication is necessary. The request URL can be as deep as it 
wants (for example: /js/ver/whatever/publisher.js or /admin.js )

Oh and by the way, when the acceptable URL request is made it is re-written by 
this rule:
RewriteRule   ^/js/ver([0-9]+)/([0-9|a-f]{8})/publisher\.js$   
/js/someproj.php?version=$1&publisher_hash=$2 [L]




Reply via email to