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 05-16-2011, 12:49 PM   PM User | #1
craig101
New Coder

 
Join Date: Apr 2011
Posts: 16
Thanks: 1
Thanked 1 Time in 1 Post
craig101 is an unknown quantity at this point
htaccess

Hey there, so I have my htaccess working fine.

the main problem i can't quite work around, is there will be constant new URL's needed to be mod_rewrite, i have them all listed in a database, is there a automatic way to get them them to do the reading, or will i always have to manually add
craig101 is offline   Reply With Quote
Old 05-16-2011, 01:41 PM   PM User | #2
abduraooft
Supreme Master coder!

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: N/A
Posts: 14,680
Thanks: 158
Thanked 2,182 Times in 2,169 Posts
abduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really nice
Depends upon your source and destination urls.
__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)
abduraooft is offline   Reply With Quote
Old 05-16-2011, 02:01 PM   PM User | #3
craig101
New Coder

 
Join Date: Apr 2011
Posts: 16
Thanks: 1
Thanked 1 Time in 1 Post
craig101 is an unknown quantity at this point
could you go into a little more detail? i've been looking all over the internet and not found anything
craig101 is offline   Reply With Quote
Old 05-18-2011, 02:49 AM   PM User | #4
coco1873
New to the CF scene

 
Join Date: May 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
coco1873 is an unknown quantity at this point
Actually, It depends on what server/host you are useing.

Last edited by Inigoesdr; 05-18-2011 at 05:27 AM..
coco1873 is offline   Reply With Quote
Old 05-18-2011, 07:58 AM   PM User | #5
abduraooft
Supreme Master coder!

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: N/A
Posts: 14,680
Thanks: 158
Thanked 2,182 Times in 2,169 Posts
abduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really nice
Quote:
Originally Posted by craig101 View Post
could you go into a little more detail?
That's what I'm also expecting from you. You haven't provided your current set of rewrite rules or any sample urls.
__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

Last edited by abduraooft; 05-18-2011 at 08:39 AM..
abduraooft is offline   Reply With Quote
Old 05-18-2011, 08:59 AM   PM User | #6
craig101
New Coder

 
Join Date: Apr 2011
Posts: 16
Thanks: 1
Thanked 1 Time in 1 Post
craig101 is an unknown quantity at this point
I'm using cPanelx

atm, i've just know from what i have researched online, so i am just doing testing now, so the only line i have is

RewriteRule ^bob$ product.php?&i=2w4ckgew2fd

as to get to this page it comes from a search, when the url pops up, it searchs the database that has two fields, URL and Redirect, if it finds a record in URL then it goes to the redirect
craig101 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:28 PM.


Advertisement
Log in to turn off these ads.