htaccess
Posted by: pavel_tkachev
Posted on: 2008-07-13 02:22:00
Help with a file htaccess. I should combine a code in htaccess for use php.ini and my old code.
My code:
AuthType Basic
AuthName "Admin"
AuthUserFile/home/www/z57053/vandetolk/admin/.htp
RewriteEngine on
RewriteCond % {REQUEST_URI} / (i|css|admin|forum|utils)/.*
RewriteRule. - [L]
RewriteRule (. *) index.php [L]
For php.ini code:
Options +ExecCGI-Indexes +FollowSymLinks
<FilesMatch "php (.?) \. (cgi|ini) $">
Order Deny, Allow
Deny from All
Allow from env=REDIRECT_STATUS
</FilesMatch>
Help, please.