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
319 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
734 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
240 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
874 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
829 views

Uninstall/ disable php 5.6.9 osx Yosemite

I´m running osx yosemite with homebrew, apache, php5.6.9 and have installed php 5.3. I need php 5.3 to run a certain api which known to have complications with ph5.6.9. But how can I disable php 5.6.9 ...
1
vote
1answer
203 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
895 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
179 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 ...
2
votes
0answers
118 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 ...
2
votes
0answers
1k 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
70 views

Upgrade/Move OpenSSL in OS X to alternate Apache version/folder location

We are running a Mac Apache web server. It currently has OpenSSL/0.9.7l running on it which is not compatible with SHA2. OpenSSL is running within a special user-interface called iTools 9; iTools is ...
1
vote
0answers
181 views

Apache 2.4 display forbidden at projects after upgrade to OS X El Capitan

I'm having a 403 Forbidden message in my projects that contain a .htaccess file, this happened after upgrade to OS X 10.11 El Capitan. I have no idea why, I've been looking for an answer and I've ...
1
vote
0answers
10 views

MAMP: is it possible to change apache2.2 binaries with the ones of apache2.4?

I've installed MAMP and I copied both in /Applications/MAMP_2015-09-22_12-26-08/bin/apache2/bin and in /Applications/MAMP_2015-09-22_12-26-08/Library/bin the binaries of a working version of ...
1
vote
0answers
114 views

Problem loading php56 instead of php5 under MacPorts

I am running MacOS X Mavericks, where I manually created a MAMP stack by installing mysql5-server, php5, etc., under MacPorts. I was recently forced to upgrade this configuration to mysql56-server ...
1
vote
0answers
81 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
303 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
151 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
160 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
134 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
99 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
507 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
371 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
41 views

Mac OS X El Capitan: Symbol not found: _SSLv2_client_method

I was trying to update openssl so that it could use libssl.1.0.0 instead of libssl.0.9.8.dylib So I moved the two files /usr/lib/libssl.0.9.8.dylib and /usr/lib/libssl.0.9.7.dylib into my home and I ...
0
votes
0answers
32 views

Problems configuring Apache and PHP

When I am entering http://localhost, it is showing the it works message. But when I am trying to open the phpinfo page by safari(http://localhost/phpinfo.php) it is showing the error,"Safari can't ...
0
votes
0answers
15 views

OSX Apache 2.4 - No module images found

I thought this came with apache 2.4. I know before updating i had Mavericks with 2.2 and i tried installing 2.4 via brew. Example error: httpd: Syntax error on line 78 of ...
0
votes
0answers
47 views

How can I enable mod_dumpio in apache?

I want to enable mod_dumpio in apache so that I can log all the headers and the body of incoming requests. After some searching, it seems that apxs is the preferred way to do this, but I can't get ...
0
votes
0answers
180 views

ColdFusion 10 is failing with OS X El Capitan on iMac

After upgrade to OS X El Capitan, I installed Java 1.7. Then when I tried to access the ColdFusion configured sites I am not able to access them. I am able to start the server using command prompt but ...
0
votes
0answers
313 views

Local dokuwiki installation not working after El Capitan upgrade

following the El Cap upgrade my local DokuWiki installation responded with a 404. http://localhost/~username wasn't working either, but through some changes to the Apache conf I got at least this ...
0
votes
0answers
134 views

Connection refused when connecting to localhost using apache user directory

I am unable to successfully display the index when connecting to localhost/~username. Instead of seeing a lasting of the directory structure, I am getting an error message, the requested URL was not ...
0
votes
0answers
83 views

What does “httpd enabled is deprecated” mean in system log?

My computer is operating very slowly. I looked in System Information and was told to look in Service, then look in show my Service & repair options. In iMac System Log I found "httpd enabled is ...
0
votes
0answers
161 views

Apache 403 when accessing via IP

I'm running a web server on Yosemite but have run into a bit of an issue. I can access web server via localhost, 127.0.0.1 and locally on other computer server.local. But I can't access it via IP ...
0
votes
0answers
172 views

Automatically and always run xampp Apache and MySQL when mac is on?

I have a Mac Pro that I'd like to use as the office local server for development. I have XAMPP installed under a user account that isn't used often. I'd like if when ever the Mac Pro was on XAMPP's ...
0
votes
0answers
587 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
154 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
221 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
834 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
152 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
275 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
216 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
583 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
520 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
137 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
173 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
204 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
440 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
871 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
208 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 ...