Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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 the default web page. When the address is bookmarked it shows as "OS X Lion Server" and I want to change that.

I looked everywhere and I couldn't find the actual files. Obviously I don't know where to look :-)

share|improve this question
1  
Are you talking about ./Library/WebServer/? Or perhaps ~/Sites/? –  timothymh Feb 23 '12 at 22:58

2 Answers 2

up vote 3 down vote accepted

The default document root for Lion Server is /Library/Server/Web/Data/Sites/domainname.

Lion Server Advanced Administration is your friend.

share|improve this answer

I haven't had any personal experience with Lion Server, but on the normal Lion, there are two folder locations used for web sharing. The first is hosted by the user, and is found at ~/Sites/. The second and more likely possibility is the one hosted by the system, found at ./Library/WebServer. (Note that the first is "~/", meaning it's within the user's directory, and the second is "./", meaning it's in the system's Library folder.)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.