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 03-02-2011, 07:30 PM   PM User | #1
sitNsmile
Regular Coder

 
sitNsmile's Avatar
 
Join Date: Dec 2009
Location: Charlotte, NC
Posts: 354
Thanks: 19
Thanked 2 Times in 2 Posts
sitNsmile is an unknown quantity at this point
.htaccess ( .html?id=x)

RewriteRule ^([_A-Za-z0-9-]+)/?/([_A-Za-z0-9-]+)-page.html?([0-9]+)/?$ index.php?action=find&term=$2&ch=$1&sub_id=$3

However, it doesnt work, with the "?"

any ideas?
sitNsmile is offline   Reply With Quote
Old 03-03-2011, 01:57 AM   PM User | #2
oesxyl
Master Coder


 
Join Date: Dec 2007
Posts: 6,682
Thanks: 436
Thanked 890 Times in 879 Posts
oesxyl is a jewel in the roughoesxyl is a jewel in the roughoesxyl is a jewel in the rough
Quote:
Originally Posted by sitNsmile View Post
RewriteRule ^([_A-Za-z0-9-]+)/?/([_A-Za-z0-9-]+)-page.html?([0-9]+)/?$ index.php?action=find&term=$2&ch=$1&sub_id=$3

However, it doesnt work, with the "?"

any ideas?
? is metachar and need to be escaped \? if you want to use it as char.

best regards
oesxyl 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 05:49 AM.


Advertisement
Log in to turn off these ads.