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

learn more… | top users | synonyms

3
votes
2answers
858 views

What did the 10.8.2 update do to break an AMP stack's vhosts?

I updated from 10.8.1 to 10.8.2 last week and since then I have yet to get certain vhosts working on my local sandbox. Some of them work fine while others just don't work at all now when they did ...
0
votes
1answer
173 views

How do I get Web Sharing back on Mountain Lion? [duplicate]

Possible Duplicate: Enabling Apache in Mac OS X Mountaion Lion Like the title says but with a twist. I DO NOT want to use localhost, but my internal IP instead so I don't want to use all ...
9
votes
2answers
6k 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 ...
4
votes
1answer
8k views

Which php.ini file do I have to edit on Mountain Lion?

I recently upgraded to Mountain Lion and reconfigured my apache2 (https.conf) file in the terminal to load PHP and start automatically. My localhost/~username/phpinfo.php page comes up to show my ...
2
votes
1answer
894 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 ...
0
votes
1answer
496 views

Install Apache, PHP and MySQL on Mac w/o MacPorts?

For some reason I can't use MacPorts. So the question is if it's possible to install Apache, PHP and MySQL on Snow Leopard w/o using MacPorts? Please don't offer MAMP or other bundles. Thanks in ...
0
votes
1answer
49 views

How should I go about restarting a custom Apache install?

I'm working on a server that was configured by a former employee and I need to restart Apache. Unfortunately, it's not the default install and it's in a different place and apachectl doesn't exist ...
0
votes
0answers
2k views

How can I ask Mountain Lion to have apache2 recognize .cgi and execute it as a CGI script?

I've upgraded from Lion to Mountain Lion, and have noticed as a result of the upgrade, besides my screen saver saying it won't work on this version of OSX, Apache is displaying the private web ...
0
votes
1answer
427 views

Why do httpd and mysqld processes not show up in Activity Monitor?

I'm running Mountain Lions built in Apache2 server. I have started the server and I can see the web pages but I can't see any httpd process in the Activity Monitor. Same goes for MySQL. I can't see ...
0
votes
1answer
1k views

localhost doesn't find all files in Sites-Folder

I have a strange problem: I installed XAMPP long time ago and created a folder with an index.php file in my sites folder. When i start XAMPP and go to the browser localhost/~username i can see the ...
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 ...
4
votes
2answers
9k views

How do I enable PHP on Mountain Lion OS X 10.8?

Just upgraded to Mountain Lion, and wanted to make PHP work on the built-in version of Apache.
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

How can I upgrade my PHP 5.3.1 to 5.3.2 on XAMPP Mac OS X?

I've just installed XAMPP on Mac OS X Snow Leopard, and everything is running correctly and setup completely well. However, I want to install an open source project that requires PHP 5.3.2 or higher. ...
0
votes
2answers
134 views

Apache doesn't recognize a local zone (BIND) unless restarted frequently

Apache does not recognize the local zone .dev -- returns 404 Not Found. If Apache is restarted it will recognize the local zon. If inactive for ~1hr it no longer recognizes the local zone -- returns ...
3
votes
1answer
3k views

What permissions do I need to give for my server setup?

I am trying to have a server setup for my web app locally on my MacBook Pro. I have installed Apache, PHP successfully and checked out my web app's code to /var/www location. Now there's a script in ...
0
votes
0answers
759 views

Web Sharing won't start after I enable vhosts

This is the first time I've ever used apache, so there's a pretty good chance I'm doing something horribly wrong. I followed some instructions online to edit /private/etc/apache2/httpd.conf make my ...
0
votes
2answers
137 views

web sharing for vhosts?

I'd like to be able to share websites I'm developing with other users in my network using Web Sharing. I don't develop in my 'Sites' folder though, I have a separate folder for all my projects. ...
2
votes
2answers
927 views

Can I restart iTunes remotely from my iPhone/iPad?

I am running iTunes, 10.6.1 on my Mac mini running OS X Lion 10.7.4. This Mac mini has my entire media library including a ton of DVDs that were ripped and transcoded to work on Apple TV. I have 3 of ...
0
votes
0answers
67 views

apachectl Yields 404 on Shortname, Base Directory Pages

I am building a website for my own education, and am trying to learn Apache. Consequently, I've noticed an odd behavior I was hoping someone could explain. Basically, when I start Apache via ...
3
votes
2answers
143 views

How can I show other people my Sites folder?

I did my first website today using iWeb and I placed it inside the sites folder. From what I understand, this should enable me to show other people my site with this address: ...
12
votes
5answers
46k views

Enable URL rewriting (mod_rewrite) using .htaccess files in ~/Sites on Lion

I cannot get mod_rewrite to work on Lion. I am developing a number of websites locally, in ~/Sites, using .htaccess files. I am on 10.7.3 and I have not touched any configuration files except for ...
2
votes
2answers
898 views

Apache virtualhost - Mac OSX 10.7.3

