Bluehost.com Web Hosting $6.95

mod_rewrite problem

This is a discussion on mod_rewrite problem within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, i got this mod_rewrite but it seems not to work correct Code: Options +FollowSymLinks RewriteEngine On RewriteRule ^([A-Za-...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-06-2007
Gerhard Neuhofer
 
Posts: n/a
Default mod_rewrite problem

Hi,

i got this mod_rewrite but it seems not to work correct

Code:
Options +FollowSymLinks

RewriteEngine On

RewriteRule ^([A-Za-z0-9-]+):([A-Za-z0-9-]+)/?$ index.php?$1=$2
[NC,QSA]
RewriteRule ^([A-Za-z0-9-]+):([A-Za-z0-9-]+)/([A-Za-z0-9-]+):([A-Za-
z0-9-]+)/?$ index.php?$1=$2&$3=$4 [NC,QSA,L]
RewriteRule ^([A-Za-z0-9-]+):([A-Za-z0-9-]+)/([A-Za-z0-9-]+):([A-Za-
z0-9-]+)/([A-Za-z0-9-]+):([A-Za-z0-9-]+)/?$ index.php?$1=$2&$3=$4&$5=
$6 [NC,QSA,L]
RewriteRule ^([A-Za-z0-9-]+):([A-Za-z0-9-]+)/([A-Za-z0-9-]+):([A-Za-
z0-9-]+)/([A-Za-z0-9-]+):([A-Za-z0-9-]+)/([A-Za-z0-9-]+):([A-Za-z0-9-]
+)/?$ index.php?$1=$2&$3=$4&$5=$6&$7=$8 [NC,QSA,L]


if i enter domain.com/test:1/

i get the right domain.com/index.php?test=1

if i enter domain.com/test:1/other:2/

i get domain.com/index.php?other=2 but the test:1 is missing.

only the last name:var is shown

maybe somebody can help me out there

thx

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:51 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0