Learn about Centmin Mod LEMP Stack today
Register Now

vBulletin Problem With Redirect loop

Discussion in 'Forum software usage' started by Cr0w, Apr 5, 2015.

  1. Cr0w

    Cr0w Member

    165
    9
    18
    Mar 17, 2015
    Iran
    Ratings:
    +13
    Local Time:
    9:21 PM
    1.9.x
    5.5
    i remove this lines

    Code:
         
     location ~* \.(php)$
            {
                    fastcgi_index index.php;
                    fastcgi_pass unix:/var/run/php5-fpm.sock;
                    include /usr/local/nginx/conf/fastcgi_params;
                    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_nam$
                    fastcgi_param   SCRIPT_NAME        $fastcgi_script_name;
                    fastcgi_param PATH_TRANSLATED $document_root$fastcgi_script_nam$
    fastcgi_param PATH_TRANSLATED $document_root$fastcgi_script_nam$
            }
    
    but nothing changed :((
     
  2. Cr0w

    Cr0w Member

    165
    9
    18
    Mar 17, 2015
    Iran
    Ratings:
    +13
    Local Time:
    9:21 PM
    1.9.x
    5.5
    include /usr/local/nginx/conf/php.conf; remove this line ?
     
  3. Cr0w

    Cr0w Member

    165
    9
    18
    Mar 17, 2015
    Iran
    Ratings:
    +13
    Local Time:
    9:21 PM
    1.9.x
    5.5
    http://0up.ir/do.php?imgf=d_6fb8b.png

    see this image

     
  4. eva2000

    eva2000 Administrator Staff Member

    45,448
    10,313
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,997
    Local Time:
    3:51 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    remove that and you break all PHP functionality in Centmin Mod Nginx.
     
  5. eva2000

    eva2000 Administrator Staff Member

    45,448
    10,313
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,997
    Local Time:
    3:51 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
  6. Cr0w

    Cr0w Member

    165
    9
    18
    Mar 17, 2015
    Iran
    Ratings:
    +13
    Local Time:
    9:21 PM
    1.9.x
    5.5
    if Without modify .htaccess file on apache

    there is nginx.conf on nginx webserver

    then why have problem with redirect ? :|
     
  7. eva2000

    eva2000 Administrator Staff Member

    45,448
    10,313
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,997
    Local Time:
    3:51 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    pretty sure is you misconfigured and doubled up with inclusion of /home/nginx/domains/forums.mashtyha.com/public/nginx.conf

    the last output you posted of /home/nginx/domains/forums.mashtyha.com/public/nginx.conf was within nano/text editor so cut of word wrapped text so can you post output via cat command

    Code:
    cat /home/nginx/domains/forums.mashtyha.com/public/nginx.conf
    honestly I don't provide free support for such things but curious what you have set
     
  8. eva2000

    eva2000 Administrator Staff Member

    45,448
    10,313
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,997
    Local Time:
    3:51 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    same with yourdomain.com.conf use cat to post output to make sure you don't cut of non-wrapped lines in text editor

    Code:
    cat /usr/local/nginx/conf/conf.d/forums.mashtyha.com.conf