Hi, A very peculiar problem. As soon as I add directives to the "Apache Directives" field of a website, the .htaccess in the site root stops working. What might be problem. the directive added is DocumentRoot /var/www/codebase/webnew/ I have also modified the vhost.conf.master and moved {HTTPD_INCLUDE} below DocumentRoot, so that the default values wont rewrite the "APACHE DIRECTIVE" Ashish
hmm.. but the directive filed works. The thing that does not work is the .htaccess file in the web root.
As your path is not compatoble with a normal ispconfig installation, you can not use any .htaccess directives in these dierctoeries unless you specify the override options and permissions for these directories in the apache2 conf file.
Thanks. Could you please help me, as to what I should add to the apache2 conf file and where? Regards, Ash
Something like: Code: <Directory /var/www/codebase/webnew> Options +Includes -Indexes AllowOverride None AllowOverride Indexes AuthConfig Limit FileInfo Order allow,deny Allow from all <Files ~ "^\.ht"> Deny from all </Files> </Directory>