1 guchuj05 Feb 13, 2006 19:24
3 guchuj05 Feb 13, 2006 23:20
whoo wrote:
tag? what do you mean?
Well, when I looked in the file, the other code in there looked like this, for example:
<IfModule mod_dir.c>
DirectoryIndex index.php index.html
</IfModule>
So I didn't know if simply inserting
RewriteCond %{QUERY_STRING} disp=stats [NC]
RewriteRule ^.*$ - [G,L]
would work.
That is my question. If you have any suggestions, that would be great.
Thanks.
4 village_idiot Feb 14, 2006 11:46
those are 2 different types of entries, they arent equivalent.
the top one is using Apache's mod_dir (its in EVERY Apache install) and in fact the <tags>, as you called them, arent even necessary :)
The second entry is using mod_rewrite (its installed on 99.9999% of Apache installs). Youre prolly using it already to generate your permalink pages. :)
tag? what do you mean?