Questions tagged [apache]

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

Filter by
Sorted by
Tagged with
2
votes
4answers
8k views

El Capitan Safari can't open http://localhost/ after starting Apache

In the Terminal window, I started the web server with sudo apachect1 start, supplied the password and then got: /System/Library/LaunchDaemons/org.apache.httpd.plist: service already loaded Then, ...
1
vote
1answer
2k views

How to make a clean install of OpenSSL on El Capitan

I'm afraid I have made a mess with the version (0.9.8zg) of OpenSSL which was installed on my Mac. While I was trying to update it, now I have some error and for some reasons applications like Apache ...
1
vote
1answer
252 views

Port 9000 apache returns access forbidden

I am using native PHP and native Apache. PHP version is 5.5. userdir module in Apache is enabled, and I have my PHP codes under ~/Sites. Localhost URL is localhost/~username. I have installed XDebug ...
0
votes
1answer
2k views

Mac apache not working - apachectl configtest errors

I'm trying to get off of MAMP and run local versions of an AMP stack on my Mac, but when I try to start apache and run localhost from a browser, it's not coming up with anything. In running apachectl ...
2
votes
1answer
184 views

Using MBP as web server with many users

I teach new media classes at a small liberal arts and sciences university. For the past several years, I have been running an Ubuntu server on an old desktop PC in my office. At the beginning of each ...
0
votes
1answer
37 views

Transfer Windows Apache Configuration to OS X

My normal development enviornment has always been in Windows, but I finally scrounged up the money for a nice Mac Book Pro. I've managed to get everything I need set up Git, My Working Copy Repo, Web ...
3
votes
2answers
22k views

“ERR_CONNECTION_REFUSED” on localhost after (I think) upgrading Apache via homebrew

I maintain a local web development environment on my Mac via Homebrew, set up in roughly the way described here: https://echo.co/blog/os-x-1010-yosemite-local-development-environment-apache-php-and-...
0
votes
2answers
903 views

MAMP PRO uninstalled but Terminal commands still exist. How to remove them as well?

Source: To "uninstall" MAMP, you only have to delete the MAMP directory and everything returns to the original state I uninstalled MAMP using the Uninstaller from Applications/MAMP PRO. I checked ...
7
votes
1answer
4k views

How to update Server 5 to TLS 1.2?

In the latest version of Apple's Server app version 5.0.4 running on El Capitan (10.11.2), SSL websites use TLS version 1.0. But, as one Ivan Ristic says, « The bottom line is that TLS 1.0 is insecure ...
21
votes
2answers
30k views

El Capitan Apache error message AH00526

Yesterday I upgraded my Mac from Mountain Lion to El Capitan. Trying to get apache2 working I get the following error message: AH00526: Syntax error on line 20 of /private/etc/apache2/extra/httpd-...
0
votes
0answers
1k 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
1answer
255 views

xampp + mac os x issues

just installed XAMPP and have tried setting up a local server but the address won't resolve. It will lead to a "Connection Was Reset" error. I tried looking in the logs but none were present so I'm ...
2
votes
1answer
317 views

Configure the OS X Server from .pkg postinstall script

I make a .pkg-installer for a product that extends the Apache server in OS X. From the postinstall script in the .pkg I'm currently able to configure the default setup of Yosemite and El Capitan, by ...
2
votes
1answer
256 views

How to update internal PHP

How do I update the internal PHP on OS X 10.7.1? I've loaded a current version but since I don't have a simple plan how to update it, I won't do it. I guess it's just easy replacing of files in etc/...
3
votes
4answers
5k views

Error configuring mcrypt after upgrading to El Capitan

I am facing the following issue after upgrading to El Capitan. It says: Installing shared extensions: /usr/lib/php/extensions/no-debug-non-zts-20121212/ cp: /usr/lib/php/extensions/no-debug-non-zts-...
2
votes
2answers
6k views

Using MAMP 3.4, how do I upgrade to Apache 2.4 and OpenSSL 1.0.2 to meet the ATS iOS 9 requirements?

I've just installed MAMP 3.4 on Yosemite but the Apache version inside is still 2.2. Is there a way to upgrade to Apache 2.4? Moreover I have installed through brew openssl 1.0.2 but MAMP Apache still ...
1
vote
2answers
8k views

How do I delete apache from OS X Yosemite?

How do I delete apache from OS X Yosemite? I want to start with a new unaltered configuration so I will also need to know how to install the latest version. Following other posts to delete/reinstall ...
1
vote
1answer
3k views

Change the Apache user in httpd.conf on MAMP?

I have MAMP installed on OS X. This is the /Applications/MAMP/conf/apache/httpd.conf Apache's configuration section for the user which should run the server: ... # # If you wish httpd to run as a ...
1
vote
1answer
752 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 ...
2
votes
1answer
8k 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
2k 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 ...
0
votes
1answer
978 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 localhost:...
3
votes
1answer
8k 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
1k 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
453 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
224 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
412 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 ...
4
votes
1answer
2k 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
238 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
1answer
8k 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 /var/log/...
0
votes
1answer
396 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 local/Cellar/apr-util/1.5.4/...
2
votes
1answer
8k views

Can't access apache-powered website at localhost [duplicate]

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 ...
3
votes
1answer
2k 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 System....
1
vote
1answer
213 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
389 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 username....
1
vote
2answers
5k 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
8k 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
110 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 http://...
1
vote
1answer
398 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
485 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
570 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
98 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
8k 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
898 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
861 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
16k 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/...

1 2 3
4
5
7