apache config

Fórumok

hello!
szeretnék rendszeremre apachot telepiteni hogy tudjam gyakorolni php-t meg mysqlt-t.
már fel is raktam de a configolási részében elakadtam picit.

rendeszerem: FreeBSD 6
nekem csak annyira van szükségem hogy ha beirom 127.0.0.1 akkor menjen a dolog!

> cat /var/log/httpd-error.log
> [Sat Mar 4 01:00:43 2006] [alert] mod_unique_id: unable to gethostbyname(""

Elore is köszi!

Hozzászólások

Próbáld kiadni ezt az utasítást, utána elvileg menni fog:

echo 127.0.0.1 `hostname` >> /etc/hosts

az utasitas lefut azzal nincs baj, de az eredményen nem változtat!
:(
> # echo 127.0.0.1 'hostname' >> /etc/hosts
> # /usr/local/sbin/apachectl start
> /usr/local/sbin/apachectl start: httpd could not be started

> # cat /var/log/httpd-error.log

> [Sat Mar 4 12:33:04 2006] [alert] mod_unique_id: unable to gethostbyname("")

workaroundkent pedig kapcsold ki a mod_unique_id -t :)

a workaround azt jelent, hogy nem a hiba megoldasa, hanem egy atmeneti gyors segitseg. azzal, hogy kivetted a mod_unique_id-t a kerdeses hibat megszuntetted, de nem ok nelkul rinyalt az apache. elo fog ez meg jonni mas vonatkozasban. tehat harcra fel s deritsd ki mi okozza azt, hogy nem talal host nevet a gepedhez. s utana batran visszakapcsolhatod a fenti modult.

Ez normális hogy ez jön be?

Not Acceptable
An appropriate representation of the requested resource / could not be found on this server.

Available variants:
# index.html.ca , type text/html, language ca
# index.html.cz , type text/html, language cs
# index.html.de , type text/html, language de
# index.html.dk , type text/html, language da
# index.html.ee , type text/html, language et
# index.html.el , type text/html, language el
....

Apache/1.3.33 Server at http://localhost Port 80
????????