Webserver Setup, need help!

 
Thread Tools Search this Thread
Operating Systems OS X (Apple) Webserver Setup, need help!
# 1  
Old 06-22-2004
Webserver Setup, need help!

Hey guys, does anyone know how I edit, configure the server settings using the terminal? MySQL and PHP was once working.

But after frying the Xserve G5 i'm in the middle of rebuilding everything, I believe i need to re-configure the root document directory...
but have forgotten how to edit the httpd.conf file. I believe, normally it resides in /etc/httpd/... well, only now it's become lost, the directory appears to be empty.

Now i have no web document directory. Anyone wanna give step by step guide, I'm desperate! Like to have above root access too for hiding application config files.

Cheers Smilie

Last edited by hype.it; 06-22-2004 at 12:41 PM..
# 2  
Old 06-23-2004
Web Document directory is either of two places:
/Library/WebServer/Documents
or
/Users/username/Sites

config file is /etc/httpd.conf


Several editors (command line or freeware gui) can edit the file.

Starting or stopping the web server through System Preferences > Sharing

<edit> D'OH! Sorry. umm, I don't know about Xserve. Smilie </edit>

Last edited by [MA]Flying_Meat; 07-16-2004 at 03:24 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Emergency UNIX and Linux Support

Netcat ( nc -l ) as webserver

Dear Linux guru's I am trying to create a webserver using nc (netcat only) on RHEL 7.2 running on bash shell. now the easy thing is to get nc listing to a port and respond back $ while true; do { echo -e 'HTTP/1.0 200 OK\r\n'; set; } | nc -l 7877; done This when called from a... (3 Replies)
Discussion started by: chakrapani
3 Replies

2. Shell Programming and Scripting

PHP webserver vs AJAX

Hello All I want to develop a news ticker using a PHP webserver instead of polling the RSS feed using AJAX. Let me know if you guys have any idea about this. (0 Replies)
Discussion started by: suvendu4urs
0 Replies

3. UNIX for Advanced & Expert Users

is this enough for a webserver of 200 clients

Hi all, This is my server configuration. Hard Disk - 500 GB RAM - 3GB Processor - intel core 2 quad ( 4 numbers). each one of four cores. We have an application hosted thorough tomcat and accessed via apache through mod_jk connector. There would be around 200 clients... (1 Reply)
Discussion started by: anishkumarv
1 Replies

4. AIX

NIM server setup on etherchannel setup environment

I know that IBM's official stance is that NIM does not work on etherchannel environment, but has anyone able to get around it? I'm working on a p5-590 LPAR system, and the NIM master and clients are all on the same frame. Any help is appreciated. (1 Reply)
Discussion started by: pdtak
1 Replies

5. Solaris

telnet Webserver GET /

I want to incorporate this in a script for some simple monitoring for my webserver telnet localhost 80 GET /opencms/opencms/test/index.html how to do it? I tried echo "GET /opencms/opencms/test/index.html" | telnet localhost 80 I tried telnet localhost 80 << EOF echo "GET... (4 Replies)
Discussion started by: sparcguy
4 Replies

6. Solaris

webserver login

how can I get statistics and web analysis for solaris 10 webserver access? what is the file? and what is the tools to analyze it? thanx (2 Replies)
Discussion started by: fsmadi
2 Replies

7. HP-UX

Issue with setup.hp file for webserver

Hi All, I have an issue in writing the shell script to install a webserver on UNIX system. My shell script look something like this. ------------------------------------------------------------ echo "start of the script" #! /bin/sh cd /home/path echo | setup.hp -is:javaconsole -console... (1 Reply)
Discussion started by: vishalm
1 Replies

8. UNIX for Advanced & Expert Users

apache webserver

Can I set up an apache webserver on Mandriva? Looking for the easiest webserver program to install basic webserver just for home use. Any ideas/suggestions much appreciated..... (2 Replies)
Discussion started by: jo calamine
2 Replies

9. SuSE

Cannot connect to webserver

Hello All, I need some help as to how to debug the problem I am having with my webserver. I am using Suse 9.2 pro as my server. I have setup my firewall and router to forward http 80 request to my linux server. I tried pinging my server from work - it worked. I tried running localhost... (5 Replies)
Discussion started by: negixx
5 Replies
Login or Register to Ask a Question