Go Back   The macosxhints Forums > OS X Help Requests > OS X Server



Reply
 
Thread Tools Rate Thread Display Modes
Old 04-28-2012, 07:07 PM   #1
Brian Schott
Triple-A Player
 
Join Date: Jun 2005
Posts: 91
Mac mini server setup

I am trying to create a Web server on my Mac mini server. The link below has enabled me to create a server at localhost/~brian, but I got a 403 error at localhost. The author of the instructions says that Lion has an error which does not allow the server to start. He suggests to just keep trying. That seems lame. But I cannot correspond with him because the discussion has been closed.

https://discussions.apple.com/docs/DOC-3083

A related question: on the mini server is in what path do I put the configure file named httpd.conf?

Brian in Atlanta
Brian Schott is offline   Reply With Quote
Old 04-28-2012, 08:18 PM   #2
acme.mail.order
League Commissioner
 
Join Date: Sep 2003
Location: Tokyo
Posts: 6,298
Leave the config files completely alone. Explore the Applications folder for Server Admin and use that to control your server. Activate the Web service and set up your sites in the appropriate sub-panel.

You may need to enable advanced configuration.

If you have already fiddled with command-line config files it may be broken beyond repair - reinstalling the server is the easiest fix at this point.
acme.mail.order is offline   Reply With Quote
Old 04-28-2012, 08:44 PM   #3
Brian Schott
Triple-A Player
 
Join Date: Jun 2005
Posts: 91
Thanks. The only change I have made is the one to line #111. Are you saying to change that one line back?
Brian Schott is offline   Reply With Quote
Old 04-28-2012, 10:07 PM   #4
acme.mail.order
League Commissioner
 
Join Date: Sep 2003
Location: Tokyo
Posts: 6,298
If all you did was add or remove a comment then it should be fine. But do everything else through Server Admin. There are very few reasons to manually modify the httpd config files.
acme.mail.order is offline   Reply With Quote
Old 04-28-2012, 10:18 PM   #5
Brian Schott
Triple-A Player
 
Join Date: Jun 2005
Posts: 91
Nevermind, I am only now downloading Admin Tools and will look into them.
Thanx, again. Likely I'll be back.

Brian in Atlanta
Brian Schott is offline   Reply With Quote
Old 04-30-2012, 05:40 AM   #6
agentx
Hall of Famer
 
Join Date: Feb 2003
Location: Brighton, UK
Posts: 4,112
All the HTTP config is setup in Server.app not the "old" Server Admin tools(server admin & workgroup manager) which are still in use so worth installing.

Firstly make sure you are updated to 10.7.3.
Open Server.app and turn on web services.
I there are problems with all this starting then there is a reset command to bring all back to factory settings.
Code:
sudo serveradmin command web:command=restoreFactorySettings

Last edited by agentx; 04-30-2012 at 06:09 AM.
agentx is offline   Reply With Quote
Old 05-01-2012, 03:25 PM   #7
Brian Schott
Triple-A Player
 
Join Date: Jun 2005
Posts: 91
Okay thanks everyone for your help. I think I am up and running now.
Brian Schott is offline   Reply With Quote
Old 08-22-2012, 12:58 AM   #8
carles1988
Prospect
 
Join Date: Aug 2012
Posts: 1
Quote:
Originally Posted by agentx
All the HTTP config is setup in Server.app not the "old" Server Admin tools(server admin & workgroup manager) which are still in use so worth installing.

Firstly make sure you are updated to 10.7.3.
Open Server.app and turn on web services.
I there are problems with all this starting then there is a reset command to bring all back to factory settings.
Code:
sudo serveradmin command web:command=restoreFactorySettings


Thanks to you agentx! I got it atlast!
carles1988 is offline   Reply With Quote
Reply

Tags
apache, mini server

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 11:45 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.