Hi,
I've got the following mod_rewrite code;
RewriteRule ^index.html index.php [L]
RewriteRule ^article(\d+).html$ modules.php?name=News&file=article&sid=$1 [L]
RewriteRule ^(.*).mod$ modules.php?name=$1 [L]
The first and last one's work fine, but the second one just doesn't seem to be making a match.
Example call: article1.html , which *should* convert to modules.php?name=News&file=article&sid=1
Any ideas?
TIA
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
I've got the following mod_rewrite code;
Code:
RewriteEngine On RewriteRule ^index.html index.php [L]
RewriteRule ^article(\d+).html$ modules.php?name=News&file=article&sid=$1 [L]
RewriteRule ^(.*).mod$ modules.php?name=$1 [L]
The first and last one's work fine, but the second one just doesn't seem to be making a match.
Example call: article1.html , which *should* convert to modules.php?name=News&file=article&sid=1
Any ideas?
TIA
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!