Announcement

Collapse
No announcement yet.

Impossibile login in Admincp (404)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Bug / Issue] Impossibile login in Admincp (404)

    Hi all.
    I have a problem after the first installation of Vbulletin. I correctly followed the installation guides on Nginx server and the forum is well visible while it is impossible to access the admincp reserved area because I receive the 404 Not Found error.
    1. vBulletin Version 5.4.3
    2. PHP Version 7.1
    3. MySQL Version 5.6
    4. Any Addons installed no
    5. Does the issue occur in a default style? yes
    6. Does the issue occur using the English language provided? Yes
    7. Error message on the screen' 404 Not Found
    8. Browser and Browser version used. Chrome last version
    9. Did you clear the browser cache and did the error continue? Yes I try on other browser
    10. A list of steps that can be used to recreate the issue. login in admincp
    11. If the issue is an Invalid Server response, the web server and PHP logs that correspond with its timestamp. No logs on server with this error
    This is the site https://politica.terradinessuno.it/
    Last edited by Ivan Lapicirella; Sun 29 Jul '18, 8:14am.

  • #2
    For nginx servers, you need to use a vhosts file.
    Please follow these instructions:
    https://www.vbulletin.com/docs/html/...arefiles_nginx
    MARK.B | vBULLETIN SUPPORT

    TalkNewsUK - My vBulletin 5.6.4 Demo
    AdminAmmo - My Cloud Demo

    Comment


    • #3
      sorry
      Last edited by Ivan Lapicirella; Sun 29 Jul '18, 6:53am.

      Comment


      • #4
        You will need to use the additional configuration we have provided as per the link in my earlier post.
        MARK.B | vBULLETIN SUPPORT

        TalkNewsUK - My vBulletin 5.6.4 Demo
        AdminAmmo - My Cloud Demo

        Comment


        • #5
          Originally posted by Mark.B View Post
          For nginx servers, you need to use a vhosts file.
          Please follow these instructions:
          https://www.vbulletin.com/docs/html/...arefiles_nginx

          I added the piece of code related to admincp with the code on your site.

          server {
          server_name forum.xxx.it;
          listen xxxxxxxxxx:80;
          rewrite ^/(.*) https://forum.xxx.it/$1 permanent;
          }
          server {
          server_name https://forum.xxx.it;
          listen xxx.xxx.xxx.xxx;
          root /home/xxx/domains/forum.xxx.it/public_html;
          index index.html index.htm index.php;
          access_log /var/log/virtualmin/forum.xxx.it_access_log;
          error_log /var/log/virtualmin/forum.xxx.it_error_log;
          fastcgi_param GATEWAY_INTERFACE CGI/1.1;
          fastcgi_param SERVER_SOFTWARE nginx;
          fastcgi_param QUERY_STRING $query_string;
          fastcgi_param REQUEST_METHOD $request_method;
          fastcgi_param CONTENT_TYPE $content_type;
          fastcgi_param CONTENT_LENGTH $content_length;
          fastcgi_param SCRIPT_FILENAME /home/xxx/domains/forum.xxx.it/public_html$fastcgi_script_name;
          fastcgi_param SCRIPT_NAME $fastcgi_script_name;
          fastcgi_param REQUEST_URI $request_uri;
          fastcgi_param DOCUMENT_URI $document_uri;
          fastcgi_param DOCUMENT_ROOT /home/xxx/domains/forum.xxx.it/public_html;
          fastcgi_param SERVER_PROTOCOL $server_protocol;
          fastcgi_param REMOTE_ADDR $remote_addr;
          fastcgi_param REMOTE_PORT $remote_port;
          fastcgi_param SERVER_ADDR $server_addr;
          fastcgi_param SERVER_PORT $server_port;
          fastcgi_param SERVER_NAME $server_name;
          fastcgi_param HTTPS $https;
          location ~ \.php$ {
          try_files $uri =404;
          fastcgi_pass localhost:8002;
          }
          # configuration rules
          # legacy css being handled separate for performance
          location = /css\.php {
          rewrite ^ /core/css.php break;
          }

          # make install available from presentation
          location ^~ /install {
          rewrite ^/install/ /core/install/ break;
          }

          # any request to not existing item gets redirected through routestring
          location / {
          if (!-f $request_filename) {
          rewrite ^/(.*)$ /index.php?routestring=$1 last;
          }
          }

          # make admincp available from presentation
          location ^~ /admincp {
          if (!-f $request_filename) {
          rewrite ^/admincp/(.*)$ /index.php?routestring=admincp/$1 last;
          }
          }

          # process any php scripts, not found gets redirected through routestring
          location ~ \.php$ {
          # handles legacy scripts
          if (!-f $request_filename) {
          rewrite ^/(.*)$ /index.php?routestring=$1 break;
          }

          fastcgi_split_path_info ^(.+\.php)(.*)$;
          #fastcgi_pass php5;
          fastcgi_index index.php;
          # fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
          include fastcgi_params;
          # fastcgi_param QUERY_STRING $query_string;
          # fastcgi_param REQUEST_METHOD $request_method;
          # fastcgi_param CONTENT_TYPE $content_type;
          #fastcgi_param CONTENT_LENGTH $content_length;
          fastcgi_intercept_errors on;
          fastcgi_ignore_client_abort off;
          fastcgi_connect_timeout 60;
          fastcgi_send_timeout 180;
          fastcgi_read_timeout 180;
          fastcgi_buffers 256 16k;
          fastcgi_buffer_size 32k;
          fastcgi_temp_file_write_size 256k;
          }
          rewrite /css.php$ /core/css.php last;
          rewrite /sprite.php$ /core/sprite.php last;
          listen xxxxxxxxxx:443 ssl http2;
          ssl_certificate /home/xxx/domains/forum.xxx.it/ssl.combined;
          ssl_certificate_key /home/xxx/domains/forum.xxx.it/ssl.key;
          }
          Last edited by Ivan Lapicirella; Sun 29 Jul '18, 7:25am.

          Comment

          Related Topics

          Collapse

          Working...
          X