Discussion
FB3 Beta 14(back to index)This one might be buggy for some of you, but it adds some nice functionality and should finally be PHP-as-CGI compatible. Check out the URL structure of the preview blog. You can do it yourself with the following .htaccess code:
# Start folderblog redirecting
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ fb.php?p=$1
#End
posted by
donald on 8 Jul 05 at 6:56 PM
Here is a much better version of the code:
# Start folderblog redirecting
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -d
RewriteCond %{REQUEST_URI} !/$
RewriteRule ^.*$ %{REQUEST_URI}/ [R,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d [OR]
RewriteCond %{REQUEST_FILENAME} /preview$
RewriteRule ^(.*)$ fb.php?p=$1
#End
Where "preview" is your folderblog directory (possibly "public_html" if your folderblog is installed in your root directory), and "fb.php" is your folderblog filename.
posted by
donald on 9 Jul 05 at 3:55 AM
Post a Reply:
(back to index)