Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2006-11-30
1
Medium Priority
?
484 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

Question has a verified solution.

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

In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

722 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