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

learn more… | top users | synonyms

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 ...
0
votes
2answers
142 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. ...
0
votes
1answer
105 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 ...
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 ...
2
votes
2answers
1k 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 ...
1
vote
1answer
367 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 ...
0
votes
0answers
71 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
153 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: ...
1
vote
0answers
437 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
3k 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
381 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
434 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. ...
6
votes
2answers
6k views

Configuring SSL with Apache under Lion

Following on from my previous question (which I answered myself), Configuring OS X 10.7 Lion Server to serve Rails Apps via Apache ...I'm now looking to set up SSL. Again, I have the config working ...
1
vote
2answers
3k views

How to enable ssh login for _www user?

In order to deploy files the the apache server running on OS X host I want to ssh/scp to it using the _www user. I do not want to use root because I want to be sure that I always put the files with ...
1
vote
2answers
119 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
181 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
872 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 ...
1
vote
0answers
370 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 ...
2
votes
1answer
333 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 ?
11
votes
3answers
3k views

Advantages of using MAMP stack over Mac's native Web Sharing and downloaded MySQL

I'm wondering what are the advantages of using a MAMP stack instead of Web Sharing provided with Mac natively and MySQL downloaded and installed manually? I can see how in some cases MAMP can have ...
3
votes
1answer
4k 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 ...
0
votes
2answers
82 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
203 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 ...
0
votes
1answer
342 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?
1
vote
1answer
4k views

How to control apache service on OS X (start/stop/restart/graceful restart)?

I have Apache installed on OS X and I want to know what command I can use to: start apache stop apache restart apache gracefully restart apache Also I want to know if the commands were successful ...
0
votes
1answer
2k views

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 ...
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 ...
4
votes
1answer
4k views

Accessing Mac's Virtual Hosts from Parallel's XP

I am having problem with accessing Virtual Hosts (located on my Mac) from XP installed via Parallels. Here's the setup: Mac OS X 10.6.6 using pre-installed apache running via Web Sharing (not ...
3
votes
3answers
1k views

How do I set which Apache / PHP 10.6 should run?

All my problems stemmed from trying to get mcrypt for PHP installed. Last night I gave in and followed a tutorial of how to do a totally fresh apache2 and php5.3.3 install. I did this using macports ...
2
votes
2answers
215 views

Why does OS X's Apache server give different results using real and virtual addresses?

I'm developing a WordPress site on my Mac, running OS X 10.6.4. I'm using OS X's built-in Apache server to run the site locally during development. I've set up WordPress and connected it to OS X's ...