1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

httpd.include rewrite fix?

Discussion in 'Plesk for Linux - 8.x and Older' started by icwiz, Feb 12, 2006.

  1. icwiz

    icwiz Guest


    I think I figured out how to rewrite the httpd.include file permanently.

    In the httpd start up script, there is an entry to rewrite the httpd.include with a backup.

    So i copied my changed version of the httpd.include over the httpd.include.bak.

    Now after restarting plesk and httpd, the settings are still there.

    I was wonder if anyone else has done this too. Or if I'm mistaken in thinking that this will be permanent.

    I also noticed that there is an original being kept in the same directory "orig.httpd.include"


    P.S. This is Plesk 7.5.4
  2. Who-m3

    Who-m3 Guest

    Why are you not utilizing the vhost.conf feature instead of forcing your httpd.include to stay the same. httpd.include will change with any changes to the site config (through the control panel). Forcing it to use the same one regardless can cause problems. Utilizing the vhost.conf feature of plesk will allow you to have certain things remain the same while others are changable by the user. Useful for security/other reasons, depending on your setup...