Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
The popular open-source Web server application, an implementation of which is included in macOS.
2
votes
Accepted
Change the Apache user in httpd.conf on MAMP?
AFAIK MAMP is not intended to run Apache/MySQL as www/mysql. However MAMP Pro allows you to run Apache and MySQL either as your user or as www/mysql. …
5
votes
Accepted
Start or Stop Apache without having to give a password?
Starting and stoping Apache with sudo apachectl start or sudo apachectl stop doesn't require a password anymore.
apachectl requires root/sudo to execute it. …
6
votes
Accepted
macOS Sierra - localhost stops working when virtual host is enabled
FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
Your site has to reside in /path/to/localhost/
Check the apache … The first two lines should yield:
VirtualHost configuration:
*:80 localhost (/private/etc/apache2/extra/httpd-vhosts.conf:23)
Start apache with sudo apachectl start
Now – after emptying …
3
votes
Updating OpenSSL in OSX
OpenSSL 0.9.8zg 14 July 2015 is the version installed by OS X 10.9(.5) (Mavericks) and resides in /usr/bin/.
MacPorts neither installs nor updates/upgrades genuine Apple (OK, OpenSSL is not Apple but …
1
vote
Apache not working on my Mac with Sierra
.: Could not find specified service
So first check if the daemon is running (example Apache):
sudo launchctl list | grep apache
If it's running unload it:
sudo launchctl unload -w /System/Library … /LaunchDaemons/org.apache.httpd.plist
As mentioned by the user Gio Valerio, the proper command to start/stop Apache is:
sudo apachectl start|stop …
4
votes
Can't tell if apache is running on Mavericks
Activity Monitor default view of the process list is 'My Processes':
Switch to 'All Processes' in the menubar to additionally see other users' - like root or _www - processes:
Check again in 'Ac …
1
vote
Upgrade to El Capitan has broken MySQL and Apache
Apache errors:
The error
AH00526: Syntax error on line 183 of /private/etc/apache2/httpd.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration … >
In the new Apache config file (10.11) the section looks like this:
<Directory />
AllowOverride none
Require all denied
</Directory>
I recommend to setup Apache with a 2.4 …
17
votes
Apache2 (Httpd) not working after update to High Sierra
With homebrew and homebrew's apache-httpd installed and the default PATH you have six ways to start httpd. … Apple's Apache:
sudo launchctl load -w /System/Library/LaunchDaemons/org.apache.httpd.plist
sudo /usr/sbin/apachectl start
Homebrew's Apache:
sudo apachectl start
apachectl start
sudo brew services …
4
votes
Accepted
After MacOS High Sierra install, localhost fails and apache has syntax errors
php-osx.conf (linking to /usr/local/php5/entropy-php.conf) with the High Sierra default /private/etc/apache2/other/php7.conf
and removing any reference to the custom PHP5, apachectl configtest was OK and Apache …
0
votes
localhost loads default apache page
Preface:
Executing apachectl configtest doesn't check /Applications/MAMP/conf/apache/httpd.conf for consistency but the default OS X Apache config file /private/etc/apache2/httpd.conf. … If you run no other instance of Apache (especially the default OS X Apache) you won't be able to connect to localhost:80 or site.development:80. …
8
votes
Accepted
Can any one upload their httpd.conf file for mac?
The file /etc/apache2/original/httpd.conf (in OS X 10.11.5) has the following content with three trailing empty lines:
#
# This is the main Apache HTTP server configuration file. … See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen …
7
votes
Accepted
How to stop multiple httpd instance in macOS Catalina
Further reading with an explanation and pros & cons:
Apache docs: Apache MPM Common Directives & Apache MPM prefork
Liquidweb: Apache Performance Tuning: MPM Modules
The number of possible child … processes in the apache installed by brew (currently Apache/2.4.43; Server MPM: prefork) can be managed in the Supplemental configuration chapter of the config file. …
0
votes
macOS Server http(s) ports bound
S 4:00pm 0:00.01 /usr/sbin/httpd -D FOREGROUND -f /Library/Server/Web/Config/Proxy
Obviously it's related with apache/httpd but the webserver isn't loaded. …
0
votes
Accepted
Solve /Users/myusername/Sites/foo ~/bar localhost/~myusername High Sierra Apache server conn...
A simple working configuration starting with the default macOS Apache config files is the following:
/etc/hosts
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the …
1
vote
XAMPP VM and text editors
Start Apache and MySQL
Open a browser on the host and enter:
http://<IP-VM>/phpmyadmin/
The default IP-VM appears to be 192.168.64.2. …