• 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
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

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