• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved What about this? Plesk repair web...

LTUser

Regular Pleskian
Hi.

My Server, Ubuntu 16.4 LTS Plesk Onyx 17.5 Apache 2.4.#


Why ist Plesk using "Order allow,deny" if mod access_compat is disabled and all configfiles are withqut "Order allow,deny" !?

before plesk repair web:
<Directory "/var/www/vhosts">
AllowOverride "All"
Options SymLinksIfOwnerMatch
Require all granted
....
</Directory>

after Plesk repair web
<Directory "/var/www/vhosts">
AllowOverride "All"
Options SymLinksIfOwnerMatch
Require all granted
Order allow,deny
Allow from all
....
</Directory>

All my configs are without "Order allow,deny" and access_compat is disabled.
Then i do a "Plesk repair web" and all my Sites are down and in all configs is "Order allow,deny ..." back again.

And why is AllowOverride "All" (the ALL) doublequotet!?

Why!?
Why do Plesk force me to use mod access_compat? There ist no need about this on Ubuntu 16.4 LTS Plesk Onyx 17.5 and Apache 2.4...

(Sorry for my bad English)

Regards, LTUser
 
Last edited:
Hi LTUser,

could you pls. add the results of the find commands:

Code:
find /usr/local/psa/admin/conf/templates -type f -name "*.php" -exec grep --color -Hni "Order" {} \;
and
Code:
find /usr/local/psa/admin/conf/templates -type f -name "*.php" -exec grep --color -Hni "AllowOverride" {} \;

Could you pls. as well be so kind to add the corresponding *.php - files as attachments at your next post, which you found with the above find - commands?​
 
Hi LTUser,

could you pls. add the results of the find commands:

Code:
find /usr/local/psa/admin/conf/templates -type f -name "*.php" -exec grep --color -Hni "Order" {} \;
and
Code:
find /usr/local/psa/admin/conf/templates -type f -name "*.php" -exec grep --color -Hni "AllowOverride" {} \;

Could you pls. as well be so kind to add the corresponding *.php - files as attachments at your next post, which you found with the above find - commands?​

Sure...

1.)
/usr/local/psa/admin/conf/templates/default/server/mailman.php:38: Order allow,deny
/usr/local/psa/admin/conf/templates/default/server/mailman.php:80: Order allow,deny
/usr/local/psa/admin/conf/templates/default/server/vhosts.php:42: Order allow,deny
/usr/local/psa/admin/conf/templates/default/server.php:44: Order allow,deny
/usr/local/psa/admin/conf/templates/default/server.php:59: Order allow,deny
/usr/local/psa/admin/conf/templates/default/webmail/horde.php:29: Order allow,deny
/usr/local/psa/admin/conf/templates/default/webmail/atmail.php:55: Order allow,deny
/usr/local/psa/admin/conf/templates/default/webmail/roundcube.php:28: Order allow,deny
/usr/local/psa/admin/conf/templates/pci_compliance/server/PCI_compliance.php:8:SSLHonorCipherOrder on

2.)
/usr/local/psa/admin/conf/templates/default/server/vhosts.php:40: AllowOverride None
/usr/local/psa/admin/conf/templates/default/domain/domainVirtualHost.php:339: $allowOverrideOptions = ['Indexes', 'SymLinksIfOwnerMatch', 'MultiViews'];
/usr/local/psa/admin/conf/templates/default/domain/domainVirtualHost.php:341: $allowOverrideOptions[] = 'FollowSymLinks';
/usr/local/psa/admin/conf/templates/default/domain/domainVirtualHost.php:343: if ($VAR->domain->physicalHosting->cgi || $VAR->server->webserver->apache->allowOverrideExecCGI) {
/usr/local/psa/admin/conf/templates/default/domain/domainVirtualHost.php:344: $allowOverrideOptions[] = 'ExecCGI';
/usr/local/psa/admin/conf/templates/default/domain/domainVirtualHost.php:346: if ($VAR->domain->physicalHosting->ssi || $VAR->server->webserver->apache->allowOverrideIncludes) {
/usr/local/psa/admin/conf/templates/default/domain/domainVirtualHost.php:347: $allowOverrideOptions[] = 'Includes';
/usr/local/psa/admin/conf/templates/default/domain/domainVirtualHost.php:348: $allowOverrideOptions[] = 'IncludesNOEXEC';
/usr/local/psa/admin/conf/templates/default/domain/domainVirtualHost.php:351: AllowOverride AuthConfig FileInfo Indexes Limit Options=<?=implode(',', $allowOverrideOptions)?>
/usr/local/psa/admin/conf/templates/default/server.php:39: AllowOverride "<?php echo $VAR->server->webserver->apache->allowOverrideDefault ?>"
/usr/local/psa/admin/conf/templates/default/server.php:54: AllowOverride All
/usr/local/psa/admin/conf/templates/default/webmail/roundcube.php:24: AllowOverride FileInfo

Thanks for support :) PHP-Files comming soon...
 
PhpFiles...to extract files rename phpfiles.zip to phpfiles.tar.gz
 

Attachments

  • phpfiles.zip
    7.4 KB · Views: 2
Hi LTUser,

as I'm still not able to reproduce your issue ( even if I'm using YOUR templates on a test - server ), some deeper investigations have to be done directly on your server.
Pls. consider to contact the official Plesk Support directly over the link:

 
Back
Top