Hi,
I trying to follow:
http://wiki.contribs.org/Htaccess. I want to change the domain name from abc123.com to
www.abc123.com. The problem is that it doesn't work for me. [I must be doing something wrong, but I don't know what] ABC123.com is a testing ground. I created a domain abc123.com [pointing to ibay: testing] with "Domain DNS servers: Resolve locally" and it works.
* I have created the nano -w 50AddSecureIbayFolder and I added:
<Directory /home/e-smith/files/ibays/testing/html>
Options +FollowSymlinks
RewriteEngine on
RewriteCond %HTTP_HOST ^abc123\.com$ [NC]
RewriteRule ^(.*)$ http://www.abc123.com/$1 [L,R=301]
</directory>
and then
expand-template /etc/httpd/conf/httpd.conf
service httpd-e-smith restart
I do see that code in the:
/etc/httpd/conf/httpd.conf
but it's in a separate area, toward the beginning (line 288) but the virtual hosts for abc123.com starts on line 760.
BTW, abc123.com is strictly HTML, no php, just html files
Thanks
Syv