Add .htaccess in webroot

server

#1

I am experiencing web crawlers aand I need to restrict user agent accesses using htaccess[apache]. How can I add .htaccess in webroot since seafile is currently a proxy for apache2. There’s no documentatiin about this.


#2

Why use HTACCESS? Just put your rules into Apache VirtualHost.


#3

I can’t I am applying this ‘apache-ultimate-badblock-blocker’ and it requires that it has or tags defined. However Seafile with apache is only a proxy access, I cannot do it.

This is what I am trying to do: