On 5/2/01 10:53 AM Scott Genevish (genevish@mac.com) wrote:
>Can someone help me install the new 5.0 version on OSX? > >More specifically, what do I put for the log file location? I tried >/var/log/httpd/*_log but it says the file couldn't be found. The docs >reference using a colon between directories, which isn't used on OSX...
That depends on which version of Analog you are trying to configure. The Carbon version of Analog does use ':' as a directory seperator, while the command line (Mach) version of Analog uses '/'. Both are equaly native, Apple has combined elements of Unix and Classic MacOS in OS X.
Meanwhile, Apple in their "infinite wisdom" has made /var/log/httpd invisible to Carbon applications. There isn't any way you can specify that location from a Carbon app, even though it exists. There is a workaround, simple enough but annoying none the less. Make a symbolic link to /var/log/httpd from somewhere that Carbon apps are allowed to access, such as your home directory or the Analog folder. Then you can specify LOGFILE "MacOS X:Users:scott:logs:*_log" or whatever the equivilent is on your system.
On yet another hand, the default location for Apache log files isn't /var/log/httpd but rather /Library/WebServer/Logs/. That is a place you can specify in a Carbon application, use something like LOGFILE "MacOS X:Library:WebServer:Logs:apache_access_log*". Of course you need to subsitute your own volume name.
To get the lattest version of Analog for MacOS X: for Carbon (GUI): <http://summary.net/soft/analog.html> for Mach (command line): <http://www.reppep.com/~pepper/analog/>
Good Luck Jason
----------------- Jason@Summary.Net ----------------- Dr. Seuss books . . . can be read and enjoyed on several levels. For example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed as a searing indictment of the narrow-minded binary counting system. -- Peter van der Linden, Expert C Programming, Deep C Secrets
+ | To unsubscribe from this | mailing list, go to | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | List archives are available at | http://www.mail-archive.com/analog-help@lists.isite.net/ | http://lists.isite.net/listgate/analog-help/archives/ | http://www.tallylist.com/archives/index.cfm/mlist.7 +