• 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

w00t plesk doesnt use htaccess?

R

robtbs

Guest
omg im becoming more and more shocked by plesk everyday...

does plesk use some form of filter to process passworded directories... because it doesnt seem to be using .htaccess
 
No they don't put it into the .htaccess, they put it into the domain's /conf/httpd.include file

Prime example for why you would not want to put your own custom stuff into the httpd.include file, Plesk can and will overwrite the httpd.conf and httpd.include files at times....

Always use the vhost.conf and vhost_ssl.conf or .htaccess files for your own customizations...
 
thats stupid.... what i have done,
is forced the home directory of my .org and .co.uk domains to the .net home directory. (because plesk doesnt support parked domains)
i cant be bothered to paymore for 4psa software, when the basic thing should include fundamental functions every other CP manages to do it.

in the httpd.include

but..
because plesk obviously does things so different to other cps... any passwords created on directories on the .net domain dont effect the .co.uk and .org,

therefore they are left open.
.htaccess would work fine, why cant they just use features that already exist, instead of doing things a round about way, creating more hastle.

im sick of this ControlPanel it doesnt even deserve the title. it might look pretty but my god the makers must have be sat on their heads making it... everything is so backwards

I find myself connected to SSH configuring everything manually, because plesk just cant do it.

Rant over, me looks for new cpanel host
 
It actually not that hard to use the .htaccess in addition to the Plesk control interface - so users are manageble though Plesk.

All I do is create a password protected directory though Plesk and then I write a .htaccess password containing:

Code:
AuthUserFile /home/<domain>/pd/d..<name_of_protected_dir_in_plesk>
AuthName "Realm Auth"
AuthType Basic

Require valid-user

This will use the users/password setup in the Plesk interface. And will not rewrite any httpd-files when changing users/password after it's created the first time.
 
ahh ok that is so useful, thanks,
it WORKS!!!

cheers whistler
 
Sorry if there was mis-communication, I did not mean to imply that you could not add your own auth to .htaccess, I was just telling you where Plesk put's theirs...
 
And btw. - very little technical insight is needed to manually enable aliasing/parking of domains.

4PSAs Total Domains dosen't do anything you can't do yourself - but it makes it a lot easier :)
 
any chance i could get a quick explanation?
thanks so much.
 
As you've already done - it's a question of editing apache configuration...

But instead of editing your httpd.conf files - you should do as stated in manual - and edit/use vhost.conf and vhost_ss.conf to use your custom settings.

Then Plesk won't overwrite your configuration when updating it's configuration files.

DNS could be managed by creating your own named zone-files - you have to look into the setup of that.

And aliasing for qmail - I can't remember which files to edit - but it's also possible to do the aliasing for mail.

(but 4PSA does make it more easy as it does all the above mentioned things plus a lot of other stuff - and it does some consistency checks that's also nice).
 
Back
Top