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.

Users can't upload .htaccess.

Discussion in 'General Discussion' started by Xoopiter-Craig, May 20, 2005.

  1. Xoopiter-Craig

    Xoopiter-Craig Registered

    Joined:
    May 20, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    Recently after our cPanel got upgraded users have not been able to upload .htaccess files.

    In FileZilla it just says Error: Upload failed and in SmartFTP it says 553 Prohibited file name: .htaccess.

    It is in the allowed files list so I don't see what the problem is.

    We are using Pure FTP and xPanel.

    Thanks,
    Xoopiter-Craig.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Hmm, just tested this using FlashFXP to a server using pure-ftpd with a default configuration file and it worked OK.

    Just tried it with a fresh install of FileZilla and it worked fine too. Have you checked that you haven't changed the following in /etc/pure-ftpd.conf:

    ProhibitDotFilesWrite no
    ProhibitDotFilesRead no
     
  3. PlanetHosted

    PlanetHosted Member

    Joined:
    Apr 2, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    They are set to no:

    Code:
    # Users can't delete/write files beginning with a dot ('.')
    # even if they own them. If TrustedGID is enabled, this group
    # will have access to dot-files, though.
    
    ProhibitDotFilesWrite       no
    
    
    
    # Prohibit *reading* of files beginning with a dot (.history, .ssh...)
    
    ProhibitDotFilesRead        no
    
     
  4. EMS

    EMS BANNED

    Joined:
    May 10, 2003
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    0
    Having same problem on one server. Config file is fine.

    Edit. reinstalled pure-ftp = fixed.
     
    #4 EMS, Sep 14, 2005
    Last edited: Sep 14, 2005
Loading...

Share This Page