Prestashop 1.5 Redirect Problem

I have a working Prestashop (PS) 1.5 installation that I have ported over to a VMware Fusion VM.  The path on this VM is different so the html code is in a subdirectory.  On the original install it was at the root level.

/var/www/html/thp/

I keep getting errors like this
[Thu Oct 08 21:17:45 2015] [client 127.0.0.1] File does not exist: /var/www/html/modules, referer: http://localhost/thp/

I need it to look like this
/var/www/html/thp/modules

I changed the settting in PS to this
https://gyazo.com/0cd0a6a5c292d683498bff3fd7d087a5

this is the regenerated .htaccess that PS built
RewriteEngine on
RewriteCond %{HTTP_HOST} ^localhost$
RewriteRule . - [E=REWRITEBASE:/thp/]
RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]

# AlphaImageLoader for IE and fancybox
RewriteCond %{HTTP_HOST} ^localhost$
RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [$
</IfModule>

This is running on Centos 6.7

I need to get this going to do some testing so please help me get this sorted out.

Thanks,
sharingsunshineAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sharingsunshineAuthor Commented:
I have solved this myself but don't know how to reflect that.

In MySQL there is a table

Table:ps_shop_url
fields:
domain i.e www.abc.com
domain_ssl i.e www.abc.com
physical_uri i.e /

I forgot to change the physical_ur to /thp/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
E-Commerce

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.