Sponsored Content
Full Discussion: Webserver Setup, need help!
Operating Systems OS X (Apple) Webserver Setup, need help! Post 52582 by hype.it on Tuesday 22nd of June 2004 11:36:20 AM
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..
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
MYSQL_SET_CHARSET(3)							 1						      MYSQL_SET_CHARSET(3)

mysql_set_charset - Sets the client character set

SYNOPSIS
Warning This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQL extension should be used. See also MySQL: choosing an API guide and related FAQ for more information. Alternatives to this function include: omysqli_set_charset(3) oPDO: Add charset to the connection string, such as charset=utf8 bool mysql_set_charset (string $charset, [resource $link_identifier = NULL]) DESCRIPTION
Sets the default character set for the current connection. o $charset - A valid character set name. o $ link_identifier -The MySQL connection. If the link identifier is not specified, the last link opened by mysql_connect(3) is assumed. If no such link is found, it will try to create one as if mysql_connect(3) was called with no arguments. If no connection is found or established, an E_WARNING level error is generated. Returns TRUE on success or FALSE on failure. Note This function requires MySQL 5.0.7 or later. Note This is the preferred way to change the charset. Using mysql_query(3) to set it (such as SET NAMES utf8) is not recommended. See the MySQL character set concepts section for more information. mysql_client_encoding(3), Setting character sets in MySQL, List of character sets that MySQL supports. PHP Documentation Group MYSQL_SET_CHARSET(3)
All times are GMT -4. The time now is 07:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy