RE: specification of .htaccess [EXT]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you have that many look at RewriteMap

https://httpd.apache.org/docs/current/rewrite/rewritemap.html

From: Frank Gingras <thumbs@xxxxxxxxxx>
Sent: 26 October 2022 02:42
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] specification of .htaccess [EXT]

 

This is an extremely bad idea. Do you have access to your config files / the root user? If so, edit your vhost, and place your redirects in there instead.

 

Such a large .htaccess file will perform very poorly.

 

Further, avoid using mod_rewrite to redirect unless you have no choice.

 

On Tue, 25 Oct 2022 at 20:07, Yuji_myst <yuji_myst@xxxxxxxxxxx.invalid> wrote:

hello

 

Please tell me the specification of .htaccess.

Place .htaccess in the root directory of the website and set the redirect.

We are considering setting more than 2000 redirects.

Is there a limit on the number of redirect settings or .htaccess file size?

 

I read the .htaccess documentation, but couldn't find any mention of restrictions.

 

Best Regards,

Yuji

 

-- The Wellcome Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux