08-11-2008
apachectl doesn't have such flags as status, you're probably referring to their values in the httpd.conf. After making changes, restart apache, then go to the server URL -
http://server.com/extended-status or the respective pointer. server-status handler is available on the new versions, at least this is what I can see on my open suse. What is your version.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i made a cert with a passwd, and i'm curious if can i start apache with apachectl startssl with 1 line command.
Or do i have to write a startscript that catches password promt and inserts passwd?really to tell i'm to bad in sh scripting,and i think someone of you done it already, may i have a... (3 Replies)
Discussion started by: hachik
3 Replies
2. IP Networking
hello-
I'm trying to setup a webserver using apache 2.0.53. Can't seem to figure out why my local site isn't coming up.
I've tried the following:
ping -a localhost
localhost (127.0.0.1) is alive
httpd -S
syntax ok
apachectl configtest
syntax ok
netstat -an|grep :80|grep LISTEN... (4 Replies)
Discussion started by: ECBROWN
4 Replies
3. UNIX for Dummies Questions & Answers
Hi
I have a script that does a select from a table. I want the script to return a 0 status if a specific column has 'OK' value or return 1 if this column returns 'NOT OK'.
The output now is similar to:
COL1 COL2 STATUS
------- --------- -------
I want to be limited to... (1 Reply)
Discussion started by: melanie_pfefer
1 Replies
4. UNIX for Dummies Questions & Answers
Hi
While trying to start apachectl in an IBM HTTP server installed in a Sol 10 box,i am facing the following error:
root: ./apachectl start
./apachectl: /opt/IBMHTTPD/bin/httpd: cannot execute
./apachectl start: httpd could not be started
@ /opt/IBMHTTPD/bin
I checked the... (3 Replies)
Discussion started by: Hari_Ganesh
3 Replies
5. Shell Programming and Scripting
I need to know what the upload speed of an Internet connection. I thought the easiest way to do this would be to transfer a file via FTP to my server using the command:
sh-3.2$ ftp -u ftp://username:password@computerdomain/directory/ file_to_be_uploaded
Note: My environment allows me to issue... (2 Replies)
Discussion started by: zzz1528
2 Replies
6. Shell Programming and Scripting
Hello Team,
I have script which gives below output.
Server clustServer11 is in a STARTED state
Server clustServer12 is in a STOPPED state
Server clustServer21 is in a STOPPED state
I would like to prepare script which will grep stop word from the above output and send an email alert. (5 Replies)
Discussion started by: coolguyamy
5 Replies
7. Shell Programming and Scripting
Hello,
can some please suggest a script, for killing the process PID. This are steps I am currently performing to kill the process.
I cant user service splunk stop, to kill these processes, because of uid and gid mismatch for splunk user.
# service splunk status
Splunk status:
splunkd... (8 Replies)
Discussion started by: bobby320
8 Replies
8. Red Hat
I was trying to install apache using the following url
Compiling and Installing - Apache HTTP Server
when I try to start http it prompts me the following error
oracle@localhost httpd-2.4.4]$ su -c '/usr/local/apache2/bin/apachectl -k start'
Password:
/usr/local/apache2/bin/httpd: ... (1 Reply)
Discussion started by: jediwannabe
1 Replies
9. AIX
Dear all
I am facing issue in one part of my script.
in this part i am trying to zip the files but want the status to be redirected to a text file
YAMVASSRV02_vas>
YAMVASSRV02_vas> cat final_col.sh
gzip -cv /data01/oracle/oradata/vas/control/control01.ctl > ... (2 Replies)
Discussion started by: javeedkaleem
2 Replies
10. Shell Programming and Scripting
Hi,
I need to get the Status Column in Green if it is approved and Red if it is declined in the HTML output attachment#!/bin/bash
body_csv="/authlistener/ProdA/service/queryRS.csv"
body_html="/authlistener/ProdA/service/queryRS.html"
... (1 Reply)
Discussion started by: maddelav
1 Replies
LEARN ABOUT OPENSOLARIS
apache
apache(1M) System Administration Commands apache(1M)
NAME
apache - Apache hypertext transfer protocol server overview
DESCRIPTION
apache consists of a main server daemon, loadable server modules, some additional support utilities, configuration files, and documenta-
tion.
FILES
The apache HTTPD server is integrated with Solaris.
The following files specify the installation locations for apache:
/etc/apache Contains server configuration files.
A newly-installed server must be manually configured before use. Typically this involves copying httpd.conf-example
to the httpd.conf file and making local configuration adjustments.
/usr/apache/bin Contains the httpd executable as well as other utility programs.
/usr/apache/htdocs Contains the Apache manual in HTML format. This documentation is accessible by way of a link on the server test page
that gets installed upon fresh installation.
/usr/apache/include Contains the Apache header files, which are needed for building various optional server extensions with apxs(8)
/usr/apache/jserv Contains documention for the mod_jserv java servlet module. Documention can be read with a web browser using the
url:
file:/usr/apache/jserv/docs/index.html
/usr/apache/libexec Contains loadable modules (DSOs) supplied with the server. Any modules which are added using apxs(8)are also copied
into this directory.
/usr/apache/man Contains man pages for the server, utility programs, and mod_perl.
Add this directory to your MANPATH to read the Apache man pages. See NOTES.
/usr/apache/perl5 Contains the modules and library files used by the mod_perl extension to Apache.
/var/apache/cgi-bin Default location for the CGI scripts.
This can be changed by altering the httpd.conf file and restarting the server.
/var/apache/htdocs Default document root.
This can be changed by altering the httpd.conf file and restarting the server.
/var/apache/icons Icons used by the server.
This normally shouldn't need to be changed.
/var/apache/logs Contains server log files.
The formats, names, and locations of the files in this directory can be altered by various configuration directives
in the httpd.conf file.
/var/apache/proxy Directory used to cache pages if the caching feature of mod_proxy is enabled in the httpd.conf file.
The location of the cache can also be changed by changing the proxy configuration in the httpd.conf file.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWapchr |
+-----------------------------+-----------------------------+
| |SUNWapchu |
+-----------------------------+-----------------------------+
| |SUNWapchd |
+-----------------------------+-----------------------------+
SEE ALSO
attributes(5)
http://www.apache.org
NOTES
In addition to the documentation and man pages included with Solaris, more information is available at http://www.apache.org
The Apache man pages are provided with the programming modules. To view the manual pages for the Apache modules with the man command, add
/usr/apache/man to the MANPATH environment variable. See man(1) for more information. Running catman(1M) on the Apache manual pages is not
supported.
SunOS 5.11 8 Aug 2000 apache(1M)