Hi,
i have Apache, PHP, mysql running on Windows ME. I only have one question, can apache run with mod_rewrite on my windows machine. If it can, how do i set it up. Please help. Thank you.

Joris

PS. i want to use it to store the session id in the url, like this
http://localhost/<session_id>/my/path/index.php

so it would look like this:
http://localhost/d84c987kl9001dfer984rfq8qke7mm04/scripts/index.php
but it would redirect to
http://localhost/scripts/index.php

    16 days later

    uhhhhhh.... why?

    i use mod_rewrite on a company intranet site to send all requests through a filter to see if they can access it (including file downloads..)

    so if someone did something like this:

    http://intranet/earnings.txt

    it would redirect to

    http://intranet/filter.php?url=earnings.txt

    and if they were cleared it would send them that file.

    what you are talking about using it for is already handled very well by php and is not necessary.

      still i need to make the redirect and that cannot be done with php, so how did you set mod_rewrite up?

        "can apache run with mod_rewrite on my windows machine"

        You are asking an Apache specific question on a PHP list. If you have the Apache bin, chances are mod_rewrite has been compiled into is. Read up on the conf directives at apache.org. There should be no reason the moduals and PHP cant work together.

        Good luck!

          Write a Reply...