• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

protected directory

maybe apache

if somehow my apache is corrupt how can I check that.
 
ok I found the problem.

Apparently the default error_docs do not include a "unauthorized.html" and without that file htaccess will not work.

how can I add this file to the default site so that every domain I create automatically gets this file in the error_docs directory.
 
ok added it to :

/home/httpd/vhost/.skel/error_docs

man this one was a nightmare.
 
Originally posted by swebs
Apparently the default error_docs do not include a "unauthorized.html" and without that file htaccess will not work.
That's interesting, on every box I've done fresh RH9/Plesk 7.5x, there has always been an unauthorized.html file in the /home/httpd/vhosts/.skel/0/error_docs/ directory

Which flavor of Linux are you on?
 
CPU GenuineIntel, Intel(R) Celeron(R) CPU 2.00GHz

Version psa v7.5.2_build75050204.16 os_RedHat 9

OS Linux 2.4.25-040218
 
check custom error documents

The following worked for me.

I had two sites from one client. On both sites a directory needed password protection. One site it worked, the other not. So I checked the differences on the hosting setup page and found out that the working site had Custom error documents checked. And the site where it did'nt work had not. After checking the custom error documents field the protection worked right away.

Regards,
Anton
 
Back
Top