Questions tagged [apache]

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

Filter by
Sorted by
Tagged with
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 http://...
1
vote
1answer
370 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
472 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
522 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 ...
7
votes
1answer
3k 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
3k 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
94 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 ...
4
votes
4answers
7k 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
4k 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
853 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
1answer
854 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 ...
1
vote
3answers
13k 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 /private/etc/...
6
votes
3answers
28k 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 "/Library/WebServer/...
0
votes
1answer
802 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
896 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
848 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
2k 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 ...
1
vote
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: /usr/lib/php/...
3
votes
3answers
4k 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 ...
4
votes
3answers
8k 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
227 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 ...
16
votes
6answers
99k 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
3k 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
5k 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 ...
6
votes
2answers
15k views

How to upgrade Apache 2.2 to 2.4 in Mac OS X 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
2answers
2k 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 ...
7
votes
2answers
820 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
4k 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
11k 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
1k 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
819 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) myserver.local:8081/...
0
votes
1answer
775 views

Why localhost works even apache is off?

I installed ZendServer CE. This is my /usr/local/zend/apache2/conf/httpd.conf file: http://codepad.org/vorWrTKb This is my /etc/hosts file. ## # Host Database # # localhost is used to configure the ...
5
votes
2answers
24k views

Reinstall/restore Apache httpd in OS X

How to reinstall or restore Apache httpd in OS X? I want to do that because I deleted httpd.conf file (both /etc/apache2/httpd.conf and the original at /etc/apache2/original/httpd.conf).
0
votes
1answer
54 views

Login error after httpd.conf edits

I am having a very weird error that I cannot find any help on the rest of the internet for. My issue is that I was editing my httpd.conf (in /Private/etc/apache2) so that I could run the web server ...
2
votes
1answer
918 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 ...
17
votes
1answer
29k 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
1answer
633 views

How to install Apache into a custom directory?

How to install a copy of Apache into a local custom directory via Terminal (to ~/Desktop/ for example), so it can live without conflicts with another global version of Apache and I cant start and stop ...
0
votes
1answer
1k views

Where is BSD.pkg on OS X 10.9?

I want to extract BSD.pkg file and pull some apache configuration file to cover my apache http.conf file. I locate in /Library/Receipts/, But the BSD.pkg file is empty.
1
vote
1answer
1k views

I can not visit localhost with apache on OS X 10.9

The Chrome alert me Oops! Google Chrome could not connect to localhost But my apache still running: 501 80299 71841 0 2:35PM ttys003 0:00.00 grep httpd I paste some piece of important ...
0
votes
0answers
602 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....
1
vote
1answer
518 views

Does Apache require special settings to run a command?

I am trying to create an image using Bio::Perl/Bio::Graphics and implement it on my webserver. However, whenever I am trying to run my scripts online, the command line does not respond to run my ...
11
votes
4answers
14k views

How to find out what launch agent or daemon is starting a process

After installing Autodesk Smoke, I have two httpd processes running all the time, and I'd like to stop them. When I use sudo killall httpd, they stop and are restarted right away. Activity Monitor ...
2
votes
2answers
2k views

Install Apache Module X-Sendfile

I wanted to install the Apache-Module X-Sendfile as shown in http://elivz.com/blog/single/mod_xsendfile/ on my Mac OS X 10.9 (Mavericks) setup. After downloading and unpacking the files, I've used ...
2
votes
1answer
265 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 ...
1
vote
1answer
487 views

Why does Apache want to use xcode for installation resources?

When I try to run ./configure When building Apache with no unusual options this is part of the output: checking for APR... yes setting CC to "/Applications/Xcode.app/Contents/Developer/Toolchains/...
1
vote
1answer
1k views

How to undo “sudo rm -rf /etc/apache2/other/+php-osx.conf”

After I did this: sudo unlink /usr/local/php5 sudo rm -rf /usr/local/php5-* To remove the supplemental configuration file that was installed with the updated PHP software, you may be able to remove ...
1
vote
1answer
655 views

Apache goes to sleep on new OS X 10.9

I am running the built-in apache server on an iMac to serve my personal website, just some static page. I have been using this machine for a couple of years. I just start it with sudo apachectl ...
2
votes
1answer
2k 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?
2
votes
1answer
7k views

Localhost Forbidden

I've read many posts and articles on how to fix this but I'm at a loss as to why nothing I try is working! I have a number of vhosts setup in my document root which are working fine but for some ...