Get support from Xavier Media
It is currently Sun Dec 08, 2013 3:57 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Apache Resources
PostPosted: Fri Jul 21, 2006 12:38 am 

Points:
One of the most useful things that a Web designer can learn is the Apache Server's "mod_rewrite" capability. I don't care what you Program in (PHP/Perl/Ruby) you have to learn mod_rewrite if you want to make large-dynamic sites! 8)


Here are invaluable resources in learning the .htaccess mod_rewrite functions:

Rewrite Guide(VERY IMPORTANT!)

http://www.thejackol.com/htaccess-cheatsheet/

mod_rewrite-cheat-sheet

http://www.petefreitag.com/cheatsheets/apache/

All of this is based off:
Apache Rewrite Manual

Note: In order to use mod_rewrite you must have an apache server. Most hosting companies are running Apache, unless your server is window?s based; Then you might have IIS running.


Here is one of the most common uses of mod_rewrite:
Code:
RewriteEngine on
RewriteBase /
RewriteRule   index/([.]*) index.php?page=$1

Here we are taking a request for anything from index/1 to index/99999 and rewriting the page to pass the varable to index.php
(such as index.php?page=1 or index.php?page=99999 )


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Registered users: emicybicH, xlreariasd


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Portal » Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
[
SEO MOD © 2007 StarTrekGuide ]