Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Mar 2002
    Posts
    48

    Default .htaccess in /home/username ???

    Maybe I'm just remembering incorrectly, but I don't think I've ever seen an .htaccess file in /home/username affect the web contents in /home/username/public_html before. But right now I see that it is, atleast for one client on our systems.

    I thought the .htaccess file belonged in public_html to protect anything in there and below it. (I know the .htaccess settings filter *down* from public_html into subfolders if there is no .htaccess in those subfolders).. but an .htaccess in /home/username? Am I mistaken and it's always worked like this, or has this recently changed?

  2. #2
    Registered User
    Join Date
    Dec 2007
    Posts
    3

    Default

    Hello,

    Some clients used an .htaccess file in /home/username to exceed the uplading file size !
    They writing in it this code :
    PHP Code:
    php_value upload_max_filesize "10M" 
    The value "10M" may changed by the user as he wants

    So check the contents of the .htaccess in /home/username .


    thank you.

  3. #3
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    The closer to / the .htaccess file is, the higher precedence is given its contents. cPanel in particular uses ~/.htaccess for a few things. Setting the specific PHP handler for the account, for example.

Similar Threads & Tags
Similar threads

  1. Replies: 3
    Last Post: 12-20-2010, 06:46 AM
  2. Improper permission on /home/username
    By verdon in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-09-2009, 11:51 PM
  3. /home/username/mail/cur
    By erinspice in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-11-2007, 04:17 PM
  4. /home/username/etc/,passwd, ????
    By johnjacky in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-03-2004, 02:24 PM
  5. /home/username/.trash
    By Craig in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-05-2002, 09:23 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube