Re: Apache/websharing enabled?
Re: Apache/websharing enabled?
- Subject: Re: Apache/websharing enabled?
- From: Sander Tekelenburg <email@hidden>
- Date: Mon, 9 Feb 2004 19:49:47 +0100
At 10:53 -0700 UTC, on 2004/02/09, Gnarlodious wrote:
>
I want to open a file as a webshare file (through Apache).
>
http://127.0.0.1/~user/index.html
>
>
Ideally, I want to open the file as loopback only if websharing is on.
>
I there a shell script to check Apache and/or websharing?
set ApacheUp to false
set the_process to do shell script "ps -ax | grep httpd"
if the_process contains "/usr/sbin/httpd" then
set ApacheUp to true
end if
return ApacheUp
--
Sander Tekelenburg, <
http://www.euronet.nl/~tekelenb/>
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.