A newbie question

Chris Pickel sfiera at macports.org
Wed Jul 18 09:14:52 PDT 2007


On 18 Jul, 2007, at 11:29, Jan Erik Moström wrote:
> I've just installed port and have installed apache2. Unfortunately,  
> it doesn't seem to work when I try to connect to it (127.0.0.1  
> gives a "can't connect" message).
>
> I think it's running since I have a process:
> /opt/local/bin/daemondo --label=apache2 --start-cmd /opt/local/ 
> et........

The daemondo process wraps other processes on 10.4 to adapt to  
programs that aren't written for launchd. Its presence doesn't mean  
that the thing it wraps is running, so if you don't see the actual  
process, it isn't.

If I recall, httpd has an argument meaning "check the configuration  
files". If you try to run it with some completely bogus arguments,  
I'm sure it will give you a "usage" statement that will tell you what  
it is.

> And I can't really figure out where the config files etc are for  
> the installation (I'm used to a standard linux installation), etc.
>
> So my question is: where do I find documentation of the different  
> ports, for example where conf files are stored?

`port contents apache2` lists all of apache2's files. Probably,  
there's a "httpd.conf.sample" in /opt/local/apache2/conf or something  
like that that will need to be copied to "httpd.conf", but I don't  
have the port to check.


Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20070718/83e8c391/PGP.bin


More information about the macports-users mailing list