After upgrading to Lion, all my virtualhosts stopped working. They redirect to "It works" main apache page on my device for some weird reason. Example: /etc/hosts: 127.0.0.1 myhost.com ...
0
votes
1answer
102 views

Apache module run under MacPorts gives SQLite error

I have an Apache module, compiled from source, which works just fine with the stock Apache 2.2 on Mac OS X 10.5 through 10.7. However, under the Apache 2.2.22 installed by MacPorts, running ...
0
votes
1answer
13k views

Change the user Apache runs as [closed]

Need help to create a new user to apache web server and assign root privileges to newly created user. Or how to login as root user in apache server because following php script showing you are logged ...
1
vote
0answers
380 views

openURL not working?

I have my apache2 server running on my macbook pro and I have an ssh session into my iphone which runs on iOS 5.0.1. I have a folder "files" in my webroot which has a few mp3 files. When I try ...
1
vote
1answer
2k views

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 ...
1
vote
1answer
377 views

Sharing local Apache vhost over lan without Hosts/DNS change?

I'm freelancing somewhere and want to share a local (on my MacBook) site with some LAN users via IP. The network structure, time and technical ability here don't allow me get everyone to add host ...
2
votes
1answer
420 views

Mac OS X Lion Server and Macports - Can they work together?

I've been using macports for my MAMP projects for quite some time, but I don't think that the command line server management for Apache and MySQL Server, both from macports, is the best way to do it. ...
11
votes
5answers
25k views

Where is the httpd error log file on Lion?

I'm running a local web (development) server on my mac with apache installed. I'm sure it depends on my apache config but basically I just want to run tail -f /var/log/httpd-error.log in a terminal ...
2
votes
1answer
366 views

Lion Server: If I create two websites with the same domain name but different ports, web service won't start

So, I upgraded my business server to Lion yesterday - BIG mistake. However I really want the WDE that comes with FileVault 2, so I'm trying to cope with all the fuzz. One thing that I can't figure ...
0
votes
1answer
1k views

How do I set a recognized Apache DocumentRoot under Lion?

I have a fresh Lion install, and to configure Apache, I've edited all of the references to DocumentRoot (and the Directory entry for DocumentRoot) to "/Users/jonathan/mirror" (with or without quotes ...
1
vote
2answers
113 views

Where can I find a list of MAMPs?

I'm looking for a MAMP packaging = Apache + MySQL + PHP bundled together for Mac OS X (which is my OS). Where can I find it? Is there an "official" site where I can download it from? [ I know that ...
3
votes
1answer
7k views

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 ...
0
votes
2answers
5k views

OS X Lion - How to configure website on Apache

I'm on my first steps with OS X and I'm trying to setup Apache so I can develop a website. I configured a new alias on /etc/apache2/other with the following content, pointing to my project folder, ...
0
votes
2answers
175 views

Where is MySQL installed for the included Apache server?

I'm trying to set up Web Sharing... phpinfo() shows MySQL is installed, but I can't find it. Terminal says "command not found" when I try mysql. I have no idea what I'm doing, or even if this ...
0
votes
1answer
768 views

OSX 10.7 Apache can't do file uploads to local server

I have Apache running on another machine on the local network but am unable to do certain things that I can on the live server - namely perform file uploads. Wordpress tells me this may be because ...
4
votes
2answers
15k views

How do I stop Apache from starting up automatically?

I'm running Mac OS X Lion 10.7.2 and Web Sharing is turned off in System Prefs. I don't think this is specifically related to Lion. Basically, I'm a frontend developer and there are always backend ...
1
vote
1answer
350 views

Add custom options to Apache Vhost config

In Snow Leopard Server I was able to add lines to the Apache vhost files in /etc/apache2/sites in order to add custom configuration options. In Lion Server those changes are overwritten as soon as ...
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 ...
1
vote
0answers
362 views

Setting up Lion Server on iMac but can't get remote access to the server via my associated domain name

I have been following wegotserved.com tutorial on setting up Lion Server and have hit a wall. I have static IP address which is associated with my domain name. When I try to access my domain through ...
0
votes
2answers
306 views

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/ ...
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 ...
5
votes
6answers
12k views

How can I increase command line memory_limit for PHP with MAMP PRO?

I've edited every single php.ini on my Mac (at least all the ones found by "locate") and still can't seem to increase the memory_limit directive for PHP. I'm using MAMP PRO and running PHP scripts in ...
0
votes
2answers
76 views

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. ...
0
votes
0answers
198 views

Apache starts even if web sharing is disabled

I do web development so I normally have web sharing turned on in the sharing preferences. After upgrading to Lion I have been continuing with the web development projects I have pretty much as ...
2
votes
1answer
283 views

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 ?
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
1answer
351 views

Web Sharing does not work with FileVault?

I want to use both Web Sharing and FileVault however when I turned on FileVault, my home directory Sites folder came up in the browser as permission denied, even though the Unix permissions were 777, ...
0
votes
1answer
299 views

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?