The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Custom include applying to all virtualhosts

Discussion in 'General Discussion' started by morefx, Jul 26, 2013.

  1. morefx

    morefx Registered

    Joined:
    Jun 14, 2013
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    I am looking for a convenient way to include some custom Apache RewriteRules to all (existing and newly created) virtualhosts.

    In stead of including the rules in /usr/local/apache/conf/userdata/std/2/ for every account, I'd rather have a single location to manage the rules which apply to all virtualhosts.

    What's the cPanel way of doing this (e.g. being compatible with /scripts/rebuildhttpdconf)?

    Regards
    Chris
     
  2. morefx

    morefx Registered

    Joined:
    Jun 14, 2013
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Perfect!
    Thx! Chris
     
Loading...

Share This Page