Sam Wootton wrote:
2009/2/26 Lester Caine <lester@xxxxxxxxxxx <mailto:lester@xxxxxxxxxxx>> Sam Wootton wrote: Hi, Many thanks for the help. I tried that, and i still got the same problem. However, it could be being cached i guess. Is what you suggested a sure fire way to fix my problem? If so, i'll wait until i am home to test it properly. <VirtualHost *> ServerName example.com <http://example.com> ServerAlias www.example.com <http://www.example.com> </VirtualHost>* Should work If you move to a live site, then the IP address will be for the domain without a www extension anyway.-- Lester Caine - G8HFL----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx <mailto:users-unsubscribe@xxxxxxxxxxxxxxxx> " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx <mailto:users-digest-unsubscribe@xxxxxxxxxxxxxxxx> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx <mailto:users-help@xxxxxxxxxxxxxxxx> Hi, Many thanks for the help. Krist, I rand httpd -s and got: Processing config directory: /private/etc/httpd/users/*.conf Processing config file: /private/etc/httpd/users/+entropy-php.conf Processing config file: /private/etc/httpd/users/snapple.conf VirtualHost configuration: 192.168.1.68:80 <http://192.168.1.68:80> is a NameVirtualHostdefault server www.example.com <http://www.example.com> (/etc/httpd/httpd.conf:1104) port 80 namevhost www.example.com <http://www.example.com> (/etc/httpd/httpd.conf:1104)Lester, i'm not sure what you mean by:"If you move to a live site, then the IP address will be for the domain without a www extension anyway."It is on a live site. Sorry - a little confused here.
DNS servers will provide IP address for the base domain name ... so in my case medw.co.uk has an alocated IP address, and I allow www.medw.co.uk as an alias, although <anything>.medw.co.uk still reaches the same apache server ;)
-- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx