4 ms·
you don't need to do a mod_rewrite thing, btw, just do: <VirtualHost *:80> ServerName whatever.com Redirect permanent / http://www.whatever.com/ </Virtu
by Palomides 11y ago
you don't need to do a mod_rewrite thing, btw, just do:
<VirtualHost *:80>
ServerName whatever.com
Redirect permanent / http://www.whatever.com/
</VirtualHost>
- envy2 11y agoHonestly, if you're running on a simple Apache config, you almost certainly don't need to worry about any of the technical issues the article raises.
- hueving 11y agoIf your service requires scaling because it's expensive dynamic content, then apache could easily be fast enough and not the bottleneck requiring a switch to something else. It doesn't matter if nginx/whatever can handle 1000+ reqs/sec if your app consumes 300MB of ram per request and takes 1 second to process.
- perlgeek 11y agoThat either doesn't redirect "deep" links, or it redirects them to the start page.