.htaccess file tutorials and htaccess articles (2)

Apache Variable Fun in htaccess

Server and Environment Variables are used by The Apache HTTP Server by provides a mechanism for storing information. This information can be used to control various operations such as logging or access control.

Continue Reading
Tuesday, April 10, 2007 / 1 comment

htaccess HTTPS / SSL Tips, Tricks, and Hacks

Apache has the best SSL/HTTPS support and can be controlled by the httpd.conf file or other HTTPD server configuration file. This htaccess tutorial has htaccess example code to make it easy to secure and use HTTPS and SSL with Apache.

Continue Reading
Tuesday, April 10, 2007 / 1 comment

Security with Apache htaccess Tutorial

Apache Security tips and tricks for securing Apache Web Servers using htaccess, httpd.conf, and other built-in techniques to thwart attackers. This really should be required reading for any Apache admin or user because these little tricks are so easy to do.

Continue Reading
Tuesday, April 10, 2007 / 1 comment

Apache Authentication in htaccess

How to password-protect, Allow or Deny a visitor based on a condition. If you are having trouble getting htaccess-based password protection to work see: Troubleshooting htaccess Authentication: Getting it to work


Continue Reading
Tuesday, April 10, 2007 / 2 comments

Speed up your site with Caching and cache-control

Caching with .htaccess and Apache will take your website and your web skills to the next level. This is some technical and advanced methods condensed to simple htaccess code examples for you.

Continue Reading
Tuesday, April 10, 2007 / 3 comments

htaccess rewrite, Mod_rewrite tricks

htaccess Mod_Rewrite Tips and Tricks is as glamorous as it sounds! htaccess rewrite mod_rewrite is just possibly one of the most useful Apache modules and features. The ability to rewrite requests internally as well as externally is extremely powerful.

Continue Reading
Tuesday, April 10, 2007 / 14 comments

SEO Redirects without mod_rewrite

Web Professionals use mod_rewrite to issue 301 and 302 Redirects for Search Engines. Sometimes you may not have mod_rewrite.c or you want an alternative redirect method. Using mod_alias RedirectMatch you can use REGEX in Redirect commands!

Continue Reading
Tuesday, April 10, 2007 / 3 comments

PHP htaccess tips and tricks

Htaccess php tips and tricks for the Apache HTTPD Web Server, mostly these tips show you how to run customized versions with customized php.ini files, I require custom php.ini files because they are so useful!

Continue Reading
Tuesday, April 10, 2007 / 1 comment

Manipulating HTTP Headers with htaccess

Apache .htaccess and httpd.conf have the power to send and manipulate HTTP Header Requests like sending P3P privacy headers, Content-Type: UTF-8, Content-Language, etc. The power is immense and you can do some really cool stuff with HTTP Headers!

Continue Reading
Tuesday, April 10, 2007 / 7 comments

htaccess Tricks for Webmasters

Some of my favorite htaccess examples from some of my favorite .htaccess tutorials. These cut-and-paste ready htaccess code snippets are very useful for website and server administrators.

Continue Reading
Tuesday, April 10, 2007 / 2 comments

Mixed SSL Content Warning Secure Fixed

I used to run into the problem of having warning messages pop up when I accessed a page with secure and non-secure information and finally I found something that let me post non-ssl encrypted content on an ssl encrypted page and no warning messages will pop up!

Continue Reading
Sunday, April 8, 2007 / 1 comment

htaccess rewrite, htaccess

Comprehensive .htaccess example file with advanced examples in 1 htaccess sample skeleton .htaccess file with the very best apache htaccess examples… Updated frequently based on detailed info from the Apache htaccess tutorial.

Continue Reading
Tuesday, April 3, 2007 / 6 comments

Using FilesMatch and Files in htaccess

Files and FilesMatch to target multiple files and using Regular expressions using .htaccess files on Apache.
NOTE: FilesMatch should be used instead of Files when dealing with multiple files.

Adding UTF-8 content-type and and en-US language headers to files with extensions htm, html, css, js, and php
Setting charset in htaccess article
Using the Files Directive

