blosxom :: the zen of blogging | ||||||
|
Additional remark to the cgi hiding mechanism: ensure that all URI-s remain hidden
Two additional point to
CGI hiding
This may be an obvious remark, but it took me some time to realize that: if only the .htaccess file is changed with the rewrite rule, the blosxom script itself would still use the 'original', ie, cgi-bin URL in all derived addresses. It is therefore important to set the $url variable to the base URL (ie, /weblog in that example).
The other, useful note: if this rewrite and base URI redefinition is used, it becomes easy to set a user/passwd to a blog (sub)tree: just use the standard htaccess mechanism of your server!
Author:
Ivan Herman Category: /faq/cgi Date: 2004-01-03 |
|||||