top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

service httpd fullstatus

0 votes
262 views

Im having an issue where when calling apachectl fullstatus Im actually downloading a text version of the website homepage instead of actually showing the status information. Im unsure what changes have occurred recently, but this really is an odd issue that I cant find information to fix.

[root@stark /]# httpd -vServer version: Apache/2.2.3Server built:   May 13 2013 18:01:57

Ive tried a basic yum reinstall httpd and that did not resolve the issue. Do you guys have any ideas on what may be happening?

posted Jun 12, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

What is the variable STATUSURL set to in your apachectl script?
- http://httpd.apache.org/docs/2.2/programs/apachectl.html#options [1]

What server-status settings do you have in your configuration?
- http://httpd.apache.org/docs/2.2/mod/mod_status.html#enable [2]

answer Jun 12, 2013 by anonymous
You set me in the correct direction.
The site is running drupal and has these rewrite rules.
  RewriteCond %{REQUEST_FILENAME} !-f   RewriteCond %{REQUEST_FILENAME} !-d  RewriteCond %{REQUEST_URI} !=/favicon.ico  RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
I added the following and now it works like it should.
RewriteCond %{REQUEST_URI} !=/server-status
Similar Questions
0 votes

My System : CentOS Linux release 7.2.1511 (Core)
My Apache version : Apache/2.4.6 (CentOS)

I have configured two httpd instance.

I'm looking for a way to use "apachectl fullstatus" command for the second instance. Is this possible?

0 votes

I am a bit confused about the mod_rewrite documentation. It shows this rule to block hotlinking:

RewriteCond "%{HTTP_REFERER}" "!^$"
RewriteCond "%{HTTP_REFERER}" "!www.example.com" [NC]
RewriteRule ".(gif|jpg|png)$" "-" [F,NC]

however, I'd think a better rule would be:

RewriteCond "%{HTTP_REFERER}" "^$" [OR]
RewriteCond "%{HTTP_REFERER}" "!(www.)?example.com/.*$" [OR,NC]
RewriteRule ".(gif|jpg|png)$" "-" [F,NC]

if I want to block anyone manually typing in a link (no referer) + hotlinking (probably has a referer). Do i need the [OR] on the 1st
RewriteCond and not the 2nd one? It seems to work with OR on both conditions.

+2 votes

I have apache server in my local network installed from apt-get install apache2, but my php version is old version and I divided to make compile the apache and add php5.4 module.I want compile this apache from source code httpd-2.4.10 version, my ./configure this:

./configure --prefix=/usr/local/apache2  --enable-so --sysconfdir=/etc/httpd/conf

this work for default apache webserver, but my vhosts don't work, they are status 403 "dont forbidden access".
not want to do different from apache in apt-get install, but I want apache and PHP lasts releases from my server.

How to make vhosts config in apache compiled from source code httpd-2.4.10, i need resolve this "problem" for my environment.

+1 vote

We have Apache installed on Windows x64 OS , when I can see two processes in the Task Manager. I want to debug the child process because it is actually handles all the requests .

But Windbg cannot connected to the apache child process when I am trying to attach to the process.

Does anybody succeed to debug it with WinDbg ? Or what is the suggested way to debug apache ?

...