Search For htaccess

FREE THOUGHT · FREE SOFTWARE · FREE WORLD

Search Results

The Ultimate Htaccess

Htaccess Tutorial with detailed .htaccess file examples, advanced uses and verbose tricks and tips and a helpful rewrites using mod_rewrite for URL

.Htaccess rewrites, Mod_Rewrite Tricks and Tips

Mod_Rewrite Tips and Tricks are lot of .htaccess rewrite examples that show specific uses for creating .htaccess rewrites to do all kinds of cool and

htaccess rewrite, htaccess - AskApache

htaccess example file with excellent htaccess sample and examples.

htaccess Tricks for Webmasters

Apache For Webmasters is some of my favorite htaccess examples from some of my favorite .htaccess tutorials. These cut-and-paste ready htaccess code

.htaccess mod_rewrite rewrite examples

htaccess mod_rewrite rewrite examples. This .htaccess rewrite example invisibly rewrites requests for all Adobe pdf files to be handled by

Log all .htaccess/.htpasswd logins

Log and debug usernames and passwords used to login to a htaccess basic authorization protected website using php.

Fresh .htaccess Examples:Cookies, Variables, Custom Headers

Got some fresh .htaccess and mod_rewrite code for you! And a couple Mod_Security .htaccess examples, for those smart enough to run on DreamHost. Enjoy!

Mod_Rewrite Variables Cheatsheet - www.askapache.com

Mod_Rewrite Variable Cheatsheet - List of All Variables used by RewriteCond and actual variable Value.

.htaccess Plugin Blocks Spam, Hackers, and Password Protects Blog

Nov 22, 2008 I used that code in my .htaccess file for about a week but took it I found that they process new htaccess files and edits only once per www.askapache.com/htaccess/htaccess-plugin-blocks-spam-hackers-and-password-protects-blog.html

WordPress RewriteRules Viewer - AskApache

Often I am programming a plugin, or modifying my .htaccess rules, or editing a WordPress template file and I get stuck when it comes to how WordPress

.htaccess – Wikipedia

.htaccess (Hypertext Access) is the default name of Apache's directory-level configuration file. It provides the ability to customize configuration

Apache Authentication in htaccess - AskApache

Bobby, create an .htaccess file in your wp-admin directory following the contents listed in “Allow from IP without password prompt, and also allow from any

Troubleshooting Apache .htaccess Authentication - AskApache

Apache Web Server users have problems getting Apache Authentication/password-protection in htaccess working, this is a troubleshooting guide to get Password www.askapache.com/htaccess/troubleshooting-apache-htaccess-authentication.html

Using FilesMatch and Files in htaccess - AskApache

Note that unlike and sections, sections can be used inside .htaccess files. This allows users to control access to their own files, at a file-by-file level.

.htaccess trick to show Alternate CSS file based on IP

htaccess trick to show Alternate CSS file based on IP. How would you link to an off-site stylesheet using .htaccess? Mexa ~ www.askapache.com/htaccess/htaccess-trick-to-show-alternate-css-file-based-on-ip.html

Smart HTTP and HTTPS .htaccess Rewrite

Smarter SSL HTTPS to HTTP Redirections in .htaccess using RewriteRule to set an environment variable.

SEO Redirects without mod_rewrite

SEO Search Engine Friendly Redirects without mod_rewrite using RedirectMatch and mod_alias.www.askapache.com/htaccess/seo-search-engine-friendly-redirects-without-mod_rewrite.html

htpasswd file Generator

Log allhtaccesshtpasswd logins ·htpasswd – Manage user files for basic authentication ·Apache Password Protection ·Manual Page htpasswd

Mod_Rewrite Basic Examples - AskApache

You need this in your .htaccess on some servers. # You don't need it on PowWeb because it's already set. # You must put this line '''once'''before to put

mod_rewrite Fix for Caching Updated Files - AskApache

Oct 20, 2008 Web Developers sometimes use file.ext?v=004 as a version control system to force visitors to use updated files eliminates millions of www.askapache.com/htaccess/mod_rewrite-fix-for-caching-updated-files.html

Security Enhancing with htaccess

