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

learn more… | top users | synonyms

0
votes
1answer
106 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 ...
2
votes
1answer
1k views

Configure Yosemite Server WebApp with LaunchD

Question Has anyone successfully been able to start a webapp via a webappctl configuration which specifies a launchd configuration in their webapp.plist launchKeys key? Background Specifically, ...
2
votes
0answers
129 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 ...
0
votes
0answers
749 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?
2
votes
1answer
3k views

Can't find my apache error_log folder

new Mac (Yosemite) and setting up a new dev environment. At the moment cannot find any error_log folder at the following paths: /var/log/apache2/error_log /private/var/log/apache2/error_log ...
0
votes
1answer
218 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 ...
2
votes
1answer
2k views

Can't access apache-powered website at localhost

I was trying to enable php, mysql, apache on my macbook pro running yosemite. I followed this guide but it doesn't run. What's wrong in setting up a local web server on OS X Please help.....I get an ...
1
vote
1answer
496 views

Multiple .local hostname on one computer

Is possible setup multiple .local hostname on one physical computer? Background: home network (behind the DSL/NAT router) (192.168.1.*) have a mac-mini, called as "tango.local". (set in the ...
1
vote
1answer
155 views

I Would Like To Host an HTML Website Without Using Server.app

I am somewhat a novice when it comes to the Apache web server. I currently host Ruby on Rails applications on my Mac Mini Server (Mavericks) using Phusion Passenger. I know that some of the config ...
0
votes
1answer
174 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 ...
1
vote
0answers
90 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 ...
0
votes
2answers
726 views

Can't tell if apache is running on Mavericks

Why can't I see httpd in activity monitor nor top in Mavericks?
4
votes
1answer
7k views

Reset or Uninstall Yosemite Server

I installed Yosemite Server and I had previously configured the Apache for web development. Now, It seems that the configuration and everything is messed up. How can I reset my web server ...
0
votes
3answers
104 views

Enabling Apache

I cannot find the web sharing option in the system preferences under "Sharing"(where the web sharing is supposed to be). I am using Mac Os x 10.9.4
0
votes
2answers
2k views

Apache running on Yosemite not working as expected

I plan to use both /Library/Webserver/Documents and ~username/Sites/. I have phpmyadmin folder in /Sites directory. If I go to http://localhost/~username/phpmyadmin it works, but if I go to ...
0
votes
0answers
164 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 ...
1
vote
1answer
220 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
0answers
334 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 ...
6
votes
1answer
1k views

Start Apache httpd on boot

Since upgrading to Yosemite, Apache httpd is no longer started at boot time. I've tried: sudo launchctl load org.apache.httpd.plist but I'm getting a service is disabled error. I've modified the ...
2
votes
1answer
2k views

Apache2 no longer working in Yosemite

After upgrading OSX to yosemite, my local apache2 server is no longer working. Running sudo apachectl restart does not give any error, however nothing is running on localhost:80, and nothing is ...
0
votes
2answers
40 views

Can I replace Apache with a different web server?

I have often wondered why Apache is installed on my Macbook. I have been working with web development for several years and often wondered; why does Apple install Apache on a Macbook. Recently I have ...
0
votes
0answers
246 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 ...
4
votes
4answers
6k views

phpMyAdmin 403 Forbidden Error after upgrade to Yosemite

I upgraded my Mac to Mac OS X Yosemite. I had a AMP stack installed via Homebrew on Mavericks and it worked fine. After upgrading to Yosemite, I have the following problems: when trying to load ...
1
vote
2answers
3k views

Ho To Disable ssl3 in OSX Server (for mail and Web hosting)

how do i Disable the ssl3 cipher in OSX Server so as to not be vulnerable for POODLE ?
2
votes
1answer
196 views

Can my web app use a UNIX socket on OS X Server?

I'd rather have my Mavericks web app use a UNIX domain socket instead of a TCP port to effect a reverse proxy. I've tried using variants of the Apache syntax for UDS in the proxies section of the web ...
0
votes
0answers
912 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
1answer
755 views

OSX 10.9.5 upgrade causes apache/php downgrade

Today I installed the OSX 10.9.5 upgrade and it appears to have downgraded my Apache and PHP version. Is there an easy way to reverse this unwanted downgrade? Or do I have to reinstall apache via ...
0
votes
2answers
5k views

Opening apache conf file with write permissions

I'm trying to open the /private/etc/apache2/httpd.conf file to make some changes. I thought I'd be able to open this with the correct permissions from the command line, so I tried: cd ...
1
vote
1answer
7k views

Where is the index.html on OSX 10.9 (Mavericks) Apache setup?

I've started up Apache on my Mac and get the "It works!" message, but I have no idea where that file is. I've checked the httpd.conf file and the location listed is: DocumentRoot ...
0
votes
1answer
450 views

Updating Native Mac OSX Mavericks Apache 2.2 to 2.4 - disabling old version?

I have a small problem when I try to update to the new version of Apache WebSrvr on my Mavericks Mac. I compiled and make installed to a different folder than the native: /usr/local/apache24/. which ...
4
votes
1answer
357 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
731 views

Installing Apache Hadoop on Mac Mavericks

I am having a real hard time installing Apache Hadoop(2.4.1) on my Mac(OS 10.9).Is there any step to step guide that fully explains and more importantly gets Hadoop running on my machine?. I followed ...
0
votes
1answer
1k views

Username.conf rules to fix 403 error

I am setting up a webserver but I am currently receiving a 403 error when browsing to Localhost. I am setting up "username.conf" and I have a couple of questions: Since I am not logged in as a user ...
0
votes
1answer
2k views

XAMPP on Mavericks install APC and Memcached

What I already did: Download latest stable release from pecl.php.net with wget- Unpack archive Run phpize, ./configure, make, make install, etc.. That stuff went well, now I have: ...
0
votes
2answers
2k views

Enable ~/Sites Folder

I have been following this tutorial in order to setup my local ~/Sites folder. /etc/apache2/users/carloabelli.conf: <Directory "/Users/carloabelli/Sites/"> Options FollowSymLinks Indexes ...
0
votes
0answers
167 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, ...
2
votes
3answers
5k views

Virtual Hosts Not Working on OSX Mavericks

In Mac OS X 10.9.3 I've Included http-vhosts in httpd.conf # Virtual hosts Include /private/etc/apache2/extra/httpd-vhosts.conf I've commented out the DocumentRoot and the Directory in httpd.conf ...
1
vote
1answer
129 views

HTTPS POSTS sometimes not getting to apache

On OS X 10.8.5, I have apache fronting a web app that communicates with Authorize.net. After Authorize.net completes a transaction it posts back to my app with confirmation information. 97% of the ...
8
votes
6answers
37k views

problem accessing localhost on Mac OS X Mavericks…it was working fine until I rebooted today

I am perplexed about the problem I am having and would really appreciate help resolving it. I have an iMac running Mac OS X Mavericks 10.9.2 I have set up my apache to serve documents from the ...
2
votes
2answers
2k views

How to install memcache on Mavericks? (MAMP)

I have MAMP on my machine, and I would like to install memcache for php, because one of my project throws errors like Fatal error: Class 'Memcache' not found. I installed X-Code from appstore, and ...
2
votes
1answer
4k views

How to fix permission denied for home folder with Apache in Mavericks?

I recently activated the apache that ships with OS X Mavericks. I followed some tutorial to set up the web-server, however. When I browse to my home-filter at http://localhost/~nazeem, I get the ...
4
votes
2answers
10k views

How to upgrade Apache 2.2 to 2.4 in MacOSX Mavericks

My ISP has upgraded the server to Apache 2.4.9 from 2.2.xx. It has broken a couple things in my setup and I want to bring my local copy of Apache 2.2.26 to 2.4.9 so that I can test locally. I've been ...
5
votes
3answers
8k views

Trying to run apache server on Mavericks

I am trying to set up an Apache vhost on Mavericks, something that I was able to do easily on 10.6.8. I am using the default Apache that is preinstalled on a fresh install of OS X 10.9.2 $ sudo ...
1
vote
1answer
199 views

Where are the apache config files stored?

I thought the apache config files were stored in /etc/apache2. Yet if I remove the /etc/apache2 directory and run a sudo /usr/sbin/apachectl start the web server runs and serves up pages. Is there ...
5
votes
2answers
381 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
1answer
3k views

Apache “Client denied by server configuration”

When I am running my localsite/~user.name/ on OS X 10.7.5 it is loading the the correct page but in the log /var/log/apache2/error_log it's recording this message. [Fri Mar 14 00:17:07 2014] [error] ...
6
votes
2answers
8k views

How can I set a web server in a specific directory in OSX Mavericks?

I am running a web server in OSX Mavericks using the default directory location ($HOME/Sites). How can I add sites from distinct arbitrary directories ? I have found instructions about how to change ...
1
vote
1answer
928 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 ...
0
votes
0answers
299 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 ...
1
vote
1answer
693 views

Access to many websites under OS X Server on port 80

I've installed two web applications (Jenkins and Redmine) on my OS X Mavericks Server. Both are available in local network from other computers as: myserver.local:8080 (Jenkins) ...