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!

getpwnam: invalid username

Discussion in 'General Discussion' started by mitul, Feb 15, 2005.

  1. mitul

    mitul Well-Known Member

    Joined:
    Feb 8, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    166
    Hello,

    I am "~XXX" folder created under /home/abc/public_html folder. Whenever I try to access it from browser http://domainname.com/~test/, I receive below error.

    [Tue Feb 10 03:14:51 2005] [error] [client x.x.x.x] getpwnam: invalid username XXX
    [Tue Feb 10 03:14:51 2005] [error] exec of /home/abc/public_html/~XXX/index.php failed
    [Tue Feb 10 03:14:51 2005] [error] [client 203.193.163.74] Premature end of script headers: /home/abc/public_html/~XXX/index.php

    Is it so that I cannot create folders starting with '~' sign?

    Thank you,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    You would have to disable mod_userdir to be able to do that in WHM > Tweak Security
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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