Actually i've got a php program for bbs and blog. One of file for blog has a problem.
.htaccess -
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^([a-zA-Z0-9_]+)$ blog/index\.php\?mb_id=$1
RewriteRule ^([a-zA-Z0-9_]+)/([0-9]+)$ blog/index\.php\?mb_id=$1&id=$2
RewriteRule ^([a-zA-Z0-9_]+)/([0-9]+)/([0-9]+)/([0-9]+)$ blog/index\.php\?mb_id=$1&yyyy=$2&mm=$3&dd=$4
RewriteRule ^([a-zA-Z0-9_]+)/([0-9]+)/([0-9]+)$ blog/index\.php\?mb_id=$1&yyyy=$2&mm=$3
RewriteRule ^([a-zA-Z0-9_]+)/tag/([^\/]*)$ blog/index\.php\?mb_id=$1&tag=$2
RewriteRule ^([a-zA-Z0-9_]+)/category/([^\/]*)$ blog/index\.php\?mb_id=$1&cate=$2
RewriteRule ^([a-zA-Z0-9_]+)/search/([^\/]*)$ blog/index\.php\?mb_id=$1&search=$2
RewriteRule ^([a-zA-Z0-9_]+)/rss$ blog/rss\.php\?mb_id=$1
RewriteRule ^([a-zA-Z0-9_]+)/tags$ blog/tags\.php\?mb_id=$1
RewriteRule ^([a-zA-Z0-9_]+)/page/([0-9]+)$ blog/index\.php\?mb_id=$1&page=$2
RewriteRule ^([a-zA-Z0-9_]+)/tag/([^\/]*)/page/([0-9]+)$ blog/index\.php\?mb_id=$1&tag=$2&page=$3
RewriteRule ^([a-zA-Z0-9_]+)/category/([^\/]*)/page/([0-9]+)$ blog/index\.php\?mb_id=$1&cate=$2&page=$3
RewriteRule ^([a-zA-Z0-9_]+)/search/([^\/]*)/page/([0-9]+)$ blog/index\.php\?mb_id=$1&search=$2&page=$3
RewriteRule ^([a-zA-Z0-9_]+)/([0-9]+)/page/([0-9]+)$ blog/index\.php\?mb_id=$1&id=$2&page=$3
RewriteRule ^([a-zA-Z0-9_]+)/([0-9]+)/([0-9]+)/([0-9]+)/page/([0-9]+)$ blog/index\.php\?mb_id=$1&yyyy=$2&mm=$3&dd=$4&page=$5
RewriteRule ^([a-zA-Z0-9_]+)/([0-9]+)/([0-9]+)/page/([0-9]+)$ blog/index\.php\?mb_id=$1&yyyy=$2&mm=$3&page=$4
RewriteRule ^([a-zA-Z0-9_]+)/preview/(.+)$ blog/index\.php\?mb_id=$1&preview=$2
RewriteRule ^([a-zA-Z0-9_]+)/guestbook$ blog/guestbook\.php\?mb_id=$1
RewriteRule ^([a-zA-Z0-9_]+)/guestbook/page/([0-9]+)$ blog/guestbook.php\?mb_id=$1&page=$2
</IfModule>
And this shows an error message.
Not Found
The requested URL /blog/blog/index.php was not found on this server.
Apache/2.2.9 (Unix) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h PHP/5.2.6 mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0 Server at www.myserver.com Port 80
This address was worked before moving from another site. I backed up and restoed, and bbs program working now, but I could not open this blog.
This address should be like - from "http://myserver.com/blog/mb_id/index.php" to "http://myserver.com/mb_id/index.php"
Any helpful comment for this would be appreciated.
Thanks in advance.