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.


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

I need it to look like this

I changed the settting in PS to this

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 [$

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.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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

domain i.e
domain_ssl i.e
physical_uri i.e /

I forgot to change the physical_ur to /thp/

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

From novice to tech pro — start learning today.