Forums / Cotonti / Extensions / [RELEASE] Cotonti Awesome mod_rewrite URL System

HarryRag
#10715 2009-03-29 23:36
Ok, that saves me a lot of testing ;-)
Will be going to test later tonight then when the site is on low visitor hourz.

Just one other question, i was using the "save admin" for admin.php to restrict the acces to it and "gensitemap" (one of Tefra's plugins), can i still use this structure in .htacces?

RewriteEngine On
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ plugins/gensitemap/datas/index.php?s=$1 [L]

<Files .htpasswd>
  deny from all
</Files>

<Files admin.php>
   <Limit GET POST PUT>
      require valid-user
   </Limit>
   AuthName "Access is Restricted"
   AuthType Basic
   AuthUserFile /locationtositeonserver_madeitlikeshitfornowasexample/anotherfolder/.htpasswd
</Files>
[center][url=<a href="">http://www.true-gamers.nl]True</a> &amp; Honest Gamers[/url][/center]