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.

secure way to access the /frontend/ folder

Discussion in 'User Experience' started by Roy@ENHOST, Jun 20, 2003.

  1. Roy@ENHOST

    Roy@ENHOST Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    495
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Los Angeles California
    Hi guys is there any safe and secure way to allow one of my reseller to access the /usr/local/cpanel/base/frontend/ folder?

    cPanel.net Support Ticket Number:
     
  2. HostIt

    HostIt Well-Known Member

    Joined:
    Feb 22, 2003
    Messages:
    151
    Likes Received:
    1
    Trophy Points:
    18
    If you're wanting to have them alter a theme, the easiest way is to put it within their root directory and then create a symlink in /usr/local/cpanle/base/frontend to it.

    cPanel.net Support Ticket Number:
     
  3. Roy@ENHOST

    Roy@ENHOST Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    495
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Los Angeles California
    Re: Re: secure way to access the /frontend/ folder

    Thanks a million

    cPanel.net Support Ticket Number:
     
  4. Chase

    Chase Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    109
    Likes Received:
    0
    Trophy Points:
    16
    Creating the link would allow the customers to have there own themes within there folders and to keep them updated etc.

    cPanel.net Support Ticket Number:
     
  5. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    Re: Re: secure way to access the /frontend/ folder

    What is the command to create a symlink? How about to delete one?

    cPanel.net Support Ticket Number:
     
  6. n1zyy

    n1zyy Member

    Joined:
    Mar 16, 2003
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    To create a symbolic link:

    ln -s original_file linkname

    Deleting it is just as you'd do on a normal file (make sure you delete "linkname" and not the original :))

    rm linkname
    (NOT rm original_file unless you want to truly delete the file)

    cPanel.net Support Ticket Number:
     
  7. Chase

    Chase Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    109
    Likes Received:
    0
    Trophy Points:
    16
    For an example


    cd /usr/local/cpanel/base/frontend/

    ln -s x2 /usr/local/cpanel/base/frontend/Xskin

    correct me guys if I'm wrong :D..

    cPanel.net Support Ticket Number:
     
  8. rbmatt

    rbmatt Well-Known Member

    Joined:
    Oct 21, 2002
    Messages:
    212
    Likes Received:
    0
    Trophy Points:
    16
    Yea, but it should fail if the Xskin directory is still there.
    Also, to stay in the same directory you can use ./ instead of having to type the whooole path again
    ex ln -s x2 ./Xskin

    cPanel.net Support Ticket Number:
     
  9. Chase

    Chase Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    109
    Likes Received:
    0
    Trophy Points:
    16
    Right. I knew that.

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page