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.

Timezone for Specific Account?

Discussion in 'General Discussion' started by xxkylexx, Mar 6, 2007.

  1. xxkylexx

    xxkylexx Well-Known Member

    Joined:
    Apr 29, 2006
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    Hey guys,
    Is there any way to set a timezone for a specific account that differs from the overall server timezone? I have a client in the UK that is complaining about his "last modified" times on files in FTP being off due to the server time (EST) being different than his own (GMT). He claimed his previous host did this for him, but I don't see how?

    Thanks,
    Kyle
     
  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
    You can't set a different timezone on the server itself. It may be possible to set a different timezone within the FTP server configuration, but I doubt you'd be able to do it with pure-ftpd (you'd have to check their site). It may be possible with proftpd as it is far more configurable that pure-ftpd but then you'd be stepping outside of the standard cPanel setup. Some FTP clients allow you to configure a timezone offset and that would probably be the better solution.
     
  3. bmcpanel

    bmcpanel Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    546
    Likes Received:
    0
    Trophy Points:
    16
    This will work for http... not sure if it affects ftp.

    Open the file...

    /www/.htaccess

    Inside that file, place the following....
    --- cut below this line ---

    SetEnv TZ America/Atlanta

    --- Cut above this line ---

    Replace "America/Atlanta" with the actual country,continent, city or timezone the user is in.

    Hope this helps.
     
  4. DigiCrime

    DigiCrime Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    399
    Likes Received:
    0
    Trophy Points:
    16
    does tzselect not work by appending the zone to your bash_profile ?
     
Loading...

Share This Page