500 Internal Server (subfolders)

Discussion in 'Installation/Configuration' started by tbctr, Apr 29, 2016.

  1. tbctr

    tbctr Member

    Server (Debian Wheezy/Sid) Nginx - ISPConfig 3.0.5.4p5.
    One domain Joomla site no problem.
    ( ISPConfig - Options - Nginx directives :
    Code:
    # deny running scripts inside writable directories
           location ~* /(images|cache|media|logs|tmp)/.*\.(php|pl|py|jsp|asp|sh|cgi)$ {
                    return 403;
                    error_page 403 /403_error.html;
           }
    
           location / {
                    try_files $uri $uri/ /index.php?q=$uri&$args;
           }
    
           # caching of files
           location ~* \.(ico|pdf|flv)$ {
                    expires 1y;
           }
    
           location ~* \.(js|css|png|jpg|jpeg|gif|swf|xml|txt|otf|woff)$ {
                    expires 14d;
           }
    
    Open Subfolders added other joomla sites, examples: example.com/oldsites error 500 Internal Server. example.com/oldsites/administrator again error 500 Internal Server. How to edit nginx directives ?
     
  2. sjau

    sjau Local Meanie Moderator

    in ISPC if you got to the website you can add in the advanced tab custom entries. Maybe that works?
     
  3. tbctr

    tbctr Member

    advanced tab ?
    [​IMG]
     
  4. sjau

    sjau Local Meanie Moderator

    yeah, Options what the one I had in mind.
     
  5. tbctr

    tbctr Member

    Already working on a site above settings. Another joomla site upload subfolders (sample www.site.com/oldsite) but not opened error 500 Internal Server
     
  6. tbctr

    tbctr Member

    Problem solved. htaccess deleted, original version htaccess.txt rename .htaccess and seo close then opened site.
     

Share This Page