ISPConfig - modification of Apache Apache Directives

Discussion in 'General' started by Vulkanosaure, Dec 9, 2020.

  1. Vulkanosaure

    Vulkanosaure New Member

    Hi everyone,

    i was trying to setup my website to redirect :
    - http to https
    - www to non-www

    As the redirect www . domain . ltd => domain . ltd configuration (in SEO redirect) didn't work, i tried to Apache Directives.
    I got the http redirection to work, but not the www.
    After copy pasting a bunch of things which didn't work, i realized that the modification i did in Apache Directives were not taken into account anymore. Even if i removed some previously added important config (which would normally break everything), the website kept working normally.

    I made sure that my cloudflare was in development mode (no cache).
    Any idea of a scenario in which modifications added (or removed) from Apache Directives would be ignored ?

    Thanks in advance.
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Vulkanosaure likes this.
  3. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    I do not think it is necessary to make changes at CF as you only need changes to vhost at your web server level and that can be done via ISPConfig website settings, however, you should check your vhost for its error file if the directives you set up are not working.
  4. Vulkanosaure

    Vulkanosaure New Member

    thanks, i tried with the cloudflare solution and it worked though, but i agree that ideally, a configuration on ispconfig side sounds cleaner
  5. Vulkanosaure

    Vulkanosaure New Member

    Thanks, it worked !

Share This Page