opstabom Posted October 15, 2008 Share Posted October 15, 2008 I recently used linux and this htaccess file to route all requests to index.php <FilesMatch "\.(engine|inc|info|install|module|profile|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template)$"> Order allow,deny </FilesMatch> ErrorDocument 404 /index.php DirectoryIndex index.php Options -Indexes Options +FollowSymLinks <IfModule mod_rewrite.c> RewriteEngine on RewriteRule !\.(js|ico|gif|jpg|png|css|jpeg|pdf|swf)$ index.php [L] </IfModule> but on linux this file routes requests to index.php but on Windows this file routes to index.php by ErrorDocument directive Quote Link to comment Share on other sites More sharing options...
kevin1 Posted October 15, 2008 Share Posted October 15, 2008 What is the problem since you recently used it? Quote Link to comment Share on other sites More sharing options...
corbin Posted October 16, 2008 Share Posted October 16, 2008 <IfModule mod_rewrite.c> Try <IfModule mod_rewrite> Quote Link to comment 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.