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.

Skeleton Directory

Discussion in 'General Discussion' started by jameshsi, Jul 5, 2002.

  1. jameshsi

    jameshsi Well-Known Member

    Joined:
    Oct 22, 2001
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Can I use any veriables in Skeleton Directory ?
    If I want the default page have client's domain name, how should I do ?
     
  2. ecoutez

    ecoutez Well-Known Member

    Joined:
    May 23, 2002
    Messages:
    152
    Likes Received:
    0
    Trophy Points:
    0
    Hmm, not exactly what you wanted, but this should work...

    I think that the skel directory gets copied directly, so I'm not sure if you could apply a variable to make the destination file dynamic. You could use an SSH in a .shtml file like:
    Welcome to & !--#echo var=&SERVER_NAME& -- & (and kill the extra spaces I had to use so this would show in the forum)

    I'd be curious to see what better solutions folks are using.

    - Jason
     
  3. jameshsi

    jameshsi Well-Known Member

    Joined:
    Oct 22, 2001
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Ya, It works.

    Thanks.
     
Loading...

Share This Page