By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,746 Members | 1,924 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,746 IT Pros & Developers. It's quick & easy.

MOD Re-Write

P: n/a
I saw the post from Dr. NO and I wanted to ask something different on
Mod re-write
If we have
index.php?contentId=10&module=2&category=1
or in another instance we have just
index.php?contentId=1&module=1

How can I rewrite that to display
index.php/cats/felix?module=2 (if I have no regex for module)
or
index.php/homepage?module=1 (if I have no regex for module)

What I cannot figure out is how to get in the.htaccess file, where my
mod rewrite rule is, the content title or category title or even the
module title... which are in MySQL DB.

Does that make any sense ?
That's requires especially when some people come and say they want to
convert their huge static website into CMS driven but obviously don't
want to loose search engine caching. And other reasons...

Ideas ?
Thanks

Feb 15 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Aggelos wrote:
I saw the post from Dr. NO and I wanted to ask something different on
Mod re-write
If we have
index.php?contentId=10&module=2&category=1
or in another instance we have just
index.php?contentId=1&module=1

How can I rewrite that to display
index.php/cats/felix?module=2 (if I have no regex for module)
or
index.php/homepage?module=1 (if I have no regex for module)

What I cannot figure out is how to get in the.htaccess file, where my
mod rewrite rule is, the content title or category title or even the
module title... which are in MySQL DB.

Does that make any sense ?
That's requires especially when some people come and say they want to
convert their huge static website into CMS driven but obviously don't
want to loose search engine caching. And other reasons...

Ideas ?
Thanks
Maybe try alt.apache.configuration. The mod experts hang out over there.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Feb 15 '07 #2

P: n/a
On Feb 15, 2:17 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
Aggelos wrote:
I saw the post from Dr. NO and I wanted to ask something different on
Mod re-write
If we have
index.php?contentId=10&module=2&category=1
or in another instance we have just
index.php?contentId=1&module=1
How can I rewrite that to display
index.php/cats/felix?module=2 (if I have no regex for module)
or
index.php/homepage?module=1 (if I have no regex for module)
What I cannot figure out is how to get in the.htaccess file, where my
mod rewrite rule is, the content title or category title or even the
module title... which are in MySQL DB.
Does that make any sense ?
That's requires especially when some people come and say they want to
convert their huge static website into CMS driven but obviously don't
want to loose search engine caching. And other reasons...
Ideas ?
Thanks

Maybe try alt.apache.configuration. The mod experts hang out over there.
Ok so it is mostly the Apaches' work ...
ok thanks !

Feb 16 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.