Htaccess and matrix

Hey, apparently blocking users using httpd.conf isn't good enough, you have to block them in the htaccess file. Now, I'm not sure where I would place the htaccess file in a matrix install.


Is it /home/websites/mysource_matrix/core/web ?

[quote]Hey, apparently blocking users using httpd.conf isn't good enough, you have to block them in the htaccess file. Now, I'm not sure where I would place the htaccess file in a matrix install.


Is it /home/websites/mysource_matrix/core/web ?[/quote]

Other public URLs such as "__data" serve files from other Matrix subdirectories directly by Apache. I would suggest adding the .htaccess file to the Matrix System Root directory so it is effective for any content on the system (as these rules should propagate to all subdirectories).

So that's /home/websites/mysource_matrix/core?


No Duncan, pretty sure he meant /home/websites/mysource_matrix/

Indeed, that is what he meant :wink: