Go to Post Seasons are often made or broken in the first week of build season. 1114 wouldn't be repeatedly giving their strategic design seminar if it wasn't that important. - Knufire [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Website Design/Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Spotlight this post!  
Unread 20-03-2004, 00:00
jhnphm jhnphm is offline
Registered User
#0614
Team Role: Programmer
 
Join Date: Mar 2004
Rookie Year: 2003
Location: Fairfax, VA
Posts: 23
jhnphm is an unknown quantity at this point
Re: CSS Based Design

This guide assumes knowledge of regular expressions.
IThe mod_rewrites on my local copy of the site (out of date by two months, and I stripped out redundant statements that weren't needed because of the usage of the <base> element) and commented are:


Code:
 #Syntax is "RewriteRule [URL RegExp] [Replacement with optional back references [[Flags]]"

 RewriteRule ^/$ /robotics/ [R,L]
 #Redirects http://localhost/ to http://localhost/robotics
 #R flag redirects, L prevents fall through to statements below

 RewriteRule ^/robotics/pages/(.+)$ /robotics/index.php?file=pages/$1.inc [L]
#Using W3 recommended URIs, which makes it more difficult to rewrite URIs, since there is the problem of what to rewrite to. This has been solved by dumping all pages under the /robotics/pages directory, and use the <base> element to shift the initial path for relative URIs to just /robotics/ . All the "pages" are files with the .inc extension which are included into PHP. The scripts filter for the .inc extension for security purposes.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Design Sharing Rod General Forum 32 14-01-2004 22:00
Roller Chain Based Three Speed Transmission Madison Technical Discussion 11 09-01-2004 16:40
How do you design your robot? Gui Cavalcanti General Forum 23 16-11-2003 18:33
gearing design calculation question caffel Motors 4 24-03-2003 17:34
Ok, so YOU design the 2003 game... dlavery General Forum 157 07-01-2003 23:55


All times are GMT -5. The time now is 02:46.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi