Solved

Alternative to .htaccess redirect.. it's too slow!

Posted on 2006-11-30
1
476 Views
Last Modified: 2010-03-04
I've read that .htaccess takes pretty long because it has to read it 3 times before displaying the page and I've noticed it. Is there a way to add a redirect in the VirtualHost of Apache instead? Thanks in advance for all the help.
0
Comment
Question by:bemara57
1 Comment
 
LVL 43

Accepted Solution

by:
ravenpl earned 500 total points
Comment Utility
According to http://httpd.apache.org/docs/2.0/mod/mod_alias.html#redirect
You may put it into: server config, virtual host, directory, .htaccess

Also: everything You can do in .htaccess You can do in httpd.conf as well. If You intend to not use .htaccess at all, turn off looking for it in apache's httpd.conf as well.
AllowOverride None
Refer http://www.howtoforge.com/configuring_apache_for_maximum_performance
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now