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

link|improve this question
1  
There are six questions in this one post. And they all belong on serverfault. – cdhowie Aug 19 '11 at 4:48
feedback

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. See the FAQ for guidance on how to improve it.

1 Answer

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

link|improve this answer
feedback