Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-02-2011, 01:49 AM   PM User | #1
Jacobb123
Regular Coder

 
Join Date: Aug 2006
Posts: 311
Thanks: 0
Thanked 1 Time in 1 Post
Jacobb123 has a little shameless behaviour in the past
Mod_rewrite issue

I am trying to rewrite a url that looks like this:

PHP Code:
pages.php?cID=1&pID=
to this pages.php?pID=2

PHP Code:
RewriteRule pages.php?cID=(.*)&pID=(.*)$ pages.php?pID=$
is this possible?
Jacobb123 is offline   Reply With Quote
Old 02-02-2011, 02:25 AM   PM User | #2
mlseim
Master Coder

 
mlseim's Avatar
 
Join Date: Jun 2003
Location: Cottage Grove, Minnesota
Posts: 9,045
Thanks: 8
Thanked 1,029 Times in 1,020 Posts
mlseim has a spectacular aura aboutmlseim has a spectacular aura aboutmlseim has a spectacular aura about
See this post:
http://www.codingforums.com/showthread.php?t=217175

Sounds like you both can work it out.
mlseim is offline   Reply With Quote
Old 02-02-2011, 01:07 PM   PM User | #3
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,635
Thanks: 4
Thanked 2,448 Times in 2,417 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
This has nothing to do with php, moving to apache configurations.
__________________
As of PHP 5.5, the MySQL library has been officially deprecated. It is recommended to move to either MySQLi or PDO libraries for your mysql connectivity. See here for help choosing which interface you prefer: http://php.net/manual/en/mysqlinfo.api.choosing.php
Fou-Lu is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:34 PM.


Advertisement
Log in to turn off these ads.