Click to See Complete Forum and Search --> : .htaccess to httpd.ini convert


Jeffrey G
10-26-2007, 10:21 AM
Hi everybody,
Do you know how to convert a .htacces from Linux server environment into a httpd.ini file for a windows server?

This is the .htaccess file:

RewriteEngine on
RewriteCond $1 !((/)?(index\.php|images|css|js|awstats|aculo|tinymce|user_docs)) RewriteRule ^(.*)$ index.php/$1 [L]

ray326
10-26-2007, 12:57 PM
If the Windows server is Apache then no conversion is required. I believe you'd just include that in the httpd.conf.

Jeffrey G
10-26-2007, 01:56 PM
Thats right, but itīs ISS. This is what I have now:

[ISAPI_Rewrite]

RewriteCond $1 !((/)?(/index\.php/|/demo/|/images/|/modules/|/css/|/js/|/screenshots/|/awstats/|/aculo/|/tinymce/|/user_docs/))
RewriteRule ^(.*)$ /index.php/$1 [L]

And it works but not in the right way. So i think Iīve made a mistake somewhere.