The popular open-source Web server application, an implementation of which is included in macOS.
Questions tagged [apache]
354 questions
4
votes
1 answer
How to configure local apache virtual hosts?
Configuring Apache for local development on Lion I've managed to clue out this much:
/private/etc/apache2/ and /etc/apache2/ are symlinked
/etc/apache2/httpd.conf is authoritative
httpd.conf draws on the confs in extra
original is a red herring of…

John2095
- 804
3
votes
1 answer
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 it from there?

Dima Knivets
- 133
2
votes
1 answer
localhost shortcuts
I have php and apache enabled and a folder test located in my ~/Sites. Is there anyway to access it thanks to the address http://test.dev instead of http://localhost/~user/test ?

Aliou
- 177
2
votes
1 answer
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 start
But, after the upgrade to 10.9 a problem has…

Jose M Vidal
- 175
1
vote
1 answer
Apache slow to find localhost -- how can I fix?
I'm running XAMPP on my Mac, which is just an Apache and MySQL server running as my local host. When I set it up, I found port 8000 (the default) was already taken (maybe by the Apache that ships inside OS X?) so I just reconfigured the httpd.conf…

Eric
- 410
- 1
- 9
- 21
1
vote
3 answers
Apache permissions
I'm trying to get LAMP working on OSx Lion and am having a little trouble.
Have Apache, MySQL, and PHP set up and working just fine. Have turned on "Website" under sharing in Settings. Removed the original ~/user_name/Sites folder and created a…

David
- 313
1
vote
2 answers
How can I switch from mac server App to Apache?
I want to use Apache on macOS 10.13.
I issued "sudo apachectl start" command then it enabled.
I confirmed to display "It works" on the browser by http://localhost/ and I could know Apache worked properly.
But recently after I load Server app.…

Simon J
- 31
0
votes
0 answers
Certbot 0.34.2 acme-challenge dns fails on Mac OS X 12.0.1 after clone data/ update to a new machine (came from OS X 10.15.7 Catalina)
I recently had to change my Mac machine (OS X 10.15.7 / Intel) to a bigger machine (OS X 12.0.1 / Intel). There I'm running a tomcat 9.0.39
As I wanted to renew the certificate it didn't work, it says:
Terminal:
admin24@toolskript ~ % sudo certbot…
0
votes
1 answer
Big Sur Updates Reset Apache Files
Concerning these Apache files:
/etc/apache2/httpd.conf
/etc/apache2/vhosts/httpd-vhosts.conf
Unlike the previous version of MacOS, each Big Sur update resets these Apache .conf files to their original state, wiping out my changes. These are the…

Percy
- 36
0
votes
2 answers
Pow conflict when pointing to my IP
Some time ago I had installed Pow to run my sinatra apps.
Now today I wanted to use my Mac's built in web sharing to test an html file as rendered on my iPod Touch.
I browsed to 10.0.1.20/~francesco/ which is my personal site folder and recived a…
0
votes
2 answers
How to diagnose an unknown apache setup?
I've been using mamp for a while now and everything has been working great. Then today I go to start it up and mamp alert tells me that apache is already running on that port and to pick another one. So without starting mamp, I type in local host in…

Scott
- 103
0
votes
0 answers
apachectl does not automatically create /var/run/mod_fcgid
[MacBook Pro 2014, Mac OS 10.13.3]
I have my apache install setup to use mod_fcgid. However, when I restart my Mac, or after it restarts from sleeping, /usr/sbin/apachectl does not create /var/run/mod_fcgid, which is needed along with correct…

gone
- 703
- 1
- 10
- 20
0
votes
1 answer
How to forward port 80 to run a server
So I turned on Web Sharing on my mac and put a basic HTML file in the folder for it, but I want to know how to make it accessible from any computer. How would I do that?

JShoe
- 5,139
0
votes
1 answer
how to setup Mass Virtual Host using VirtualDocumentRoot on Snow Leopard
Running Snow Leopard, I have enabled the build in apache(with indexing) and php, and installed and enabled mysql. I have setup my sites in the ~/Sites directory, named:
www.site1.dev
www.site2.dev
It all works,localhost shows the index linking to…

newnomad
- 243
0
votes
2 answers
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 run into several issues with setting up an Apache…

kristian nissen
- 101