1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice


Discussion in 'Plesk for Linux - 8.x and Older' started by epretorious, Aug 12, 2005.

  1. epretorious

    epretorious Guest

    I noticed the warning the head of the /home/httpd/vhosts/yourdomain.com/conf/httpd.include file...
    ...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?
  2. epretorious

    epretorious Guest

    Even when I add...
    ...to /home/httpd/vhosts/yourdomain.com/conf/httpd.include and ...
    ...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.)
  3. dotnet

    dotnet Guest

    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...

  4. jamesyeeoc

    jamesyeeoc Guest

    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.
  5. dotnet

    dotnet Guest

    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.

  6. jamesyeeoc

    jamesyeeoc Guest

    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.
  7. epretorious

    epretorious Guest

    Thanks, James! I hope that all goes well with your family. :)