Can I expect people to have mod_rewrite in order to use any of my plugins?

Danielx64

Developer
Joined
Nov 8, 2009
Messages
3,330
Over the last few days I have been working on creating my own seo link generator, something that I can use in more than one project with very little code changes.

While building this system (and testing it), I been debating if I should make most of my plugins require mod_rewrite in order to work. I understands that VB5 has this requirement.

Is this something that most people should have installed by now?
 

Tracy Perry

Opinionated asshat
Joined
May 25, 2013
Messages
4,991
Is this something that most people should have installed by now?
If you are stuck on Apache then yes.. no such critter for nginx.. it uses try_files (for FURL's) and then certain vhost processes for rewrites.
 

Danielx64

Developer
Joined
Nov 8, 2009
Messages
3,330
If you are stuck on Apache then yes.. no such critter for nginx.. it uses try_files (for FURL's) and then certain vhost processes for rewrites.
So if I wanted to support nginx, then people would have to edit their comfig files?
 

TimWolla

Developer
Joined
Jun 30, 2014
Messages
113
Hi
So if I wanted to support nginx, then people would have to edit their comfig files?
Yeah. nginx does do “dynamic loading of configuration files”, at least not when using stock nginx. To be honest, no one wants to do “dynamic loading of configuration files” in nginx, as it will be dog slow …
 

Tracy Perry

Opinionated asshat
Joined
May 25, 2013
Messages
4,991
So if I wanted to support nginx, then people would have to edit their comfig files?
Depends on what you are doing... it's basically like defining the .htaccess in the vhost definition instead of another file.
I have to have different try_files for my IPS site, my BB site, my XenForo and my WordPress. With WBB I also have to do some other stuff to get it to work reliably.
 

Danielx64

Developer
Joined
Nov 8, 2009
Messages
3,330
So I really need to have a fallback option, and that could be a pain now...
 
Top