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
393 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
0answers
142 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
42 views

Force Samba service to start before Apache

I'm trying to use a Apache-based application which depends on NFS and Samba shares to access files on a remote server (the application will then use WebDAV to access the files). I wanted to ...
1
vote
0answers
199 views

Disable Apache on El Capitan 10.11.4

How do I disable Apache running because I can't get it down since I cannot run this sudo apachectl stop. It will give me this /System/Library/LaunchDaemons/org.apache.httpd.plist: Could not find ...
1
vote
0answers
202 views

How to disable web sharing in Server 5 and forward ports 80 and 443 to a virtual machine?

I use the latest Server (5.0.15) to self-host websites on a Mac Mini running El Capitan (10.11.3). I'm not satisfied with the web services (mainly because of this) and I'd like to setup a Linux (LAMP) ...
1
vote
0answers
26 views

Getting error 403 on trying to activate PHP and Apache on Mac Pro

I followed the steps given in the following site to activate PHP and Apache on my Mac Pro: Get Apache, MySQL, PHP and phpMyAdmin working on OSX 10.10 Yosemite This is the screenshot of my terminal ...
1
vote
0answers
146 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
231 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
15 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
189 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
101 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
353 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
152 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 11:21:...
1
vote
0answers
169 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
149 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
102 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
536 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
372 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

Yosemite Server - Serve hidden files

How can I get Yosemite Server App sites to serve hidden files? (like http://example.com/.well-known for instance) I've tried changing /Library/Server/Web/Config/apache2/sites/0000_127.0.0.1_34580_....
0
votes
0answers
12 views

Apache matching files in htaccess

I have 3 iMacs all of which have apache installed and the same local website running on them. One of the websites recently had to be wiped and El Capitan re-installed and since then the one that has ...
0
votes
0answers
25 views

Strange behaviour .local domain

I want to have access to my local Apache server installed on Mac from iPhone. When I open "Sharing" in settings there's written Computers on your local network can access your computer at: home....
0
votes
0answers
99 views

Problem accessing localhost under Apache while it's running

I reinstalled Apache on my Mac (brew uninstall\install httpd22), and now access to localhost is no longer available. sh-3.2# apachectl -v Server version: Apache/2.2.31 (Unix) Server built: Mar 28 ...
0
votes
0answers
56 views

Why .htaccess not working in mac after I changed from Window?

I've develop a website base on Codeigniter3.0.4 using Window after than I changed my computer to Mac with installation XAMPP But my website can't work. Errors types: it shown me as below errors. ...
0
votes
0answers
153 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
56 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
49 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 /usr/local/etc/apache2/...
0
votes
0answers
88 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
232 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
417 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
227 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
117 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
266 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
1k 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
169 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
261 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
989 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
180 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
307 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
241 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. ~/Sites/foo....
0
votes
0answers
607 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] [error]...
0
votes
0answers
530 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
176 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
229 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
456 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
901 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
209 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 ...