1
vote
1answer
274 views

How to configure Apache for XAMPP on Mac OS X Lion to use mod_rewrite?

I am totally newbie when it comes to .htaccess or Apache. I don't know how it works. My URLs are like http://localhost/category.php?category=something and I'd like to get the variable value as ...
1
vote
1answer
36 views

Trouble accessing the OS X Lion web server from other device

I'm developing a web app for mobile phones. To easily get a feel of how it is to use, I simply copied the app into ~/Sites (after enabling web sharing in the System Preferences). Navigating to ...
0
votes
1answer
351 views

How to set up OS X server for serving static files over HTTP?

I have OS X Server(.app) installed (because I'm a registered developer, so I got it for free). I figured it would be an easy way to flip a switch and get a web server for some static files, for my ...
0
votes
0answers
297 views

Which mail daemon does OS X 10.8.4 run by default?

I'm debugging some mail related stuff on my Mac, and not quite sure how my system is even sending mail. I can run a simple command like date | mail -s test myemail@mydomain.com and receive an email ...
0
votes
1answer
239 views

Nginx on 10.7 with homebrew

I've purchased an "old" Mac Mini (macmini2,1) from a coworker to serve as a media server beneath my TV. It runs 10.7.5 and can't update any further, it's got a 1.83Ghz Core2Duo and 4Gb RAM, and I've ...
0
votes
2answers
143 views

How to serve the personal website from different folder?

So far, I read on MacRumors of: System-wide site Files at /Library/WebServer/Documents will, by default, be shared as the root Web site when Web sharing is turned on. These files can be ...
2
votes
1answer
794 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
99 views

web sharing on lion - odd behavior

In my Lion local web sharing folder, I noticed that I cannot change any of the files without typing in my password. I also noticed that there's a folder called postgresql there. I don't remember ...
0
votes
2answers
132 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
4k views

Edit Lion default web site pages

The first part of the question is: where are the actual files that are displayed by apache for the default web server in Lion Server? Specifically as simple task I would like to change the title of ...
0
votes
2answers
534 views

How to use and access web sharing with Mac OS X Lion?

I am new to Mac OS X, and I have a MacBook Pro. I am developing a web application with PHP and MySQL. I already installed XAMPP on my Mac. I discovered the option for hosting in System Preferences > ...
1
vote
2answers
296 views

No web tab on the OS X Lion Server interface

I just installed Mac OS X Lion Server and it doesn't have the Web tab in the services pane. This looked like it was supposed to come standard. How else can I access the Web part of the server?
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 ...
2
votes
4answers
2k views

Web Sharing Can't Start

It worked before, and I'm not sure when it stopped working, but I'm unable to start Web Sharing at the moment. Attempting to start it from the Sharing screen results in "Web Sharing Starting..." ...
2
votes
3answers
2k views

Enable home directory sites in Lion server?

I had a Leopard server with a few hundred users (students), and each of them was able to maintain their own web content in their Sites folders in their home directories -- and they could access them ...
19
votes
3answers
46k 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 ...
2
votes
3answers
2k views

Preferred Location for cgi executables in Lion Server

This question relates to use of a Lion Server only for testing and prototyping, so I don't need multiple sites hosting separate domains. All of my projects have directories in the root directory, not ...