Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

what is the difference between .htaccess and chmod?

and what is the meaning of if someone say's that this file/directory is chmodded?

how to rewrite my .htaccess file on server?

how to change mod rights?

and how to use them in web server?

 1  <IfModule mod_rewrite.c>
 2     RewriteEngine On
 3     RewriteBase /webcpy/
 4     RewriteRule ^index\.php$ - [L]
 5     RewriteCond %{REQUEST_FILENAME} !-f
 6     RewriteCond %{REQUEST_FILENAME} !-d
 7     RewriteRule . /webcpy/index.php [L]
 8  </IfModule>

what is the meaning of line 5or 6

share|improve this question

migrated from Aug 19 '11 at 8:39

This question came from our site for professional and enthusiast programmers.

closed as not a real question by pauska, Bart De Vos, SmallClanger, Ben Pilbrow, Iain Aug 19 '11 at 9:05

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

htaccess : reflected in its name - was to allow per-directory access control from web follow the link for configuring htaccess :

chmod : change file access permissions(for read, write and execute), for the user, group, other on the operating system

share|improve this answer