9 More Discussions You Might Find Interesting
1. Red Hat
Have no idea on what the below error message is:
Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-launcher.jar org.apache.tools.ant.launch.Launcher -buildfile build.xml dist.
Any help? (3 Replies)
Discussion started by: gull05
3 Replies
2. Red Hat
Hi all
I'm using the following for my os
# cat /etc/redhat-release
CentOS release 6.4 (Final)
when I execute the following
# ls -lrth /etc/init.d/httpd
-rwxr-xr-x. 1 root root 3.3K Feb 22 19:20 /etc/init.d/httpd
# /etc/init.d/httpd start
Starting httpd: httpd: Syntax error... (1 Reply)
Discussion started by: jediwannabe
1 Replies
3. Shell Programming and Scripting
Hi,
I have a problem with running out of memory in my Ubuntu web server (4GB RAM) because many people try to access my server.
I used to restart manually my apache server to clear out the memory & swap.
Can anyone tell me how to write bash script that can automatically restart apache when... (2 Replies)
Discussion started by: nica
2 Replies
4. Solaris
Hi Guys & Gals....
First of all thanks for the help with your previous postings a lot of questions answered without having to post one myself
However, here is my first post.
I've just done a fresh install of Solaris 10 and upgraded the version of Apache via the impatient version of... (2 Replies)
Discussion started by: fjt1973
2 Replies
5. Shell Programming and Scripting
I have posted this on the Web subforum but it seems that nobody knows to do this, maybe someone has a solution here. Thank you
I have a PHP application that starts a couple of processes on the server...the problem is that if I restart apache those running apps will die.
How can I start them... (1 Reply)
Discussion started by: valiadi
1 Replies
6. Web Development
Hi, I have a PHP application that starts a couple of processes on the server...the problem is that if I restart apache those running apps will die.
How can I start them in a way that they are not killed when I restart/stop apache ?
$cmdstr = "nohup ".$config."/".$config."... (6 Replies)
Discussion started by: valiadi
6 Replies
7. Shell Programming and Scripting
I have a shell script, that works when ran in the shell. When placed in the cgi-bin directory, it doesn't work as expected.
Looking at the logs, it seems that some environmental variables are not being passed.
My apache user is www.
For simplicity, here is a sample script I want to run
... (2 Replies)
Discussion started by: streetfighter2
2 Replies
8. UNIX for Dummies Questions & Answers
I'm trying to figure out what version of Apache I have. Any suggestions???
Thanks in advance. (1 Reply)
Discussion started by: shorty
1 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I am running an application on apache/tomcat under unix.
It was working fine until I stopped both tomcat and apache and restarted both.
Now I am getting 404 not found error.
Is there something here that I am missing.
Any help will be appreciatd.
Thx
Karthik (1 Reply)
Discussion started by: kkarthik
1 Replies
APACHE_RESPONSE_HEADERS(3) 1 APACHE_RESPONSE_HEADERS(3)
apache_response_headers - Fetch all HTTP response headers
SYNOPSIS
array apache_response_headers (void )
DESCRIPTION
Fetch all HTTP response headers.
RETURN VALUES
An array of all Apache response headers on success or FALSE on failure.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.5.7 | |
| | |
| | This function became available in the CLI |
| | server. |
| | |
| 5.4.0 | |
| | |
| | This function became available under FastCGI. |
| | Previously, it was supported when PHP was |
| | installed as an Apache module or by the NSAPI |
| | server module in Netscape/iPlanet/SunONE web- |
| | servers. |
| | |
+--------+---------------------------------------------------+
EXAMPLES
Example #1
apache_response_headers(3) example
<?php
print_r(apache_response_headers());
?>
The above example will output something similar to:
Array
(
[Accept-Ranges] => bytes
[X-Powered-By] => PHP/4.3.8
)
SEE ALSO
apache_request_headers(3), headers_sent(3), headers_list(3).
PHP Documentation Group APACHE_RESPONSE_HEADERS(3)