Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 stackoverflow.com 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.

1 Answer 1

htaccess : reflected in its name - was to allow per-directory access control from web follow the link for configuring htaccess : http://www.freewebmasterhelp.com/tutorials/htaccess/1

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

share|improve this answer