httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Skip Evans <s...@bigskypenguin.com>
Subject Re: [users@httpd] Args not being passed in rewrite rule
Date Tue, 05 Aug 2008 22:34:41 GMT
Hey Tony & all,

Yep, that did it. I was not aware of that flag, 
pretty new to rewrite rules.

Much thanks!
Skip

Tony Stevenson wrote:
> Skip Evans wrote:
>> Hey all,
>>
>> I have the following rewrite rule in an .htaccess file.
>>
>> RewriteRule .modules.php?(.*)$ 
>> http://prepcube.venomouspenguin.com/modules.php?$1
>>
>> And it does successfully call the modules.php file in the document 
>> root, but the arguments do not get passed.
>>
>> In other words, if
>>
>> modules.php?mod=coaches
>>
>> is called
>>
>> the 'mod=coaches' part will be missing when the second modules.php 
>> file is called.
>>
> 
> Skip take a look at the rewrite docs. Specifically this page 
> http://httpd.apache.org/docs/trunk/rewrite/rewrite_flags.html
> 
> Look at the [QSA] flag. You need to use this to pass query strings in 
> rewrite.
> 
> 
> Tony
> 
> 

-- 
Skip Evans
Big Sky Penguin, LLC
503 S Baldwin St, #1
Madison, WI 53703
608-250-2720
http://bigskypenguin.com
=-=-=-=-=-=-=-=-=-=
Check out PHPenguin, a lightweight and versatile
PHP/MySQL, AJAX & DHTML development framework.
http://phpenguin.bigskypenguin.com/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message