• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/
  • On Plesk for Linux mod_status is disabled on upgrades to improve Apache security.
    This is a one-time operation that occurs during an upgrade. You can manually enable mod_status later if needed.

Issue Additional Apache directives doesn't work

asukita

New Pleskian
Server operating system version
AlmaLinux 8.9
Plesk version and microupdate number
Plesk Obsidian Web Pro Edition 18.0.60 Update #1
Hi,

As the title says when I try to use some directive in my vhost this one doesn't work, unlike when I write it in the main file.

main file would be... /var/www/vhosts/system/domain/conf/httpd.conf
vhost files would be... /var/www/vhosts/system/domain/conf/vhost_ssl.conf and vhost.conf (I use ssl though)

I noticed that main file has no "include" for those files, I don't know if this could be the problem.

When I intentionally mistype a directive I can't pass the sudo apachectl configtest, the total opposite than in the vhost, where I can write whatever I want and pass this command without problem.

Also, the vhost files are in the proper path because Plesk shows me the directive on the webpage

Captura de pantalla 2024-05-05 a las 11.38.10.png

So, what is wrong here? o_O

Thanks in advance
 
Do you mean that when you add any directive to the Additional Apache directives it doesn't get saved to the vhost_ssl.conf file?

There also should be includes the the vhostl.conf and vhost_ssl.conf files in the domains httpd.conf file. Are you using customized Virtual Hosts templates that exclude those includes?
 
Back
Top