Charlie J Active member Sep 26, 2015 #1 Hey, Im planning on moving from Apache to Nguix as its far better in my opinion. is there anything i need to do to my xenforo files for switching? any permissions etc
Hey, Im planning on moving from Apache to Nguix as its far better in my opinion. is there anything i need to do to my xenforo files for switching? any permissions etc
Sheratan Well-known member Sep 26, 2015 #2 make sure nginx run as the same user as apache. If nobody:nobody runs apache then nobody:nobody runs nginx. You may need to tweak php for your need. there is no need to change any setting in xenforo Upvote 0 Downvote
make sure nginx run as the same user as apache. If nobody:nobody runs apache then nobody:nobody runs nginx. You may need to tweak php for your need. there is no need to change any setting in xenforo
bailer Member Sep 29, 2015 #3 I did the same. Going back to apache after 3 months. Runs fast but apt get keeps re writing my conf. Plus friendly urls has been tough to get going. Not my flavour. I miss my .htaccess. Not much support around for nginx either. IMO. Upvote 0 Downvote
I did the same. Going back to apache after 3 months. Runs fast but apt get keeps re writing my conf. Plus friendly urls has been tough to get going. Not my flavour. I miss my .htaccess. Not much support around for nginx either. IMO.
Sheratan Well-known member Sep 29, 2015 #4 Are you sure? I use nginx and apt upgrade never rewrite my conf. Are you using debian or ubuntu? The only thing apt has change my conf when I upgrade from 1.6 to 1.8 (I backup my conf first before upgrade) Upvote 0 Downvote
Are you sure? I use nginx and apt upgrade never rewrite my conf. Are you using debian or ubuntu? The only thing apt has change my conf when I upgrade from 1.6 to 1.8 (I backup my conf first before upgrade)
Charlie J Active member Oct 10, 2015 #5 Sorry for Bump, I switched now however i get 404 not found Any .htaccess file i can use for Xenforo? for friendly urls Upvote 0 Downvote
Sorry for Bump, I switched now however i get 404 not found Any .htaccess file i can use for Xenforo? for friendly urls
P Paul B XenForo moderator Staff member Oct 10, 2015 #6 Rename the default htaccess.txt file to .htaccess. Upvote 0 Downvote
Charlie J Active member Oct 10, 2015 #7 i went back to apache, nginx was aweful, but i get this error with default .htaccess The following error occurred: Not Found The requested URL /community/login/ was not found on this server. Upvote 0 Downvote
i went back to apache, nginx was aweful, but i get this error with default .htaccess The following error occurred: Not Found The requested URL /community/login/ was not found on this server.
R rdn Well-known member Oct 10, 2015 #8 Add this XenForo specific Nginx Config to your vhost: https://xenforo.com/help/friendly-urls/ Upvote 0 Downvote
P Paul B XenForo moderator Staff member Oct 10, 2015 #10 https://xenforo.com/help/friendly-urls/ Upvote 0 Downvote
R rdn Well-known member Oct 10, 2015 #11 Charlie J said: The requested URL /community/login/ was not found on this server. Click to expand... You have to un-comment the rewritebase for this I guess, not an apache user. Upvote 0 Downvote
Charlie J said: The requested URL /community/login/ was not found on this server. Click to expand... You have to un-comment the rewritebase for this I guess, not an apache user.
Charlie J Active member Oct 10, 2015 #12 brogan i tried the default config it didnt do anything Upvote 0 Downvote
P Paul B XenForo moderator Staff member Oct 10, 2015 #13 Read the link I posted. Server configuration is required. Upvote 0 Downvote