The popular open-source Web server application, an implementation of which is included in Mac OS X.

learn more… | top users | synonyms

4
votes
1answer
213 views

Changing OS X's Apache settings to replicate Ubuntu's Apache environment

I've been using an Ubuntu distro for a few years now and I greatly prefer the default Apache2 settings on Ubuntu compared to OS X. This post aims to provide instructions on how to convert the few ...
2
votes
1answer
566 views

What permissions to host website for OS X Server?

I am trying to install Dropplet on my Mavericks Server. I have created the site in Server and copied the files to the root directory. When I go to configure it, I get the following error, "It seems ...
2
votes
1answer
209 views

How can I make existing permissions apply to new files?

I have an SSD that I have created two partitions on. The first is used for the OS X to install the OS (Mavericks) and the other to place all the source of code of my projects and data that I don't ...
2
votes
1answer
756 views

Apache problem with hostname on OSX 10.8.4

After updating to 10.8.4 I am having trouble running my macports apache server. I stop the built-in apache with: sudo apachectl stop, then I try to start macports apache with: sudo ...
1
vote
1answer
50 views

Where to put VirtualHost files for brew's httpd24?

I have installed httpd24 via brew by running brew install httpd24 However I am not sure where to put a virualhost definition files in the file system. I ran this command /usr/local/bin/apachectl -S ...
1
vote
1answer
124 views

What Is The Path Where Apache Is Located?

When I check logs (Apache, Ruby on Rails) it appears that my development Mac Mini Server is being scanned. I would like to install mod_security. I'm currently running the latest version of Mavericks ...
1
vote
1answer
616 views

Uninstalling all instances of apache, php and mysql

So When I first got my mac mini, I installed things like apache, mysql and php - not knowing that apple either came with these or had a tool called mamp that would allow you to run these. I thought ...
1
vote
1answer
954 views

How to install mod_pagespeed on Apache Server on Mac?

I'm trying to install mod_pagespeed for Apache server, but I can find instructions only for Linux. Is there any tutorial or description on how to do it on Mac?
1
vote
1answer
157 views

Apache truncates files at 65536 bytes after Mavericks upgrade

I was using a mac-ports based LAMP stack before upgrading to Mavericks from Mountain Lion and all was fine.. After the upgrade, apache has started truncating static files.. If I use curl to fetch a ...
1
vote
1answer
1k views

Apache bonjour module and Sites folder template

I just upgraded to Lion and because I do web design, first thing I did was turning on Web Sharing to get Apache running. While checking the logs I found that the Bonjour module can't find a file and ...
0
votes
1answer
43 views

how to do clean apache2 installation

I have messed out a lot of things with currently installed apache. It doesn't work at all. So, I want to delete apache completely and re-install everything. I want to do completely clean installation. ...
0
votes
1answer
21 views

Run Node commands for _www user

I've installed NodeJS for all users on my Mac and when I do a whoami in the terminal it says 'cameron' and I can access node, npm, and grunt globally. However when I try and run these from PHP e.g. ...
0
votes
1answer
31 views

How to get Time Machine to include files in /var/log in a backup

I have Apache2 web access logs that are created in /var/log/apache2/ that I want to preserve forever so that a web statistics analyser can process them and show me how page hits are changing over a ...
0
votes
1answer
147 views

Error when installing Apache 2.4, PHP 5.5 and MySQL via Homebrew

I tried to install Apache and PHP on Mac OS X version 10.9.5 brew install httpd24 php55 --with-mysql --with-homebrew-apache --homebrew-apxs -v exit with this error ...
0
votes
1answer
81 views

Change Apache root directory

I am having problems changing the Permissions on the "username.conf" file in the /etc/apache2/users/ folder. It needs to have the permission of -rw-r--r-- 1 root wheel 298 Jun 28 16:47 ...
3
votes
0answers
260 views

Allow access to www.bbc.co.uk/cbeebies, but not www.bbc.co.uk

I'm using OS X Parental Controls to limit what my son can do on our Mac. He has his own user account, managed by the Parental Controls. Under Website Restrictions, I've chosen "Allow access to only ...
2
votes
0answers
61 views

Installing a different version of Apache and PHP

I have OS X Yosemite, it comes with default Apache 2 and PHP versions. I want to set up a development environment with older version of Apache (2.2) and PHP (5.3). I have a product set up running on ...
1
vote
0answers
56 views

