Solved

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

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

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 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.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

920 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

16 Experts available now in Live!

Get 1:1 Help Now