Mobile app version of vmapp.org
Login or Join
Harper822

: Enable keepalive on apache 301 redirect pages I want to make it so that every website on the server I manage (including my own website) will enable keep-alive on all (HTTP status 301) redirect

@Harper822

Posted in: #301Redirect #Connections #Keepalive #ModRewrite #Redirects

I want to make it so that every website on the server I manage (including my own website) will enable keep-alive on all (HTTP status 301) redirect pages including ones issued by apache modules.

This means when I try to get the headers of the page, I should see connection: keep-alive in the header.

Is there a special setting in apache I could use for this? using mod_rewrite would cause me to rescript all my rules but it wouldn't help with apache's mod_dir because someone trying to access a folder without the correct number of slashes will be redirected and mod_rewrite can't control that.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Harper822

1 Comments

Sorted by latest first Latest Oldest Best

 

@Miguel251

you can try to add header

Header set Connection keep-alive



Context: server config, virtual host, directory, .htaccess


Link to official doc : mod_headers

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme