ลองเปลี่ยนบรรทัด
RewriteCond %{HTTP_HOST} ^forum.yimpaen.com$ [NC]
เป็น
RewriteCond %{HTTP_HOST} ^forum\.yimpaen\.com$ [NC]
ล่าสุดโค้ดเป้น
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^forum\.yimpaen\.com$ [NC]
RewriteRule ^([^/]+)/?$ /forum.php?f=$1 [L,QSA]
ผมทดสอบ
http://forum.yimpaen.com/yim_ads/ มันฟ้องแบบนี้ครับ
Not Found
The requested URL /yim_ads/ was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2 Server at forum.yimpaen.com Port 80