• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

vhosts_ssl.conf

E

epretorious

Guest
I noticed the warning the head of the /home/httpd/vhosts/yourdomain.com/conf/httpd.include file...
# ATTENTION!
# DO NOT MODIFY THIS FILE OR ANY PART OF IT. THIS CAN RESULT IN IMPROPER PLESK
# FUNCTIONING OR FAILURE, CAUSE DAMAGE AND LOSS OF DATA. IF YOU REQUIRE CUSTOM
# MODIFICATIONS TO BE APPLIED TO THE CONFIGURATION, PLEASE, PERFORM THEM IN THE
# FOLLOWING FILE(S):
# /home/httpd/vhosts/yourdomain.com/conf/vhost.conf
# /home/httpd/vhosts/yourdomain.com/conf/vhost_ssl.conf
# /home/httpd/vhosts/yourdomain.com/subdomains/<subdomain-name>/conf/vhost.conf
...but also noticed that nowhere in the Apache configurations does it specify to Include /home/httpd/vhosts/yourdomain.com/conf/vhost_ssl.conf

Is this something that needs to be added manually?
 
Even when I add...
Include /home/httpd/vhosts/sierratahoecomputers.com/conf/vhost_ssl.conf
...to /home/httpd/vhosts/yourdomain.com/conf/httpd.include and ...
Alias /osc /home/httpd/vhosts/yourdomain.com/httpdocs/osc
...to /home/httpd/vhosts/sierratahoecomputers.com/conf/vhost_ssl.conf I get mime-type errors. (Mozilla complains about the MIME-type - Type: application/x-httpd-php - and asks me if I want to save it.)
 
Same or similar problems

I am having the same or similar problems.

I need to have open_basedir set to 'no value'. So i have investigated and found that i have to edit the 'vhost.conf' and 'vhost_ssl.conf' files. This is where my problem starts... they are not there in my domain. They are in other domains, so what i did was copy the file to my domain and edited to suit. This has done nothing, even after I have restarted apache.

Do we need to create these files through the system or what? It doesn't seem to work when manually creating them.

Please help...

Maart
 
If a given domain does not already have the vhost.conf or vhost_ssl.conf files, then you must create them via SSH root shell login.

You must also make sure the /etc/httpd/conf/httpd.include file has an 'Include' line which will tell Apache to read the contents of these files.

If you look in the httpd.include file, you will see other Include lines for your domains which already have the vhost files, use that as a guideline to do similar Include lines for the new domain.

Or you may want to try having Plesk reconfigure/update the virtual hosts:

/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=domain.com

(Change domain.com to the proper domain name.) If this still does not put the Include lines into httpd.include, then do a manual edit and add them.

Sorry if my replies are slow and rushed, I have been dealing with family matters and a 7.5.3 server that suddenly decided to revert my license key back to the demo 1/1/1/1 key. Bloody hell getting it all set back properly.
 
Awesome!! Another great post...

Hi James,

Thank you very much, it worked like a charm.

Also, I'm not sure about the sorry/apology. You provide us here in the forum with a wealth of knowledge and are quick to respond most if not all of the time with accurate information. I don't know whether this is your official job or not, but I can tell you it is very much appreciated either way.

Good luck with the 7.5.3 licence issues and I hope the day is not to stressfull.

Cheers,
Maart
 
It's not an official job at all. I am in no way affiliated with Plesk or SWSoft, just an ordinary business owner. I usually find time in my 18-22 hr days to visit these forums at least once per day. I have had numerous offers from posters to PayPal me $$, and I won't accept. I do this because I want to.

I just have to be more careful about not posting when I'm dead tired and not reading the posts correctly :D

Stressful? Hahahah. Server crash, emergency transport of family from UK to US, another family emergency in another state, angina pains in my chest, and still working!! This is becoming a 'normal' week for me. Now time to get back on topic...

Thank god for backups! 4PSA Total Backup rules! The hard part is helping the clients get back their changes since the last backup (as always). And still no response from Plesk staff on that issue...hmmmm.

Glad you got your problem solved. And thank you for your kind words.
 
Thanks, James! I hope that all goes well with your family. :)
 
Back
Top