I am first time using zeus server , I dont how can I rewrite url
- which file(with extension ) should I upload in the root folder for zeus
right now I am using Apache then .htaccess file is working but I have to shift my site on zeus server then it is not working right now my code in htaccess file is
<IfModule mod_rewrite.c> RewriteEngine on RewriteCond $1 !^(index\.php|js|robots\.txt) RewriteCond %{REQUEST_FILENAME} !\.(js|css|gif|jpg|jpeg|png|ico|swf|pdf)$ RewriteRule ^(.*)$ /$1 [L]
I want to use same redirecting on zeus server can any one Please know me which extension of file i should use and in which location(directory) i should put file, and also please provide me like same rewrite code for zeus server.
naturally, as noted in the comments, a
.htaccess
-file with apache-specific instructions doesn't work on zeus so you'll have to do something different.it's easy to find some tutorials that show how specific commands for apache translate to zeus-commands. the ones i want to highlight here are this article on names.co.uk and this post on drupal.org where the second one shows up an important trouble with your question:
you'll have to break the url down on your own to get the different parts, so the rewrite-script will get a lot bigger than the one for apache.