.htaccess question
I have an htaccess issue: I wish to add the some htaccess code to folder "b", but folder "b" already contains a .htacces file.the .htacces file currently in folder "b" contains:
Code:
php_value post_max_size 20971520 php_value upload_max_filesize 20971520 php_flag magic_quotes_gpc off php_flag register_globals on Options FollowSymLinks <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /members/gallery/ RewriteRule ^([^\.\?/]+)/([0-9]+)$ /members/gallery/view_photo.php?set_albu mName=$1&index=$2 [QSA] RewriteRule ^([^\.\?/]+)/([A-Za-z_0-9\-]+)$ /members/gallery/view_photo.php? set_albumName=$1&id=$2 [QSA] RewriteRule ^([^\.\?/]+)/$ /members/gallery/$1 [R] RewriteRule ^([^\.\?/]+)$ /members/gallery/view_album.php?set_albumName=$1 [QSA] </IfModule>
Code:
AuthUserFile /dev/null AuthGroupFile /dev/null RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://xxx.xxx.xxx.xxx [NC] RewriteCond %{HTTP_REFERER} !^http://xxx.xxx.xxx.xxx [NC] RewriteCond %{HTTP_REFERER} !^http://www.site.com/ [NC] RewriteCond %{HTTP_REFERER} !^http://site.com/ [NC] RewriteRule /* http://xxx.xxx.xxx.xxx [R,L]
thanks
