A newbie question

Ryan Schmidt ryandesign at macports.org
Wed Jul 18 13:23:36 PDT 2007


On Jul 18, 2007, at 11:14, Chris Pickel wrote:

> 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.

That's:

/opt/local/apache2/bin/apachectl configtest


>> 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.

Exactly right.




More information about the macports-users mailing list