06-20-2001
replys to your questiosn in this order.
1) send a HUP to the httpd so it will reread the config file after you rename it.
2) 1st: remove php untill you get it working like you had it. THEN you can add stuff.
3) if you can get to it via host name but NOT ip. it is my logical guess your typeing the incorrect ip.
check your httpd.conf with apachectl using the configtest option to check for errors in your httpd.conf file.
7 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi, IMA nOOb;
I would greatly appreciate it if anybody could shed some light on this subject.
For example I want users to login using ssh or ftp
and not be ABLE to leave their userdir
so they cannot view any directories outside of the /home/user
so they can't
cd /
ls
Sorry... (5 Replies)
Discussion started by: scuzoid
5 Replies
2. Solaris
I've connected a Sun Sparc Printer E to a Sun Server to print locally. I've gone through and added the printer using the admintool, but nothing will print. Is there some other configuration that needs to take place that I'm overlooking. :o (0 Replies)
Discussion started by: sprite
0 Replies
3. Shell Programming and Scripting
Hi,
when i am trying to FTP one file (test.txt) from Unix server to my local machine then i am getting the following error, as shown below
ftp> binary
200 Type set to I.
ftp> put C:\FTP\test.txt
C:FTPtest.txt: No such file or directory
ftp>
The red color text is the error.
Can... (3 Replies)
Discussion started by: sunitachoudhury
3 Replies
4. UNIX for Advanced & Expert Users
Hi,
I am trying to move a local directory from a local disk to a nfs disk that has been shared on another file server. I am using this tar command:
tar cf - . | (cd /export/nfsdisk && tar xpf - )
It copies the data okay but the big problem is that is resets the owner:group to 'nobody'. The... (2 Replies)
Discussion started by: jlowry
2 Replies
5. Shell Programming and Scripting
Hello all-
I have done a lot of searching tonight, but all leads seem to be dead ends. Forgive me if this has been covered, but I've searched the forum and the internet. I am having trouble building a shell script which uses SSH to login to our schools 1024 cluster grid. The issue that I am... (1 Reply)
Discussion started by: Sagan
1 Replies
6. AIX
Hi Friends,
I have this script for ftping files from AIX server to local windows xp.
#!/bin/sh
HOST='localsystem.net'
USER='myid_onlocal'
PASSWD='mypwd_onlocal'
FILE='file.txt' ##This is a file on server(AIX)
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies
7. UNIX for Dummies Questions & Answers
I want to host a website in India, after all my research I have found MilesWeb.com, I am planning to go for their shared plan http://www.milesweb.com/cpanel-hosting.php I have test their contact options and response time, they are really available 24/7. I have checked few other providers, they... (1 Reply)
Discussion started by: Guruguy
1 Replies
httpd(8) System Manager's Manual httpd(8)
NAME
httpd - Apache hypertext transfer protocol server
SYNOPSIS
httpd [ -d serverroot ] [ -f config ] [ -C directive ] [ -c directive ] [ -D parameter ]
httpd [ -h ] [ -l ] [ -L ] [ -v ] [ -V ] [ -t ] [ -X ]
DESCRIPTION
httpd is the Apache HyperText Transfer Protocol (HTTP) server program. It is designed to be run as a standalone daemon process. When used
like this it will create a pool of child processes to handle requests. To stop it, send a TERM signal to the initial (parent) process. The
PID of this process is written to a file as given in the configuration file.
This manual page only lists the command line arguments. For details of the directives necessary to configure httpd see the Apache manual,
which is part of the Apache distribution or can be found at http://httpd.apache.org/. Paths in this manual may not reflect those compiled
into httpd.
OPTIONS
-d serverroot
Set the initial value for the ServerRoot directive to serverroot. This can be overridden by the ServerRoot command in the con-
figuration file. The default is /etc/httpd.
-f config Execute the commands in the file config on startup. If config does not begin with a /, then it is taken to be a path relative
to the ServerRoot. The default is conf/httpd.conf.
-C directive
Process the configuration directive before reading config files.
-c directive
Process the configuration directive after reading config files.
-D parameter
Sets a configuration parameter which can be used with <IfDefine>...</IfDefine> sections in the configuration files to condi-
tionally skip or process commands.
-h Output a short summary of available command line options.
-l Output a list of modules compiled into the server.
-L Output a list of directives together with expected arguments and places where the directive is valid.
-S Show the settings as parsed from the config file (currently only shows the virtualhost settings).
-t Run syntax tests for configuration files only. The program immediately exits after these syntax parsing with either a return
code of 0 (Syntax OK) or return code not equal to 0 (Syntax Error). If -D DUMP_VHOSTS is also set, details of the virtual host
configuration will be printed.
-v Print the version of httpd , and then exit.
-V Print the version and build parameters of httpd , and then exit.
-X Run httpd in debug mode. Only one worker will be started and the server will not detach from the console.
FILES
/etc/httpd/conf/httpd.conf
/etc/mime.types
/etc/httpd/conf/magic
/var/log/httpd/error_log
/var/log/httpd/access_log
/var/run/httpd.pid
February 1997 httpd(8)