Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



skukstr

Member
  • Content count

    1
  • Donations

    $0.00 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About skukstr

  1. Hey folks, First time poster here... looks like a great community! I'm having an issue with the Apache URL Rewriter module. The web app that I'm building needs URLs to be converted from this format: /My.Class?Arg1=x&Arg2=y To this format: /index.php?Class=My.Class&Arg1=x&Arg2=y My rewrite rule looks like this: RewriteRule ^(.*)$ index.php?Class=$1 [QSA] Now the odd part is, this actually works... but my PHP script ends up receiving two copies of the 'Class' argument. I had my PHP script print out the exact query string for analysis: /index.php?Class=index.php&Class=My.Class&Arg1=x&Arg2=y I'm absolutely baffled as to why the rewrite engine is appending another Class argument on to the URL... and why in the world it's equal to 'index.php'. All I can think is that maybe I misunderstood the functionality of QSA. Any ideas? Thanks in advance!!
×