Results 1 to 5 of 5

Thread: Horde problem with nginx installed trought cpnginx

  1. #1
    Member
    Join Date
    May 2003
    Location
    Acequias :: Granada :: España
    Posts
    210
    cPanel/WHM Access Level

    DataCenter Provider

    Question Horde problem with nginx installed trought cpnginx

    Well.

    On servers with nginx, Cpnginx installed through, we have a problem when accessing via proxy Horde, webmail <domaincustomer>.<tld>

    All work except horde.

    In firefox we have seen that the call to http://webmail.<domaincustomer>.<tld>/horde/index.php server generates a response to a malformed URL.

    http://:8888/horde/login.php

    We have tried to help the developer but his professionalism is simply that it is a known issue (You will not find information about it, and neither wants to provide it), and that is Horde.

    Well, if we disable horde nginx works perfectly, if enabled, does not work.

    Anyone have a similar problem and know? Know where information?

  2. #2
    d_t
    d_t is offline
    Member
    Join Date
    Sep 2003
    Location
    Bucharest
    Posts
    239

    Default Re: Horde problem with nginx installed trought cpnginx

    Same problem. Replace in /usr/local/cpanel/base/horde/config/conf.php line 15
    Code:
    $conf['server']['port'] = $_SERVER['SERVER_PORT']==8081?80:$_SERVER['SERVER_PORT'];
    Mine Nginx port is 8081, if you use 8888 just change the value above. The problem is that this change has to be made again on next update for horde.
    Joomla & Magento cPAddons
    Joomla 2.x added as cPanel Addon (free)

  3. #3
    Member
    Join Date
    May 2003
    Location
    Acequias :: Granada :: España
    Posts
    210
    cPanel/WHM Access Level

    DataCenter Provider

    Default Re: Horde problem with nginx installed trought cpnginx

    I uses 8888 by default install nginx.

    But after put code (and restart cpanel)
    Code:
    $conf['server']['port'] = $_SERVER['SERVER_PORT']==8888?80:$_SERVER['SERVER_PORT'];
    Get a diferent error.

    A LOST OF THANKS FOR YOUR HELP.

  4. #4
    d_t
    d_t is offline
    Member
    Join Date
    Sep 2003
    Location
    Bucharest
    Posts
    239

    Default Re: Horde problem with nginx installed trought cpnginx

    I'm using Nginx Admin - cPanel nginx automated installer Plugin not cpnginx - maybe that's why is a different port and error.

    In your case, looks like not only the port was wrong (like in mine), but also the hostname, that should be stored in $_SERVER['SERVER_NAME']. Use phpinfo(32) or print_r($_SERVER) inside config.php script to see where is stored the real hostname. Then change the line $conf['server']['name'] according to this.
    Joomla & Magento cPAddons
    Joomla 2.x added as cPanel Addon (free)

  5. #5
    Member
    Join Date
    May 2003
    Location
    Acequias :: Granada :: España
    Posts
    210
    cPanel/WHM Access Level

    DataCenter Provider

    Default Re: Horde problem with nginx installed trought cpnginx

    I'm using the same.

    Try your say..

Similar Threads

  1. Replies: 6
    Last Post: 08-19-2011, 03:38 AM
  2. cPnginx
    By HVH - George in forum Optimization
    Replies: 0
    Last Post: 07-23-2011, 03:48 PM
  3. cPanel Bandwidth problem with nginx
    By yilyum28 in forum Optimization
    Replies: 0
    Last Post: 03-24-2011, 08:24 AM
  4. Mail access trought mobilephone
    By mifaweb in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 09-14-2005, 06:24 AM

Tags for this Thread