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.

How do I edit user htaccess & get domain file path within cPanel Plugin

Discussion in 'cPanel Developers' started by dansgalaxy, Dec 28, 2010.

  1. dansgalaxy

    dansgalaxy Well-Known Member

    Joined:
    Jan 29, 2007
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Reading, UK
    cPanel Access Level:
    Root Administrator
    I am trying to knock up a Web forwarding plugin to provide some advanced domain control options to domain only clients in particular..

    For this I need to create/edit files within the domain path (eg. /home/user/public_html/ or /home/user/public_html/mydomain.com/)

    So how can I grab the url for a selected domain and whats the best way to edit files?
     
Loading...

Share This Page