ollie007 Posted June 8, 2009 Share Posted June 8, 2009 i have set it up in the ini, but its not enabled. how do i enable it on win2003? where s the trouble points? Quote Link to comment https://forums.phpfreaks.com/topic/161348-mod-rewrite-on-win2003/ Share on other sites More sharing options...
trq Posted June 8, 2009 Share Posted June 8, 2009 The ini? What ini? Apache uses a .conf file (generally) for configuration. Quote Link to comment https://forums.phpfreaks.com/topic/161348-mod-rewrite-on-win2003/#findComment-851467 Share on other sites More sharing options...
MadTechie Posted June 8, 2009 Share Posted June 8, 2009 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!) Quote Link to comment https://forums.phpfreaks.com/topic/161348-mod-rewrite-on-win2003/#findComment-851647 Share on other sites More sharing options...
ollie007 Posted June 8, 2009 Author Share Posted June 8, 2009 well, yeah on win2003 with apache and php, i gave up on IIS6 and cant upgrade to IIS7 ! anyways, yeah, i enabled it in the apache conf....is there supposed to be a *.DLL to use instead of the *.SO ? Quote Link to comment https://forums.phpfreaks.com/topic/161348-mod-rewrite-on-win2003/#findComment-851967 Share on other sites More sharing options...
MadTechie Posted June 9, 2009 Share Posted June 9, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/161348-mod-rewrite-on-win2003/#findComment-851978 Share on other sites More sharing options...
ollie007 Posted June 9, 2009 Author Share Posted June 9, 2009 cool ty so just the 3 lines? what about SSL ? Quote Link to comment https://forums.phpfreaks.com/topic/161348-mod-rewrite-on-win2003/#findComment-851997 Share on other sites More sharing options...
trq Posted June 9, 2009 Share Posted June 9, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/161348-mod-rewrite-on-win2003/#findComment-852123 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.