Only able to access HTTPS sites; MAMP Apache Server not able to start

Hope this is the right part of StackOverflow for this question. If there's a better forum for this please let me know. I'm using Mac OSX 10.10.1. The browser version is irrelevant, as I can cURL or ...
1
vote
0answers
193 views

Apache/PHP can't resolve localhost

After upgrading to Yosemite, I'm having an issue with Apache and PHP running locally. PHP can't find my local database server using localhost but it can if I specify 127.0.0.1 or test.dev (which ...
1
vote
0answers
143 views

Can Apache 2.2.24 from MacPorts 2.1.3 run stably on Server 10.6.8 Build 10K549 with symlinked targets?

Mac OS X Server 10.6.8 Build 10K549 running Apache 2.2.24 via MacPorts 2.1.3. Native Mac OS X Server http server disabled. The error message I'm getting in the log is as follows: [Tue Aug 13 ...
1
vote
0answers
141 views

Mac 10.7.3 Web Sharing Won't Start

When I turn it on it says "starting" for a split second and then turns back off. I reinstalled Lion and it still happens. Trying to start it from the command line: cade:~> sudo launchctl load -w ...
1
vote
0answers
121 views

Restore Apache settings

I messed up my apache configuration files, is there some way to restore the apache config files (httpd.conf etc..) to default settings? (I'm using Apache that comes shipped with OS X 10.8.2)
1
vote
0answers
95 views

Setting the config for PHP 5.3.15 and above

I have PHP 5.3.15 running on my Mac (OS 10.8.2). I have Apache running with virtual hosts. Also, I've installed FreeTDS for connecting to MSSQL. I still need to configure the /php/ext/mssql to run ...
1
vote
0answers
833 views

How can I delay loading of a launchd Launch Daemon on boot?

I am running OS X Server 10.7.5 on a Mac Mini and I cannot get MacPorts’ Apache2 to start on boot. I have ensured that the Apple-supplied version of Apache is not launching and I have also ensured ...
1
vote
0answers
437 views

openURL not working?

I have my apache2 server running on my macbook pro and I have an ssh session into my iphone which runs on iOS 5.0.1. I have a folder "files" in my webroot which has a few mp3 files. When I try ...
1
vote
0answers
370 views

Setting up Lion Server on iMac but can't get remote access to the server via my associated domain name

I have been following wegotserved.com tutorial on setting up Lion Server and have hit a wall. I have static IP address which is associated with my domain name. When I try to access my domain through ...
0
votes
0answers
14 views

Trying to Install WWW:Mechanize and Getting Localhost Error

Okay . . . I've been trying to install WWW::Mechanize through CPAN and it always chokes at this line: t/local/back.t ........... 1/47 Error GETing http://localhost:60603/: Can't connect to ...
0
votes
0answers
89 views

Mac OS 10.10 httpd.conf file

I messed with my httpd.conf file, and I'm not sure what the original one looked like. Can someone upload a copy of their httpd.conf file so I can switch the text in mine with theirs?
0
votes
0answers
108 views

Can't see Dropbox folder within localhost

I've setup Apache for web development on Yosemite. It's setup fine and I'm able to view folders within my documentroot using http://localhost as I'd expect to. I now want to use my Projects folder ...
0
votes
0answers
207 views

Apache Error after Upgrade to Yosemite

I upgraded to Yosemite shortly after it was released. It ran fine for over a month. At that point I had to do some web site development work and found that I couldn't access my sites. After making ...
0
votes
0answers
94 views

Issues with setting up Munki

Ran into this issue while I was trying to get Munki up. I'm hosting it on a Mac running Yosemite, Server 4, and DeployStudio 1.6.12 if that helps. If I set the Mac Client's SoftwareRepoURL ...
0
votes
0answers
163 views

How to use PHPstorm with Apache of XAMPP?

The above is what the configuration looks like, but when I click on Open it gives me a forbidden message I tried to do the following not he terminal, because I read that forbidden could mean that ...
0
votes
0answers
141 views

A shell script to open files as root in an IDE?

What I'm trying to do: open multiple system (Apache and PHP config) files to edit in my IDE of choice (Coda). The files are owned by the system, so root permissions are needed to edit them. sudo ...
0
votes
0answers
465 views

Apache local domain not resolving [hosts are being ignored]

I'm having issues getting a local domain to resolve. In chrome when trying to load http://dashboard.example.local I get the following error code: DNS_PROBE_FINISHED_NXDOMAIN But it's the typical ...
0
votes
0answers
63 views

running apache without MacOS Server package

I bought the MacOS Server package since I thought I needed it for something. I than deleted it. Before I had this package I used appache and had a configuration that worked. Due to the installation of ...
0
votes
0answers
86 views

Can I Listen to both ports 80 and another one for web hosting in Apache without impacting current Apple functionality on Mac Mini Server?

I use a Mac Mini Server running Mavericks where I current host five websites. One is hosted in the Server app. The others are Ruby on Rails applications using Phusion Passenger. Since my AT&T ...
0
votes
0answers
29 views

Why doesn't Apache show up under Firewall (System Preferences » Security)?

Why doesn't Apache show up under Firewall settings, and are there other programs that aren't showing up here? (outside of those that are inclusive of "basic internet services", e.g. DHCP, Bonjour, ...
0
votes
0answers
122 views

Having trouble installing apache ant on mac os 10.9

In the terminal when I type 'ant' I get this back: The program 'ant' can be found in the following packages: * ant * ant1.7 Ask your administrator to install one of them How do I, the administrator, ...
0
votes
0answers
206 views

Terminal freezes because of corrupt file

I wanted to edit the httpd.conf from apache2. I wanted to uncomment the php5 load line so it gets included. I started the terminal and used sudo nano /etc/apache2/httpd.conf to edit the file and ...
0
votes
0answers
168 views

Compare Apache Settings on Different Machines?

Is there a way to easily compare the Apache settings for two machines? I have a MacBook Air and an iMac, both running 10.9.1. On both machines, I am trying to run a site via localhost. ...
0
votes
0answers
511 views

Apache not running on my machine on OS X 10.7.5

After doing tail -20 /var/log/apache2/error_log: [Fri Sep 13 03:14:30 2013] [error] [client ::1] client denied by server configuration: /Library/WebServer/Documents/ [Fri Sep 13 03:17:00 2013] ...
0
votes
0answers
503 views

localhost MAMP OS X 10.8.4 upgrade tips

Follow the instructions exactly at http://documentation.mamp.info/en/mamp/installation/updating-mamp... 'COPY' and do not drag folders across to htdocs or from one folder to another. I dragged a ...
0
votes
0answers
136 views

I am having trouble getting apache to work via terminal on mac os x 10.8.3

I am a beginner with the terminal app. - I think , while following a tutorial for creating a user configuration file for apache, that I messed something up internally with apache. I cannot even access ...
0
votes
0answers
156 views

Web Sharing not getting enabled in MAC OSX10.7.4

I have tried enabling Web Sharing in MAC OSX 10.7.4, but after clicking to check it uncheck it self. I know there's a similar question for it, that is, Web Sharing (Apache) won't turn on in Lion. ...
0
votes
0answers
166 views

Editing $PATH variable for apache on mountain lion

I've just installed ImageMagick using macports and am trying to use it from a php site running on Apache, but nothing I do works to add /opt/local/bin:/opt/local/sbin to my path. So far I've tried ...
0
votes
0answers
412 views

How do I switch which instance of php is used on my Mac?

I have three installed versions of php on my Mac. When I check using phpinfo() via a web browser, the one that is being invoked is version 5.3.15. I would like to switch it to the installed instance ...
0
votes
0answers
2k views

How can I ask Mountain Lion to have apache2 recognize .cgi and execute it as a CGI script?

I've upgraded from Lion to Mountain Lion, and have noticed as a result of the upgrade, besides my screen saver saying it won't work on this version of OSX, Apache is displaying the private web ...
0
votes
0answers
826 views

Web Sharing won't start after I enable vhosts

This is the first time I've ever used apache, so there's a pretty good chance I'm doing something horribly wrong. I followed some instructions online to edit /private/etc/apache2/httpd.conf make my ...
0
votes
0answers
71 views

apachectl Yields 404 on Shortname, Base Directory Pages

I am building a website for my own education, and am trying to learn Apache. Consequently, I've noticed an odd behavior I was hoping someone could explain. Basically, when I start Apache via ...
0
votes
0answers
203 views

Apache starts even if web sharing is disabled

I do web development so I normally have web sharing turned on in the sharing preferences. After upgrading to Lion I have been continuing with the web development projects I have pretty much as ...