Solved

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

Posted on 2006-11-30
1
482 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 500 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

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…
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.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Suggested Courses

734 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