Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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

    Jan 29, 2007
    Likes Received:
    Trophy Points:
    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/

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

Share This Page