Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2006-11-30
1
Medium Priority
?
486 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 2000 total points
ID: 18047886
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses
Course of the Month10 days, 2 hours left to enroll

926 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