On Sun, Nov 15, 2009 at 11:42 AM, Iacopo Benesperi <iac...@iacchi.org> wrote:
> Eric Covener ha scritto:
>> As the error message says, You can't put <location> in htaccess.  It's
>> got nothing to do with what's inside the <location>.
>
> So where can I use the location directive?

Inside the configuration file read by Apache at startup (nominally
httpd.conf, but may be a series of files in your installation)

> Or, better: what should I
> write in the .htaccess to write a rule based on the url and not on the
> folder (<directory>)? Is there a way to protect the url the way I want?

No clue if you can't modify the configuration and the location of the
htaccess isn't related to the files you want to protect.


-- 
Eric Covener
cove...@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to