I solved the problem.

I have in the .htaccess file in the root directory (../public_html/)

RewriteEngine On
RewriteCond  %{HTTP_HOST}   ^domainA.comt$
RewriteRule   ^(.*)$  /home/user/public_html/siteA/$1

but then in the /siteA subdirectory, I now have another .htaccess file with
only:

RewriteEngine Off

Then everything works perfectly!

Thanks to everyone for your suggestions.  It is possible to create a
"virtual" virtual named host without write access to httpd.conf on a shared
hosting environment.

-Hank

Reply via email to