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

Apache question

Discussion in 'Plesk for Linux - 8.x and Older' started by PedstersPlanet, Nov 10, 2005.

  1. PedstersPlanet

    PedstersPlanet Guest

    0
     
    Is it possible to make the ServerName to have a www. infront of the domain name by default, and just the domain name as the alias without the www.?
    The reason is that some of my php scripts have keys, these need the www. infront of the ServerName.... I can manually edit the httpd.include file, but if Iadd a sub-domain in Plesk, it reverts back to the non www.......
    Can this be done? In SSH?

    Thanks
     
  2. PedstersPlanet

    PedstersPlanet Guest

    0
     
    Is this the wrong forum, or does no-one know or understand my question. :)
     
  3. ShadowMan@

    ShadowMan@ Guest

    0
     
    The forum is correct, it is just that Plesk is setup to do it the other way around, there is no easy fix to do the reverse as you wish, other than manually editing the apache files as you have already done.

    And as you have already found out, anytime there are domain/subdomain changes done in Plesk, the apache conf files are overwritten.
     
  4. PedstersPlanet

    PedstersPlanet Guest

    0
     
    Thanks..Maybe this could be a future (root user) feature, per domain or globally - .....

    Anyway, thanks again....
     
Loading...