Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-27-2006, 10:48 PM   PM User | #1
thesavior
Senior Coder

 
Join Date: Aug 2005
Posts: 1,119
Thanks: 2
Thanked 1 Time in 1 Post
thesavior has a little shameless behaviour in the past
htaccess url rewrite

Okay, I want to put together a rewrite code in my htacess file that will allow me to do something like this:

21,Savior,62,30,IMF,Dalian.png

instead of

testsig.png?style=21&username=Savior&level=62&np=30&clan=IMF&server=Dalian

My htaccess file already forces testsig.png to be render as php.
thesavior is offline   Reply With Quote
Old 07-27-2006, 11:18 PM   PM User | #2
schleppel
Regular Coder

 
Join Date: Oct 2004
Posts: 330
Thanks: 0
Thanked 13 Times in 13 Posts
schleppel is an unknown quantity at this point
Code:
Options +FollowSymLinks

RewriteEngine On

RewriteRule ^([0-9]+),([a-z]+),([0-9]+),([0-9]+),([a-z]+),([a-z]+)\.png$ testsig.png?style=$1&username=$2&level=$3&np=$4&clan=$5&server=$6 [NC,L]
schleppel is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:34 AM.


Advertisement
Log in to turn off these ads.