OT: quick apache question
Yusuf UZUNAY
yuzunay at yahoo.com
Wed Aug 20 00:23:35 PDT 2003
if don't give hostname in /etc/rc.conf like this
hostname="www.xxx.com"
and in /etc/hosts add these lines:
127.0.0.1 localhost.xxx.com localhost
1.1.1.1 www.xxx.com www
1.1.1.1 www.xxx.com
and last you can do this in httpd.conf file
ServerName www.xxx.com
Now Reboot Your computer!
Byee! ;)
--- Don Buckley <don at dfbtech.com> wrote:
> sorry for the OT, but
>
> I changed ISP's (telus.net to shaw) and my
> httpd-error.log is showing and
> error:
>
> mod_unique_id: unable to
> gethostbyname("hostname_from_/etc/rc.conf")
>
> There's a tweak somewhere for this but i forget
> where :P
>
> Thanks
>
> Don at dfbtech.com
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
More information about the freebsd-questions
mailing list