apache rewrite rule format

Started by hostaddonltd, 01-23-2012, 23:10:09

Previous topic - Next topic

hostaddonltdTopic starter

Hello all,

I have dynamic pages that look like this.

/index.php?purl=text_variable_with_underscore_2355. html

What would be the rewrite rule to get them to look like this.

/text_variable_with_underscore_2355.html

Their is no other page besides index.php for this site.

Thanks
Host Addon Ltd [nofollow] | Premium Hosting Services | Dedicated Servers | Reseller Hosting
Free Server Monitoring Service [nofollow]
  •  


saravanan28

The mod_rewrite module uses a rule-based rewriting engine, based on a PCRE regular-expression parser, to rewrite requested URLs on the fly. ... The path generated by a rewrite rule can include a query string, or can lead to internal sub-processing, external request redirection, or internal proxy throughput.
  •