Hello! I just trasferred everything to DigitalOcean a week ago, 2 wordpress blogs and a phpbb forum and switched from Apache to Nginx. I had no problem to create the proper Server Block to rewrite urls for wordpress, but I’m having some problem with the PHPBB forum. I tried to convert the .htaccess to nginx, but no success. I get 404 Page Not Found.
Here’s the Server Block: http://pastebin.com/1wHL3LcA (without the converted .htaccess) Here’s the .htaccess I used on Apache: http://pastebin.com/8cQLxVsA
Any suggestion? Thanks.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
As far as I know, Apache has mods that Nginx doesn’t. I assume you’d need mod_rewrite, so you’d probably have to write your own or find an Nginx one that’s not in a business environment so someone would share it. Apache is so much simpler in this context, I’d recommend swapping back.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.