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!

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?
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice