HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   How to make htaccess works for all clients? (http://www.howtoforge.com/forums/showthread.php?t=33459)

thenicespider 9th April 2009 14:53

How to make htaccess works for all clients?
 
Rather than make <Directory /home/www/clients/clientX/webX> for every clients, is there a way to make the htaccess allowed for every clients?

if I write <Directory /home/www/clients/*> then ... is it secure?

till 10th April 2009 10:16

.htaccess is allowed for all clients. Only .htaccess restrictions that allows clients to override the limits of the site are not allowed. If you dont like the presets, change the master template for the vhosts.

Ovidiu 2nd May 2009 16:07

just wondering about the issues I had in a similar thread: wordpress needs mod_rewrite activated, which was active, still I needed:

Quote:

<Directory "/var/www/clients/client1/web2/">
Options All
AllowOverride All
Order allow,deny
Allow from all
</Directory>
to allow the usage of rewrites within .htacces?

see also this thread: http://howtoforge.com/forums/showthread.php?t=34428

till 2nd May 2009 21:34

Please take a look here:

http://www.howtoforge.com/forums/showthread.php?t=33805

By the way, changing to allow override all is really not recommended as this opens up your server to modifications by your users.

Ovidiu 2nd May 2009 21:53

thx. will continue posting the other thread, weird I didn't find it, I even googled for this specific error. THx. for pointing that thread out.


All times are GMT +2. The time now is 02:54.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.