Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 16 Mar 2016, 13:34
EvilArcana EvilArcana is offline
 
Join Date: Jul 2007
Real name: Robbie
nginx rewrite to fix broken links left by uninstalling vbseo?

I had vbseo installed, and uninstalled it because it quit working a while back and then I discovered they abandoned the project. I'm not up to date on all the issues with that, but I'm running 4.2.3 and have a LOT of php errors that seem to be related to links to attachments that were handled by vbseo rewrites.

for example...I have a link that looks like this: http://www.cartographersguild.com/at...-maps-gimp.pdf which generates a 404. obviously, because the attachments folder is not based on the sub-forum url rewrites.

Has anyone created an nginx .conf that fixes the attachments links broken by vbseo uninstall? Is there a comprehensive vbseo link fixer nginx conf? Help!!!

Thanks

--------------- Added 16 Mar 2016 at 13:39 ---------------

I wanted to mention, I'm seeing a lot of errors in my error.log and php eventually crashes from what I can tell...I keep getting 502 errors because of all the errors.

here's an example...also based on the attachments rewrite from vbseo.

2016/03/16 06:37:17 [error] 12933#0: *5931 open() "/home/cartographers/cartographersguild.com/attachments/general-miscellaneous-mapping/56561d1375393066-[wip-]-grass-forest-maps-forest-wip-1.png" failed (2: No such file or directory), client: 194.199.63.239, server: cartographersguild.com, request: "GET /attachments/general-miscellaneous-mapping/56561d1375393066-%5Bwip-%5D-grass-forest-maps-forest-wip-1.png HTTP/1.1", host: "www.cartographersguild.com"
Reply With Quote
  #2  
Old 18 Mar 2016, 01:04
EvilArcana EvilArcana is offline
 
Join Date: Jul 2007
Real name: Robbie
Anybody have any thoughts?
Reply With Quote
  #3  
Old 18 Mar 2016, 15:24
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
There are a number of threads that give rewrites for removing vbseo for forums using apache. Find one of those and adapt the rewrite rules to the syntax that nginx requires.
Reply With Quote
  #4  
Old 20 Mar 2016, 01:44
EvilArcana EvilArcana is offline
 
Join Date: Jul 2007
Real name: Robbie
I didn't think to omit nginx from my search keywords...thanks...looking around I can only find rewrites for threads...not for attachments. My threads are working for the most part, I just need to fix the broken attachment links now.

--------------- Added 20 Mar 2016 at 01:45 ---------------

As a matter of fact...was vbseo responsible for adding the forum name in the attachment path or could that have been from something else?
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 18:46.

Layout Options | Width: Wide Color: