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!)

 

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.

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.