Web Server?

To web server or not, that is the question:

  • Nope, no need!

  • Hoping to expand my horizons and try it soon

  • Limited/personal use, from my User home directory

  • Oh yeh, I love configuring httpd.conf, my site is looking serious

  • I'm using OSX Server day and night


Results are only viewable after voting.

uoba

Re: member
Okay, how many of you OSX dudes/dude-ess' use your loverly system as a Web Server?
 
Excuse me,
can you imagine mac os x without apache or a sort of web server???

Don't you want me to use Mac os 9 web sharing ??? :D
 
hype of Apache for months after I installed OSX (me being a web developer businessman as well:rolleyes: !)... but when my main developer left, I decided to look into it, and there no stopping me now...

...anyone for httpd.conf?:D

Seriously, I know alot of web designers (I think the majority) use Windows, but this is the one defining feature of OSX, coupled with the UI that everyone of them should seriously look at.
 
I Wonder how to configure the http.conf thing? what is it and what do you do. How do i configure it?, In the Terminal.app. Just questions that appeared when talking asbout it :)

-Macfreak
 
is the file that you alter to change configurations and options with your inbuilt Apache Web Server. You can change things like the root placement of your web site (from /Library/Webserver/ on your system drive to another place such as another hard drive/partition volumes (more convenient in my opinion)), alter the error page messages, loads of things.

The best thing is, the file is so well documented within, that it really isn't that hard to deal with, as long as you have a definate idea what you want to do.

If you are interested in looking at it type/paste this into your terminal command line:

pico /etc/httpd/httpd.conf

This will open the file in Pico, the Terminal's own text editor application (you'll have to get used to using that as well, although you can use BBEdit or something, you just have to make the file available to it (non-invisible)).

Don't change anything unless your confident (or if your curious, back the file up, and remember/write down what you changed). When you do change something, you have to restart the Apache server with the command:

sudo apachectl restart

If you get an error after this (normally a message stating it was unable to restart), you know that whatever you changed was at fault (so go back and reset, or alter you httpd.conf file)
;)
 
It is sop great having Apache! That coupled with a some sort of script like JSP or PHP (I mostly use JSP, although PHP is fun and fast to develop in) and a DB like MySQL makes you Mac a full fledged enterprise class development environment. I develop webb apps on my Mac and deploy them to Sun or other *NIX architectures without a hitch!

OS X Kicks Ass!
 
I´ll try that when i get home. Can you change the error pages such as 404 or 504? that would be awsome! :D

-Macfreak
 
Look for my Error page questions in the Darwin forum on this site... answered by the excellent testuser!;)
 
Back
Top