<Files ~ "\.(htm|html|css|js|php)$">
AddDefaultCharset [...]

Continue Reading
Tuesday, April 3, 2007 / 1 comment

Replacing %23 with # in incoming links

I had some urls show up in my google sitemaps for one of my sites with “404 Not found” errors for a bunch of urls that had “%23comment-155″ looking urls instead of “#comment-155″

Continue Reading
Saturday, March 24, 2007 / comments

27 Request Methods for Apache rewritecond htaccess

Have you ever wondered how many REQUEST_METHODS you could use in Apache?

Scan Your Site to see what Request Methods are currently allowed, and fix potential security holes.
Intro
The Request Method, as supplied in the REQUEST_METHOD meta-variable, identifies the processing method to be applied by the script in producing a response.
The script author can choose to implement [...]

Continue Reading
Tuesday, March 6, 2007 / 2 comments

301 Redirect with mod_rewrite or RedirectMatch

301 Redirects using Apache mod_rewrite or RedirectMatch in .htaccess or httpd.conf

Continue Reading
Friday, March 2, 2007 / comments

Instruct Search Engines to come back to site after you finish working on it

Nifty SEO tip to get Search Engine Bots to check your site every hour until you finish working on it and tell them you are finished.

Continue Reading
Wednesday, February 28, 2007 / 3 comments

Control htaccess Basic Authentication with PHP and mod_rewrite

Control htaccess Basic Authentication with PHP and mod_rewrite

Continue Reading
Monday, February 26, 2007 / 2 comments

Rewrite underscores to hyphens for SEO URL

Replace underscores in URLs with hyphens using Apache .htaccess.

Continue Reading
Thursday, February 22, 2007 / 3 comments

Sending POST form data with php CURL

CURL Guide for sending POST data form request with PHP and CURL

Continue Reading
Wednesday, February 21, 2007 / 7 comments

Serve Alternate Content based on Time

TIME_DAY Time RewriteCondTime-dependant rewriting uses mod_rewrite and apache server time variables to display different files depending on the time, while the URL stays the same. An often requested implementation of this is to display a different home page or image depending on if its morning, noon, or night.

Continue Reading
Sunday, February 11, 2007 / comments

htaccess directives available on Powweb

List of the directives available to Powweb users for use in htaccess files

Continue Reading
Wednesday, February 7, 2007 / comments

Security Enhancing with htaccess

Securing Subdirectories using unique apache htaccess solutions.

Continue Reading
Wednesday, February 7, 2007 / comments

Fight Blog Spam with Apache

Fighting Blog Spam with Apache htaccess and other methods.

Continue Reading
Wednesday, January 31, 2007 / 1 comment

Preload flash .flv files into browser cache

Preloading and Caching flash .flv files to speed up your website and save on bandwidth

Continue Reading
Tuesday, January 30, 2007 / 3 comments

Apache Web Server Speed Configuration Hacks

Apache server performance can be improved by adding additional hardware resources such as RAM, faster CPU, etc.

Continue Reading
Thursday, January 25, 2007 / 2 comments

HTTP Packet Capturing to debug Apache

This article is a quick and easy HowTo detailing the use of Wireshark or another network sniffing program to debug your Apache .htaccess or httpd.conf files.

Continue Reading
Tuesday, January 23, 2007 / 1 comment

Debug apache log files from php

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 Reading
Monday, January 8, 2007 / 1 comment

Using TIME_HOUR and TIME_MIN for htaccess RewriteCond

If 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
Saturday, January 6, 2007 / 2 comments

.htaccess - Wikipedia

.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
Wednesday, January 3, 2007 / comments
Page: 1 2 3

Search

Apache Software WebRing
Prev | Ring Hub | Join | Next

DCMI | XFN | Valid XHTML 1.1 | Valid CSS

Contact AskApache Webmaster- Indianapolis, Indiana, U.S.A

Glossary | License and Disclaimer | Terms of Service | © AskApache. Some Rights Reserved.

Quantcast