Posts Tagged “mod_rewrite”

By default local ip address is 127.0.0.1 or 10.1.1.1 or something like that. So when we’re using apache on our local machine and when we try to access our default server we simply type http://127.0.0.1 as our local address.

But sometimes we want to use different addresses. For example we want to use mod_rewrite to manage some url addresses but it’s not easy when we’re working lots of sites in our local server where they’re in more directories like these :

127.0.0.1/mysite1
127.0.0.1/mysite2
127.0.0.1/mysite3

And of course there’re another reaosons for that. For example you want to link your pages or styles or images dedicated to root like /image1.jpg but it won’t work on sub directories in our web server.

Reasons can be extensible.

Our solution will be simple…

Read the rest of this entry »

Tags: , , ,

Comments No Comments »

For some people it’s a hard job to configure their Windows machine using Apache for mod_rewrite. But in fact this is not a hard process.

Let’s check the steps together.

Read the rest of this entry »

Tags: , ,

Comments No Comments »