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

learn more… | top users | synonyms

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
0answers
26 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
1answer
42 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
1answer
67 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 ...
0
votes
1answer
32 views

403 forbidden on Apache vHost

I'm using Mac OS X 10.6.8 and I'm trying to configure a vHost. I configured it and it gave me a 403 Forbidden, and I'm having trouble giving _www permission to read/write in ~/Document/workspace/dev ...
2
votes
2answers
3k views

How can I upgrade my PHP 5.3.1 to 5.3.2 on XAMPP Mac OS X?

I've just installed XAMPP on Mac OS X Snow Leopard, and everything is running correctly and setup completely well. However, I want to install an open source project that requires PHP 5.3.2 or higher. ...
2
votes
1answer
614 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 ...
5
votes
4answers
17k 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 ...
0
votes
2answers
1k 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
2answers
905 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 ...
2
votes
2answers
1k 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 ...
11
votes
4answers
36k views

How to fix 403 in Mac OS X built-in Apache?

I'm trying to set a local environment on my new MacBook Air 13": built-in Apache with my own DocumentRoot, PHP, and MySQL. I usually update /etc/hosts just to run my local websites with a pretty ...
1
vote
1answer
89 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
62 views

OSX default file permissions when copying/saving files

Every time I save a file from a web browser or copy files from our local server to my machine, the default permission "for everyone" is set to none. I'm a web developer. Files that are non-readable ...
0
votes
1answer
57 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. ...
1
vote
1answer
32 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
43 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
320 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
74 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
168 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?
1
vote
1answer
2k 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 ...
12
votes
5answers
63k views

Enable URL rewriting (mod_rewrite) using .htaccess files in ~/Sites on Lion

I cannot get mod_rewrite to work on Lion. I am developing a number of websites locally, in ~/Sites, using .htaccess files. I am on 10.7.3 and I have not touched any configuration files except for ...
0
votes
1answer
244 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
160 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 ...
1
vote
5answers
4k views

ASP & PHP Web Server on OS X

On Windows, I ran Xampp on port 80 for PHP/MySQL and IIS on port 8080 for ASP. For OS X, what's the best route to take... Should I just run Xampp for Mac for PHP/mySQL, or is there a better option ...
2
votes
1answer
715 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
196 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 ...
4
votes
2answers
10k views

Which php.ini file do I have to edit on Mountain Lion?

I recently upgraded to Mountain Lion and reconfigured my apache2 (https.conf) file in the terminal to load PHP and start automatically. My localhost/~username/phpinfo.php page comes up to show my ...
2
votes
3answers
3k 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
106 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
100 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
58 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
1answer
639 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
58 views

Can't tell if apache is running on Mavericks

Why can't I see httpd in activity monitor nor top in Mavericks?
0
votes
2answers
2k 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 ...
3
votes
1answer
6k 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 ...
2
votes
1answer
644 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 ...
2
votes
1answer
1k 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
3answers
102 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
1answer
1k 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
0answers
119 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
212 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 ...
4
votes
4answers
4k 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 ...
0
votes
0answers
103 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 ...
1
vote
1answer
999 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?
5
votes
3answers
7k 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
142 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
212 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
1answer
1k views

Disable Apache autostart

I'm on a fresh 10.9 install and the default Apache server is org.apache.httpd: Already loaded after each startup. Is there a way to disable that autostart?
3
votes
4answers
5k views

Web Sharing Apache Localhost - Access permissions

I want to install phpMyAdmin on the native Apache webserver that is bundled with Mac OS X 10.6. I turned on Web Sharing in System Preferences. Yet, me fear is that my computer is granting access to ...