• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

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