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

learn more… | top users | synonyms

19
votes
3answers
48k views

How to turn Mac OS X Lion into a web server?

After using MAMP for ages, I found out I could actually use Snow Leopard's built-in Apache server. Now that I've upgraded to Lion, I have no idea how to do this anymore. Do you know how to turn my ...
9
votes
2answers
5k views

Enabling Apache in Mac OS X Mountaion Lion

This is my first Mac, it's Mountain Lion, and I know how to enable Apache through Preferences -> Sharing -> Web Sharing, but how the hell do I do it in Mountain Lion? I find that that button no ...
19
votes
4answers
17k views

How do I get my user directory working for web sharing again?

I had web sharing enabled in Lion and a web site at http://localhost/~user, where user is my User directory. When I upgraded to Mountain Lion, web sharing (Apache) remained enabled and I can go to ...
2
votes
2answers
2k views

Cannot connect to server “localhost”?

I've been developing web apps for several months now on my mac using the built in apache server and everything has been fine. I restarted my mac this morning and now when I try to connect to anything ...
3
votes
1answer
3k views

Configuring OS X 10.7 Lion Server to serve Rails Apps via Apache

I have a number of Rails Apps working just great under Snow Leopard, but would like to migrate these to Lion. However, like many others, the rug has been pulled from under my feet by the changes that ...
3
votes
1answer
5k views

How to activate mod_rewrite on MacOSX Lion

I tried to activate the mod_rewrite module in the httpd.conf, but I do not succeed to make it work. I'm running Lion, and my goal is to do URL rewriting in ~USER/Sites/mysite Can someone help me ...
1
vote
2answers
10k views

Apache 2 `UserDir` problem in OS X Mountain Lion (10.8) Server after upgrade from Lion (10.7)

I had a Mac under OS X Lion. I upgrade it to Mountain Lion, and buy the OS X Server software in the AppStore. Since the beginning, I use the Apache version bundled in Mac OS, and it work fine. But ...
3
votes
3answers
5k views

Mac OS X Server 10.6.7: Disable Apache?

I'm doing some Rails dev, and I'm trying to get Pow running. After making the appropriate symlink, if I try to go to idealm_web.dev/ (idealm_web being the name of my Rails project), I get this: I ...
2
votes
2answers
918 views

Run script before restart/shutdown

Is it possible to execute a script/command right before OS X is shutting down or restarting? I'd like to run sudo apachectl stop to stop apache from auto-starting.
2
votes
1answer
867 views

Web Sharing (Apache) won't turn on in Lion

I'm unable to enable web sharing via System Preferences > Sharing. When I click it to turn it on the light turns yellow but then goes back to gray. I did some Googling and found that many people ...
1
vote
1answer
243 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 ...
1
vote
3answers
3k views

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 ...