-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Hans, On Dec 18, 2007, at 12:43 AM, Hans Tovetjärn wrote:
I'm a bit new to this, but here goes. My computer is a MacBook Pro with Mac OS X 10.4.11, I am not using the bundled Apach 1.3 server, it has not been activated prior to this. I installed Apache 2.2.6 (as well as PHP and MySQL...) through MacPorts (DarwinPorts) and it has been working flawlessly. It is when I attempt the following I can't make it work.I have a fancy prompt in Terminal, which displays "username@hostname>", however, I would like the hostname to be the computer name, i.e. I want it to look like "hans@laptop>", because the current hostname is "host-xx-xxx-xx-xxx" which can clutter up the screen a bit too much for me. Now this I solved by typing...> sudo hostname laptop...but after that, I can't seem to start Apache. If I change it back to "host-xx-xxx-xx-xxx", all is well. [...]
On my Tiger system, start System Preferences -> Sharing (which is in the tab Internet & Network) and set your hostname there. The bare Unix 'hostname' command isn't the only place where MacOSX keeps the name of the system. The Preferences pane updates all.
Hope this helps, -- Karel Kubat / M +31 6 2956 4861 (+31 6 AWK 6 HUM 1) From the duffynitions collection: Catifornia: The sunshine State for cats. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) iD8DBQFHZ3yE23FrzRzybNURAtfOAJ9JCbvcSfvf8BXXbIj7Fpyd1tsaPwCePg7v lwZkzrTfKKYZnCYQXM/+lyw= =iE8t -----END PGP SIGNATURE----- --------------------------------------------------------------------- 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