mod_rewrite help request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
  I have changed the way a website refers to page in the URL. The old
method was odd, useless and unnecessarily complicated.
  I wish to have rewrite rule that changes

http://www.example.com/?page=somepage.php
to
http://www.example.com/somepage.php

  I've gotten this far:
RewriteEngine on
RewriteCond %{QUERY_STRING} =page
RewriteRule ^(.*)$ <<now what?>> [R,L]


- -- 
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlM7Ai8ACgkQzTcr8Prq0ZOwOACfbu7cB3WnjXxnHVu31tXAy3x/
yb8AniivPndcI3EYAtiNtX5S95IwOdPo
=ZUou
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux