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?$1And 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 calledthe '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.htmlLook 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx