阿帕奇的.htaccess VS httpd的 - 它真的重要吗? [英] Apache .htaccess vs httpd - does it really matter?

查看:251
本文介绍了阿帕奇的.htaccess VS httpd的 - 它真的重要吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这个问题已经被问了很多次,我已经研究了它自己在谷歌以及但就是无法拿出我所需要的答案。

I know this question has been asked many times and I've researched it myself on Google as well but just can't come up with the answer I need.

我的托管公司不让我使用的httpd配置文件,而是要我使用的.htaccess。我不是一个服务器管理员,但我相信,有使用此文件影响性能?我有一个网站约500万页每月视图和它的增长。我没有很多重写规则只是一些优化,我们做服务于网页的速度更快,mod_deflate模块,缓存等。

My hosting company is NOT letting me use the httpd config file, instead it wants me to use .htaccess. I am not a server admin but I have to believe that there is a performance hit for using this file? I have a site with approx 5 million page views a month and it's growing. I do not have a lot of rewrite rules just some optimizations we make to serving pages faster ,mod_deflate, caching, etc.

假设有一个性能命中,我的问题是,如何不好会是在我的网站?能的.htaccess处理一些重写规则第15万的页面访问量?我怎么能测试,如果我想?

Assuming there is a performance hit, my question is, how bad will it be on my site? Can .htaccess handle 5 million page views with some rewrite rules? How would I be able to test this if I wanted to?

感谢。

推荐答案

好了,就我所知,性能相差negilible,comparred以用于任何公司在使用的.htaccess的计算时间。对于什么是它的价值,我已经通过具有的.htaccess 文件看到任何可测量的差异。

Well, to my knowledge, the performance difference is negilible, comparred to the computing time used for whatever's used in the .htaccess. For what's it's worth, I've seen no measurable difference by having a .htaccess file.

这篇关于阿帕奇的.htaccess VS httpd的 - 它真的重要吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