apache rewrite rule format

Author Topic: apache rewrite rule format  (Read 6845 times)

Offline hostaddonltdTopic starter

  • Trade Count: (0)
  • Semi-Newbie
  • *
  • Thank You 0
  • Posts: 19
  • Karma: 0
    • Host Addon Ltd
apache rewrite rule format
« on: 01-23-2012, 23:10:09 »
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]


Offline saravanan28

  • Trade Count: (0)
  • Sr. Member
  • ****
  • Thank You 2
  • Posts: 428
  • Karma: 0
Re: apache rewrite rule format
« Reply #1 on: 07-06-2021, 08:25:54 »
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.

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
1843 Views
Last post 04-24-2014, 06:28:55
by musicanueva
0 Replies
1282 Views
Last post 05-24-2016, 03:07:43
by chinmay.sahoo
7 Replies
3535 Views
Last post 12-20-2016, 19:52:10
by luffy268
4 Replies
2558 Views
Last post 07-18-2017, 03:11:58
by Nickindred
0 Replies
2872 Views
Last post 01-31-2018, 02:37:03
by superjohn4455