URL Rewriting Help

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

    URL Rewriting Help

    Is there any way to rewrite urls in php without using xampp server? I
    rewrite when working on xampp, but I am trying to do this in another
    way without using htaccess file. For example through database. Is it
    possible? Thanks!


    -----------------------------------------------
    Madam Samina.....ap nay mujhay aik martaba kaha tha "mein tumhein
    pasand karti hoon" kia waqi ap mujhay pasand karti hein? ap nay mujhay
    phirr medipak kay samnay apnay say bat kioon nahi karnay di? kia ap ab
    bhi mujhay pasand karti hein? plz mujhay apna answer bata dein....
  • Erwin Moller

    #2
    Re: URL Rewriting Help

    striawe schreef:
    Is there any way to rewrite urls in php without using xampp server? I
    rewrite when working on xampp, but I am trying to do this in another
    way without using htaccess file. For example through database. Is it
    possible? Thanks!
    Hi,

    As far as I know URL rewriting is an Apache thing, not directly xamp.
    (Of course the a in xamp is Apache. Duh.)

    You need mod_rewrite:


    As far as PHP is concerned, a script is called via apache, URL-rewritten
    or not.

    Good luck.

    Regards,
    Erwin Moller

    Comment

    • C. (http://symcbean.blogspot.com/)

      #3
      Re: URL Rewriting Help

      On May 28, 9:55 am, Erwin Moller
      <Since_humans_r ead_this_I_am_s pammed_too_m... @spamyourself.c omwrote:
      striawe schreef:
      >
      Is there any way to rewrite urls in php without using xampp server? I
      rewrite when working on xampp, but I am trying to do this in another
      way without using htaccess file. For example through database. Is it
      possible? Thanks!
      >
      Hi,
      >
      As far as I know URL rewriting is an Apache thing, not directly xamp.
      (Of course the a in xamp is Apache. Duh.)
      >
      You need mod_rewrite:http://httpd.apache.org/docs/2.0/misc/rewriteguide.html
      >
      As far as PHP is concerned, a script is called via apache, URL-rewritten
      or not.
      >
      Most reverse proxies support this too - but it'd be overkill to
      install one *just* to rewrite URLs. I think you need to re-exmine or
      restate your reasons for not doing tis with Apache.
      For example through database.
      .....suggests you're not really understanding how HTTP architecture
      works - that's not to say that some potential solutions involve using
      a database.

      C.

      Comment

      Working...