ASTRAPI Posted August 17, 2011 Share Posted August 17, 2011 Hello I just test an nginx + MariaDB + php+fpm setup and i was install to test invision forum. But the index is working:http://109.236.80.227/ When i click to read a topic or anything else i get 404 not found. I am sure that i did correct the installation of invision as it is very easy to follow... Any ideas? Thank you Link to comment Share on other sites More sharing options...
ensoph Posted August 17, 2011 Share Posted August 17, 2011 works fine as far as i can see. Link to comment Share on other sites More sharing options...
ASTRAPI Posted August 18, 2011 Author Share Posted August 18, 2011 Ok i got it working : I just uncomment this: try_files $uri $uri/ /index.php; But is this correct?http://109.236.80.227/index.php/forum/2-a-test-forum/ The index.php there? Thank you Link to comment Share on other sites More sharing options...
CrossFire-Radio Posted August 18, 2011 Share Posted August 18, 2011 Yes, that is correct.. Unless you turn on FURL Link to comment Share on other sites More sharing options...
ASTRAPI Posted August 18, 2011 Author Share Posted August 18, 2011 Yes i have on the FURL on the config file: $INFO['use_friendly_urls'] = '1'; Link to comment Share on other sites More sharing options...
Rhett Posted August 27, 2011 Share Posted August 27, 2011 It's a setting in the admincp, you also need to use an .htaccess file for re-directs. It explains it in the settings. Link to comment Share on other sites More sharing options...
ensoph Posted August 31, 2011 Share Posted August 31, 2011 It's a setting in the admincp, you also need to use an .htaccess file for re-directs. It explains it in the settings. nginx doesn't use (for performance reasons) .htaccess files: since you don't need to parse .htaccess files every time there's a request, but you store rewrites in the RAM-stored nginx configuration, there's a (significant enough) speed gain. however, he needs to enable "Use .htaccess mod_rewrite" in the SEO settings for friendly URLs to work properly. the "try files" configuration should cover the rewritepart without needing to do anything else. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.