background preloader

The Ultimate Guide to .htaccess Files

The Ultimate Guide to .htaccess Files
Apache's .htaccess configuration files have baffled countless developers. This tutorial aims to break through this confusion by focusing on examples and thorough descriptions. Among the benefits of learning .htaccess configuration is automatic gzipping of your content, providing friendlier URLs, preventing hotlinking, improving caching, and more. First, the basics. Introduction: I’ve read a number of .htaccess articles online. “Give a man a fish and he will eat for a day. In this article I’m going to try to not just show you examples of useful .htaccess directives, but explain exactly what is going on. My focus will be on Apache 2, however much of this will apply to Apache 1.3 and I'll try to point out any differences that I know of. Finally, this tutorial will make the most sense if you read it in order. What is .htaccess? To quote Apache: .htaccess files (or “distributed configuration files”) provide a way to make configuration changes on a per-directory basis. Directives Comments Headers

Related:  Semantic Webweb dev.

Best Practice Recipes for Publishing RDF Vocabularies W3C Working Group Note 28 August 2008 This version: Latest version: Circle Hover Effects with CSS Transitions « Previous Demo: Animated Responsive Image Grid Back to the Codrops Article Use what you have by Angela Duncan View on Dribbble Common Causes of Stains by Antonio F. Mondragon View on Dribbble Pink Lightning by Charlie Wagers View on Dribbble SoundManager 2: JavaScript Sound For The Web Bonus Additional demos Examples using multi-track playback, progress and combinations of sound and animation: Armor Alley: Web Prototype (PC-DOS game remake) Armor Alley is a side-scrolling, real-time vehicle simulation / strategy game, originally released for the Mac and PC-DOS computers in 1990. This web-based remake is a tribute to the attention to detail shown in the original.

Htaccess Rewrites – Rewrite Tricks and Tips Htaccess Rewrites are enabled by using the Apache module mod_rewrite, which is one of the most powerful Apache modules and features availale. Htaccess Rewrites through mod_rewrite provide the special ability to Rewrite requests internally as well as Redirect request externally. When the url in your browser's location bar stays the same for a request it is an internal rewrite, when the url changes an external redirection is taking place. This is one of the first, and one of the biggest mental-blocks people have when learning about mod_rewrite... Linked DataFCNS I have recently joined the Computer Science department of TELECOM SudParis as an intern. My job is to integrate Triplify and Bugzilla in order to create semantic data. In other words, I have to export data from the Bugzilla database to an RDF file.

How to Build an E-Commerce Website Using WordPress: Part 1 Today we will be creating a simple but powerful e-commerce site using one of the most popular WordPress plugins called WP e-Commerce. Using this plugin we will be creating a website which sells holiday gifts! WP e-Commerce is a powerful shopping cart plugin for WordPress developed by Using this plugin in WordPress lets users buy your products and services online. Given below are some of the features of this amazing plugin. Top 15 Handy Jquery Image Gallery Plugins Thanks to the progression of jQuery side-show and jQuery gallery, the way websites look has been revolutionized. When a designer, or a novice web user, has a minimal amount of knowledge in coding, it’s nice to have useful resources that can save them time and money. If you are in need of handy j-query gallery plugins, you found a great source!

Beyond Redirect: Using ReWriteRule in .htaccess Beyond Redirect: Using ReWriteRule in .htaccess June 30th, 2008 in Programming & IT by: Matthew Griffin Mod_rewrite is an Apache module that can be accessed from .htaccess files to perform all kinds of complicated URL manipulation. Quick and dirty linked data content negotiation I've managed to fill a key gap in the world's supply of Linked Open Data by publishing triples that connect Mad Magazine film parody titles to the DBpedia URIs of the actual films. For example: < mad:FilmParody [ prism:CoverDate "1995-08-00" ; prism:issueIdentifier "338" ; dc:title "Judge Dreck" ] . < mad:FilmParody [ prism:CoverDate "1969-03-00" ; prism:issueIdentifier "125" ; dc:title "201 Minutes of a Space Idiocy" ] . (To prepare the data, I scraped a Wikipedia list, tested the URIs, then hand-corrected a few.) To really make this serious RESTful linked open data, I wanted to make it available as both RDF/XML and Turtle depending on the Accept value in the header of the HTTP request.

Learn the Bootstrap Grid in 15 Minutes Danny Markov Bootstrap is the most widely used frontend framework right now. When it comes to building responsive websites and apps, it’s the first choice of both professionals and hobbyists because of how simple it is to work with. Anybody who knows HTML, CSS and a bit of JavaScript can learn Bootstrap in no time. In this quick lesson we’re going to cover the grid system, one of the fundamental concepts every Bootstrap developer needs to master. It allows us to create responsive page layouts which can change and adapt depending on the screen size of the device the user is on.