Secure phpinfo.php with .htaccess, Now instead of getting a 404 error you will see debug information which will help you find out what the problem is.
Continue ReadingSecure phpinfo.php with .htaccess, Now instead of getting a 404 error you will see debug information which will help you find out what the problem is.
Continue ReadingIf you want to redirect to a different version of a file based on the time, this code is for you! Please read: Serve Alternate Content based on Time
Continue Reading.htaccess (Hypertext Access) is the default name of Apache’s directory-level configuration file. It provides the ability to customize configuration directives defined in the main configuration file. The configuration directives need to be in .htaccess context and the user needs appropriate permissions.
Statements such as the following can be used to configure a server to send out [...]
Continue Reading In 2003, Nick Kew released a new module that complements Apache’s
mod_proxy and is essential for reverse-proxying. Since then he gets
regular questions and requests for help on proxying with Apache. In
this article he attempts to give a comprehensive overview of the
proxying and mod_proxy_html
This article was originally published at ApacheWeek in January 2004,
and moved [...]
If you examine the preferences dialog of any modern Web browser (like Internet Explorer, Safari or Mozilla), you’ll probably notice a ‘cache’ setting. This lets you set aside a section of your computer’s hard disk to store representations that you’ve seen, just for you. The browser cache works according to fairly simple rules. It will check to make sure that the representations are fresh, usually once a session (that is, the once in the current invocation of the browser).
Continue Reading2 awesome ways to implement caching on your website using Apache .htaccess or httpd.conf. Both methods are extremely simple to set up and will dramatically speed up your site!
Continue ReadingLearning about charset’s and file types maybe pretty boring, but using .htaccess it can be fun!
Continue ReadingLinks to htaccess tutorials and howtos in the htaccess forum
Continue Readingmod_rewrite is very useful in many situations. Yet some behaviors were not so obvious when I started to mess with it. After many testings, I understand it much better, now. Having said that, I do not pretend to know it perfectly. I also make mistakes.
Continue ReadingA lot of commonly used htaccess code snippets for use with the Apache Web Server.
Continue ReadingPerhaps you want to keep status information between requests and use the URL to encode it. But you don’t want to use a CGI wrapper for all pages just to strip out this information.
Continue ReadingSay you want to deny access to your entire site except when you access it. The following htaccess code does just that.
Instead of a Static IP you could also use a hostname, or part of a hostname..
Alexa, People, Technorati, Compete, Quantcast, DomainTools, BuiltWith, AboutUs, Live, Google, International Appeal
This work by AskApache.com is licensed under the most accommodating license type available, just credit source according to license. .htaccess examples