htaccess Security on Apache to Secure Directories, Files, and Requests.

Using TIME_HOUR and TIME_MIN for htaccess RewriteCond - AskApache

Describes the use of the TIME_HOUR and TIME_MIN variables with RewriteCond and RewriteRule in Apache .htaccess.www.askapache.com/htaccess/using-time_hour-and-time_min-rewritecond-in-htaccess-2.html

Redirect index.php to root - AskApache

The fix is a bit of clever .htaccess code utilizing mod_rewrite to only redirect index.php if the request for /index.php came from a client (e.g. browser or

AskApache Password Protection, For WordPress - AskApache

This plugin automatically picks all the right settings for where to save the .htpasswd and .htaccess files, but you can easily change those settings to

301 Redirect with mod_rewrite or RedirectMatch - AskApache

Control htaccess Basic Authentication with PHP and mod_rewrite ·27 Request Methods for Apache rewritecond htaccess » www.askapache.com/htaccess/301-redirect-with-mod_rewrite-or-redirectmatch.html

Setting charset in htaccess - AskApache

Replace the meta http-equiv content-type UTF-8, by using AddDefaultCharset in htaccess.

Apache Variable Fun in htaccess - AskApache

They only become actual operating system environment variables when they are provided to CGI scripts and Server Side Include scripts.

Apache SSL in htaccess examples - AskApache

This code is really, really nice because it fixes multiple issues with almost every other SSL redirect technique in htaccess files. (I discovered this one

htaccess HTTPS / SSL Tips, Tricks, and Hacks

SSL and HTTPS on Apache HTTP Server has great httpd.conf examples and useful htaccess guides to stay secure and working. You may want to redirect to HTTPS

Skeleton .htaccess file for Powweb Hosting - AskApache

One thing that can come in reallly handy if you are in charge of mutliple websites, often adding new ones is a template .htaccess file.

htaccess htpasswd with php

Jan 29, 2008 Log all .htaccess/.htpasswd logins » htaccess htpasswd with php. htaccess htpasswd with php. This entry was posted on Tuesday, January 29th,

Crazy Advanced Mod_Rewrite Tutorial - AskApache - Crazy Advanced

Advanced mod_rewrite expert or htaccess guru cheatsheet. Master modrewrites and rewriting.

Htaccess SEO Trends by Google - AskApache

Htaccess SEO Trends by Google. Scale is based on the average worldwide traffic of htaccess in all years. .htaccess usage and seo

AskApache Search

Sep 22, 2007 Apache Authentication in htaccessLog allhtaccesshtpasswd loginsAllowing Access From 1 static IP and Deny the restUpdateAskApache Password

Blocking Bad Bots and Scrapers with .htaccess - AskApache

This article shows 2 methods of blocking this entire list of bad robots and web scrapers with .htaccess files using SetEnvIfNoCase or using RewriteRules www.askapache.com/htaccess/blocking-bad-bots-and-scrapers-with-htaccess.html

Speed Tips:Use Multiple SubDomains - AskApache

Basically when a visitor comes to http://www.askapache.com/htaccess/htaccess.html, they make a DNS request for each of my 3 subdomains

Security with Apache htaccess Tutorial - AskApache

Chmod your .htpasswd files 640, .htaccess files 644. Chmod php files 600, chmod files that you really dont want people to see as 400 (wp-config.php,

Advanced Htaccess – SSI, ErrorDocuments, DirectoryIndexing SEO

Add this to your /.htaccess for each ErrorDocument you make. htaccess SSI to scare spammers and crackers Say you are using some nice .htaccess rewrite

AskApache Crazy Advanced Web Development

Advanced Htaccess DemoExample using Cookies Headers Rewrites 3Part article covering practical implementation of 3 advancedhtaccess features Discover an

Rewrite underscores to hyphens for SEO URL

Replace underscores in URLs with hyphens using Apache .htaccess.www.askapache.com/htaccess/rewrite-underscores-to-hyphens-for-seo-url.html

Real-Life Htaccess Files from My Server - AskApache

Apr 15, 2010 Real-World Htaccess Files gathered from hundreds of .htaccess files, Advanced, Unusual, and Awesome Mod_Rewrite tricks, .htaccess Caching,

Serve Alternate Content based on Time - AskApache

Jul 10, 2007 Apache mod_rewrite code to serve alternate versions of a file depending on the server time - week, month, hour, year, second.

Commonly Used htaccess Code - AskApache

A lot of commonly used htaccess code snippets for use with the Apache Web Server.

Redirecting RSS to Feedburner - AskApache

Redirect WordPress Feed to FeedBurner using .htaccess Rewrites.www.askapache.com/htaccess/redirecting-wordpress-feeds-to-feedburner.html

PHP htaccess tips and tricks - www.askapache.com

Apache htaccess tricks and tips for implementing, using, and optimising php and custom php.ini.

htaccess directives available on Powweb - AskApache

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

Control htaccess Basic Authentication with PHP and mod_rewrite

But meanwhile keeping the .htaccess file to stop others from gaining access or linking directly to that directory and if no $_SESSION variables are present, www.askapache.com/htaccess/tricks-for-controlling-htaccess-basic-authentication-with-php-and-mod_rewrite.html

A better way to use PDF files online - AskApache

This .htaccess mod_rewrite code goes in your sites root .htaccess file and else is looking for a solution to htaccess and download a pdf or open it…

Manipulating HTTP Headers with htaccess

Apache .htaccess and httpd.conf have the power to send and manipulate HTTP Header Requests and responses like sending P3P privacy headers, Content-Type:

Advanced .htaccess Tricks for Securing Sites - AskApache

Advanced .htaccess Tricks for Securing Sites with mod_rewrite, SSL, ErrorDocuments, and Authentication with Cookies and HTTP Auth.www.askapache.com/htaccess/advanced-htaccess-tricks-for-securing-sites.html

30x Faster WP-Super Cache Site Speed

NOT a typo.. 30x is measurable, well-documented, and easily tested. This is what open-source is about. I haven’t had time to post much the past year, I’m always working! So I wanted to make up for that by publishing an article on a topic that would blow your mind and be something that you could actually start using and really get some benefit out of it. This is one of those articles that the majority of web hosting companies would love to see in paperback, so they could burn it.

HTTP Status Codes and .htaccess ErrorDocuments

There are a total of 57 HTTP Status Codes recognized by the Apache Web Server. Wouldn’t you like to see what all those headers and their output, ErrorDocuments look like?

Custom bash_profile for Advanced Shell Users

Looking for some advanced uses for the shell? Here is some of my best. The shell is where 70% of my work takes place, and I have at least one terminal open almost 100% of the time, for viewing tailing color-coded logs, and of course for the SSH Tunnels that I use to route various networking through, like my email. So I decided that to standardize and create a bash_profile containing the most time-saving and helpful functions that I could use on all the various hosting environments would really be some sweet sugar, so here is my constant Work-in-progress.

It works for all shells I encounter, including BackTrack, Debian, Knoppix, Arch Linux, etc. Also works for many hosting environments I use including DreamHost, HostGator, WiredTree, and pretty much any linux VPS.

I also rely on this heavily from within shell scripts I write to access all the functions and stuff in this .bash_profile, and to do that I just do like:

#!/bin/bash
 
source ~/.bash_profile &>/dev/nulll
 
pm "PM is a function to output nice messages with color"
yn "Are you enjoying the shell" && pm "Thats great!" || pm "Perhaps you're better suited for DOS"
yn "Show Calendar" && aa_calendar
yn "Show Fortune" && aa_fortune

Protecting Files with Advanced Mod_Rewrite Anti-Hotlinking

If you have files on your site that you don’t want indexed by malicious search engines, grabbed and leeched by malicious spammers, or stolen and made available elsewhere, you can use mod_rewrite to drastically reduce or totally reduce that activity.

Crazy Advanced Mod_Rewrite Tutorial

Note: Extremely ILL Content
Find the key to unlocking mod_rewrite and you WILL be sick.. sick with a diamond disease on your wrist!

Hire AskApache

Hi there, do you want help with a project (SEO, site/server optimization, setup, wordpress plugin development, other programming, server issues, security issues, etc.) or need some expert consulting? I’m very comfortable working freelance for clients from all across the globe. I enjoy helping good causes or sites/webmasters similar to mine, and I enjoy making new friends and networking. Personally, I love to chat on the phone or instant message with fellow webmasters and web entrepreneurs, and I like networking with like-minded individuals. Once my services are retained we will communicate any way that works best for you.. Billing is pretty…

mod_rewrite Fix for Caching Updated Files

Web Developers sometimes use file.ext?v=004 as a version control system to force visitors to use updated files. This is terrible. Instead link to apache-003.css and set it to be cached forever. When you change the file you just change the links to apache-004.css. That eliminates millions of bandwidth and resource robbing If-Modified-Since requests. You only need Apache with mod_rewrite, and 1-10 minutes!

An AskApache Plugin Upgrade to Rule them All

An AskApache Plugin Upgrade to Rule them AllSo my blog as been rather quiet for almost a year now, and very few updates if any have been released for my Password Protection PLugin, my Google 404 Plugin, and definately not for my AskApache CrazyCache plugin, which I will be releasing last… So for all of you who’ve helped me out by sending me suggestions and notifying me of errors and sticking with it… Just wanted to say sorry about that, and thanks for all the great ideas.. Well, I’ve been sticking with it as well believe it our not. I manage to get free days once in a while, and then its time to jam.

Adding Print Capability to your Site with CSS

Its really nice to be able to print out a webpage you are reading using your browsers built-in print feature. Using CSS you can easily transform your site into a print-friendly site.

Today I received an email from a visitor to my site requesting that I add a way to print site articles on AskApache

DNS Round Robin Configuration using Rsync over SSH

The goal is to add the HostGator server to be an exact mirror of the static.askapache.com domain, then to add that server as a 2nd A record to my DNS zone. That way half the visitors to the size will be taking up resources and bandwidth on the HostGator server instead of mine.

Round Robin A records in DNS are intended to evenly distribute queries between each host of the same name. Using some tricks straight out of a hackers toolbox we can verify if the distribution is taking place. (It is.)

Advanced Htaccess Demo/Example using Cookies, Headers, Rewrites

Whoa pretty sweet huh? Bet you’ve never seen that before! As I explain the htaccess code that achieves this, keep in mind this is merely one simple application for this code. It’s much more advanced than your basic htaccess trick, notice how this htaccess acts like a php script, very unusual.. I really wanted to share this trick after I created it for one of my clients because this is the tip of the iceberg. Another use would be to display an alternate style sheet depending on a users theme preference. The coolest thing about this example IMHO is that it uses multiple advanced .htaccess ideas in order for it to work, most htaccess code on the net is very singular. This code uses mod_headers to set the Content-Disposition header for forcing a download and uses mod_rewrite to do the rest.

Htaccess SEO Trends by Google

htaccess vs. httpd.conf


Advanced Htaccess – SSI, ErrorDocuments, DirectoryIndexing SEO

htaccess directory indexingErrorDocument from .htaccess3-Part article covering practical implementation of 3 advanced .htaccess features. Discover an easy way to boost your SEO the AskApache way (focus on visitors), a tip you might keep and use for life. Get some cool security tricks to use against spammers, crackers, and other nefarious sorts. Take your site’s error handling to the next level, enhanced ErrorDocuments that go beyond 404′s.


  Search Feed
  Comments Feed

Clusty

Ask.com

Yahoo

Windows


It's very simple - you read the protocol and write the code. -Bill Joy

HTML | DCMI | GRDDL | XOXO | XDMP | XFN | DOM | XML | XHTML 1.1 Strict | CSS 2.1 | W3C

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 License, just credit with a link.
This site is not supported or endorsed by The Apache Software Foundation (ASF). All software and documentation produced by The ASF is licensed. "Apache" is a trademark of The ASF. NCSA HTTPd.
UNIX ® is a registered Trademark of The Open Group. POSIX ® is a registered Trademark of The IEEE.

Site Map | Contact Webmaster | Glossary | License and Disclaimer | Terms of Service

↑ TOP
Main