Re: silent URL redirect/cloak with mod_rewrite
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
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
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]