Hi, I'm trying to install Apache web server on Mac OSX 10.6.8. On my first attempt with./configure, I was informed that my apr version was too old. So I downloaded apr and apr-util, and as. Install Apache for Mac OS X. Mac OS is ultimately built on Unix so its very easy to install any Unix supporting softwares. Even better part is that Mac OS X comes with apache web server and we just need to start it and make some changes to setup our development environment. We will start apache server with root user to avoid any permission issues. One of my blogs needed Apache HTTPD 2.4.x on Mac but quickly realized that the binaries are available only for Netware and Win32. Even the build instructions were only for RPM-based systems. So I downloaded the source code and started building it. Complete compile instructions are explained here.However there were some issues on Mavericks and so decided to document it.
Hereâs where to find
httpd.conf on Mac. This is the httpd.conf location on Mac OS X 10.6 Snow Leopard and Mac OS X 10.7 Lion. This article also shows how to make the httpd.conf directory visible in the Mac Finder.
What is Httpd.conf?
Httpd.conf is the Apache web serverâs main configuration file. Mac OSX ships with Apache installed. See Apacheâs configuration docs for how to configure Apache.
Httpd.conf Location on Mac
On Mac httpd.conf location is in the directory
/etc/apache2 . You can access this folder through the Mac Finder or through the Mac Terminal.
Checked on OS X 10.7, 10.6.8, 10.6.7.
Httpd.conf Location in Mac Finder
You wonât normally see even the
/etc/apache2 directory showing up in the Mac Finder. I tried looking in Macintosh HD , but /etc doesnât show up.)
I found a tip at Codejacked on how to open hidden files in the Finder.
Hereâs how to view httpd.confâs directory in the Macâs finder:
The Finder will show the
apache2 folder, and in it, youâll see httpd.conf.
Httpd.conf Location in Mac Terminal
Adobe pdf download free mac. You can also get to the httpd.conf file through a terminal session, which is okay if your comfortable in the Unix shell (
bash ):
Canât Save Httpd.conf?
Httpd.conf is protected by OSX from being edited. If you open it with the TextEdit application for example, you wonât be able to save it. For details to bypass this security, see How to Easily Edit Httpd.conf on Mac.
Restart Apache to Apply Configuration Changes
Donât forget you will need to restart Apache for your configuration changes in httpd.conf to be applied. To restart Apache on Mac:
In Symantec Endpoint Protection (SEP) 14.1. (14.1 ) and later, you have at least two options for downloading LiveUpdate (LU) content to Symantec Endpoint Protection clients for Mac and Linux.
Note: Linux client support is added with Symantec Endpoint Protection 12.1.5 and is only available starting with that release. Mac snow leopard dvd download.
Below are the instructions to set up the Apache web server in Symantec Endpoint Protection Manager to allow Symantec Endpoint Protection clients for Mac and Linux to download LiveUpdate (LU) content by the webserver. Please note that this solution enables Symantec Endpoint Protection Manager to act as a cache: it does not process Mac or Linux definitions into .dax files as it does with Windows definitions. It does not enable Symantec Endpoint Protection clients for Mac or Linux to update from a Group Update Provider (GUP).
Note: You can only make these configuration changes on the enterprise version of Symantec Endpoint Protection. These instructions do not apply to Symantec Endpoint Protection Small Business Edition 12.1 (SEP SBE).
Configure the Apache web server in Symantec Endpoint Protection Manager
Take the following steps to configure Apache web server to serve as a reverse proxy:
To test that the proxy server is running by downloading an LU file, click Start > Run, and then enter http://localhost:8014/luproxy/masttri.zip. If your Symantec Endpoint Protection Manager Apache web server uses a different port than 8014, replace 8014 with your actual port number in the above URL.
Note: While the massttri.zip file is requested via a local URL address, the request is passed to Symantec's public LiveUpdate server. Make sure that the connection to LiveUpdate web domains can be established from the Symantec Endpoint Protection Manager server according to TECH102059. The reverse proxy also requires a direct connection to Symantec's LiveUpdate servers - it cannot itself go through another proxy.
The LU download requests to the Apache web server are logged in a separate log file, located in SEPM_Installapachelogsaccess-%Z.log.
Update LiveUpdate policy for Mac and Linux clients to point to new LiveUpdate server
Take the following steps to update your LiveUpdate policy for Mac and Linux clients for your desired groups. Once the policy is updated, these clients will point to the newly configured Apache web server for downloading LU content.
Additionally, on SEP 12.1.x clients for Linux, edit the liveupdate.conf file and set serverlogging=false. SEP For Linux 14.0 does not require this setting. See TECH230862.
Managing cache file sizeDownload And Run Httpd Macros
To manage the size of your cache file, take the following steps.
![]()
This will run the htcacheclean tool in daemon mode. The cache cleaning will be done on a daily interval. The maximum cache size allowed on disk is 1 GB.
To automatically start the htcacheclean daemon every time Windows starts, take the following steps.
Download And Run Httpd Mac Os
Since the task does not run until you restart the system, you can run it now. In the Task Scheduler, right-click the task you created, and then click Run.
Download And Run Httpd Macos
Acrobat x pro download mac. Note: Ensure that the user account running the task has full control on the folder SEPM_Installapachecache-root.
Performance and scale
This configuration is designed for small numbers of Mac and/or Linux clients. You should only use this setup if there are only a few Mac and/or Linux clients and the network connecting clients and Symantec Endpoint Protection Manager has good bandwidth throughput. Assuming that each client downloads roughly 500KB of LU content on daily basis, 2000 Mac or Linux clients will result in a download of approximately 1 GB of LU content daily from the Apache web server. For configurations having large numbers of clients, you should consider an alternative like Symantec LiveUpdate Administrator.
Security and compatibility
Symantec suggests the use of only Symantec-signed binaries for Apache modules that are mentioned in this article. These signed binaries are available on the Symantec Endpoint Protection downloaded installation file. Note that the required binaries also get installed along with Symantec Endpoint Protection Manager for versions 12.1.4 and later.
![]()
For Symantec Endpoint Protection 14:
Because new vulnerabilities may be published after the publication of this article, please check the vulnerabilities published by the Apache project for the appropriate version of Apache web server: http://httpd.apache.org/security/
SEPM Upgrades
Note that upgrading the SEP Manager may reset or overwrite this configuration file. As such, post-SEPM upgrade ensure the changes made to httpd.conf are checked and corrected.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |