Jump to content

Mod rewrite? on win2003


ollie007

Recommended Posts

I assume his talking about a ISAPI filter called mod_rewrite ,

 

In Windows Your Rules Will be Written In The file “c:\mod_rewrite\mod_rewrite.ini” And In Linux (Apache) Rules Will be written in “.htaccess” (A File That Will/May be located on the root of your website).

 

if you have problems then check

    * Use Regular Expression Test Utility to check that your regexp is correct.

    * Read httpd.parse..error file to find syntax error in rules.

    * Read IIS log file to see what you are getting as a rewrite result.

    * Finally use online forum to ask your question to the support team.

 

This is used with IIS.. and ASP(X), but i guess you could use it with PHP.. and you "could" likely use it with apache but .... yeah..

 

What are you using exactly ?

windows 2003

PHP or ASP ?

IIS or apache (i assume apache due the thread!)

 

Link to comment
Share on other sites

Nope, all you need to do is

Inside the httpd.conf file uncomment the line LoadModule rewrite_module modules/mod_rewrite.so (remove the pound '#' sign from in front of the line)

 

Also find the line ClearModuleList is uncommented then find and make sure that the line AddModule mod_rewrite.c is not commented out.

Link to comment
Share on other sites

I assume his talking about a ISAPI filter called mod_rewrite ,

 

In Windows Your Rules Will be Written In The file “c:\mod_rewrite\mod_rewrite.ini” And In Linux (Apache) Rules Will be written in “.htaccess” (A File That Will/May be located on the root of your website).

 

if you have problems then check

    * Use Regular Expression Test Utility to check that your regexp is correct.

    * Read httpd.parse..error file to find syntax error in rules.

    * Read IIS log file to see what you are getting as a rewrite result.

    * Finally use online forum to ask your question to the support team.

 

This is used with IIS.. and ASP(X), but i guess you could use it with PHP.. and you "could" likely use it with apache but .... yeah..

 

What are you using exactly ?

windows 2003

PHP or ASP ?

IIS or apache (i assume apache due the thread!)

 

 

Wierd. I use asapi_rewite at work and your rules themselves (on a per site config) go within a .htaccess file, just as they do using Apache.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.