由于.htaccess导致404错误

I copied our live project to a sub directory. But when i am trying to run it, It's showing 404 error. I did required changes in .htaccess file, But its still showing /Publish/index.php page not found.

I checked file and folder is exist and have 755 permissions. Don't know why its showing 404 error.

Here is my .htaccess file code.

RewriteEngine on
RewriteBase /var/www/site/serp/httpdocs/
RewriteRule ^robots.txt /robots-development.txt
RewriteRule ^robots.txt /robots-development.txt
RewriteRule ^index.htm([^/]+)/$ /Publish/index.php?lang_value=$1 [NC]
RewriteRule ^index.php$ /Publish/index.php [NC]
RewriteRule ^index.htm$ /Publish/index.php [NC]

NOTE:- I cant restart apache server. So i can't add anything in apache conf files.

Your RewriteBase seems wrong as it should be relative path from your DocumentRoot:

RewriteEngine on

RewriteRule ^robots\.txt$ robots-development.txt [L,NC]

RewriteRule ^index\.htm([^/]+)/$ Publish/index.php?lang_value=$1 [NC,L,QSA]

RewriteRule ^index\.php$ Publish/index.php [NC,L]