Click to See Complete Forum and Search --> : APACHE + mod_rewrite on Windows ME


Anon
07-14-2001, 08:03 AM
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

Anon
07-30-2001, 01:56 PM
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.

Anon
08-01-2001, 01:19 PM
still i need to make the redirect and that cannot be done with php, so how did you set mod_rewrite up?

Anon
08-04-2001, 01:56 AM
"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!