• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

How to enable HTaccess in Plesk 11?

ChuckJ

New Pleskian
My question is similar to the unresolved question about htaccess enabling at http://forum.parallels.com/showthre...erMatch-is-off-which-implies-that-RewriteRule. I have a subdomain that is acting very strangely in regard to htaccess. Shows an error if I put a deliberate boo-boo in the file, but disregards syntactically correct deny/allow statements.

I see no clear cut path to enabling htaccess files in plesk 11. Am I missing something?

This seems to be outdated: http://kb.parallels.com/en/124.

The vhosts domain.com/conf folder last-httpd-include file shows:
#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.
#
#IF YOU REQUIRE TO APPLY CUSTOM MODIFICATIONS, PERFORM THEM IN THE FOLLOWING FILES:

#/var/www/vhosts/domain.com/conf/vhost.conf
#/var/www/vhosts/domain.com/conf/vhost_ssl.conf


- But the referred files don't exist

I'm really confused on this. Help!
 
http://www.webdnstools.com/articles/plesk/apache_configuration

I have not tested it yet...

Go to: /var/www/vhosts/your_domain/conf
create: "vhost.conf" and edit it with what you want do....

set: chmod 644 (?)

Plesk 9: /usr/local/psa/admin/bin/websrvmng -a -v
Plesk 10 and 11: /usr/local/psa/admin/bin/httpdmng --reconfigure-all

optional: /etc/init.d/httpd configtest
use: /etc/init.d/httpd restart (or reload)


EDIT: I have tested it and working fine.
 
Last edited:
Back
Top