MOD Re-Write

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Aggelos

    MOD Re-Write

    I saw the post from Dr. NO and I wanted to ask something different on
    Mod re-write
    If we have
    index.php?conte ntId=10&module= 2&category=1
    or in another instance we have just
    index.php?conte ntId=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

  • Jerry Stuckle

    #2
    Re: MOD Re-Write

    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?conte ntId=10&module= 2&category=1
    or in another instance we have just
    index.php?conte ntId=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.conf iguration. The mod experts hang out over there.

    --
    =============== ===
    Remove the "x" from my email address
    Jerry Stuckle
    JDS Computer Training Corp.
    jstucklex@attgl obal.net
    =============== ===

    Comment

    • Aggelos

      #3
      Re: MOD Re-Write

      On Feb 15, 2:17 pm, Jerry Stuckle <jstuck...@attg lobal.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?conte ntId=10&module= 2&category=1
      or in another instance we have just
      index.php?conte ntId=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.conf iguration. The mod experts hang out over there.
      Ok so it is mostly the Apaches' work ...
      ok thanks !

      Comment

      Working...