Tagged Questions

httpd is a typical process name of a web server.

learn more… | top users | synonyms

0
votes
0answers
64 views

Assistance required configuring /server-status on apache — keeps getting caught in redirects

Good Morning, I'm trying to configure server-status on my servers, so that I can connect them to Solar Winds monitoring. (No jokes, it's not my choice!) I thought that I could just drop a new .conf ...
1
vote
1answer
28 views

Quickly switch default Apache port

I have default Listen 80 in httpd.conf. Sometimes I need my own webapp to run on that port so I run it with sudo. So, first I need to change Apache port to something else. What I am looking for is a ...
-1
votes
1answer
23 views

Odd httpd behavior while uploading a file

OK, so I'm uploading a 350meg zip file. The file one uploaded is unzipped and the contents are processed. The processing consists of reading in a data file, then copying and thumbnailing images, the ...
1
vote
1answer
195 views

Apache forkbombing randomly

Recently, seemingly out of nowhere the Apache2 daemon on our VPS has random issues with what looks to be forkbombing. First log entries before things to go hell [Tue Jun 25 23:07:18 2013] [error] ...
0
votes
3answers
144 views

make web portal visible on two different vlans on same interface

We have recently set up a new Aterisk pbx server based on our previous pbx (also Asterisk) which was installed by an external company. We've kept the configuration of the server the same, all we did ...
2
votes
2answers
116 views

Httpd on Centos6 not listing directory contents

I have a folder (which is NOT the conventional /var/www/html folder!) /Server/Websites/Default on my Centos6.4 server. There is only one file, phpinfo.php (with the obvious code in it). Running ...
-1
votes
2answers
1k views

Cent OS forbidden error

I am very beginner to system and network administration and I researched a lot on this problem, but still not sloved! I have an Ubuntu machine in which I installed cent Os 6 as a virtual machine. I ...
0
votes
1answer
67 views

Httpd process still hanging memory after background script finishes

I'm calling a php script to run from apache. I'm using the exec function in php to call the script. Once the script ends, httpd is still sitting with 8.9% of memory usage while all other processes ...
0
votes
1answer
395 views

Apache in front of JBoss 6 -> Some proxy errors

Here under my Apache configuration: <IfDefine TOMCAT> <IfModule mod_ssl.c> <IfModule mod_proxy_http.c> ProxyTimeout 300 SetEnv ...
2
votes
3answers
123 views

Can i set 443 as default web port which means it can only be accessed via https and no port 80

As title says, I want to set my apache to listen on 443, and will configure SSL. So, My Question is :- 1). Does that mean, i will not have port 80 or any other port which is no ssl ? 2). My site ...
0
votes
1answer
97 views

Ruby: hide WEBrick httpd version

I using OpenVZ Web Panel to manage my VPS servers and when I scanned my server with nmap I saw: PORT STATE SERVICE VERSION 22/tcp open ssh OpenSSH 6.0p1 Debian 4 (protocol 2.0) 135/tcp filtered msrpc ...
0
votes
1answer
5k views

SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0

I kept getting the following notice in apache log when I start apache http server 2.2: SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0 even though I disabled ...
-1
votes
2answers
612 views

Can't find httpd.pid to use for Monit apache2 monitoring

I'm new to linux and I setup Ubuntu 12.04 on Digital Ocean. I installed Monit and got it to monitor Mysql successfully with email alert. I want to monitor Apache2 as well but cannot find any ...
0
votes
0answers
43 views

httpd service keep restarting. after 15-20 mins

I have recently purchased Dedicated Server which has 16bg ram and 1TB Harddisk. It has Cpanel and for firewall CSF Installd. I am mainly going to install it for File hosting service. Now the day ...
1
vote
2answers
248 views

Redirect To Domain Before SSL Is Read

I had to switch servers and I want to redirect all SSL urls to the non-ssl site. The problem I am running into is the https site still throws invalid certificate error even through apache has the ...
0
votes
1answer
82 views

Redirection on Apache (Maintain POST params)

I have Apache installed on my server and I need to redirect from http to https. The reason for this is our load balancer solution cannot hand https so requests come in on http and then we transfer ...
0
votes
1answer
421 views

Apache 2.2.4: problems chroot with modsecurity

I've been installed mod_security. If i simply include in the httpd the configuration files of mod_security, it starts normally. Indeed, if i try to add SecChrootDir /mnt/chr , httpd will start, but at ...
2
votes
3answers
713 views

What are the package dependencies for httpd? (rhel 5)

Our company uses home brewed repositories and a system to configure them, which is conveniently not working at the moment. This is causing a problem for me since I can't add repositories, and ...
1
vote
0answers
1k views

Apache httpd process using too much memory

I am running a dedicated apache web server on CentOS6 it has: 12GB memory 4 cpus My httpd config is as follows, from /etc/httpd/conf/httpd.conf Timeout 60 KeepAlive Off MaxKeepAliveRequests 100 ...
3
votes
4answers
4k views

Error Start Apache “php value”

After updating my vps, I get the follow error: Failed to start apache : Starting httpd: Syntax error on line 31 of /etc/httpd/conf.d/php.conf: Invalid command 'php_value', perhaps misspelled ...
1
vote
1answer
649 views

Port 80 closed and apache wont restart

I attempted to restart Apache 2.2.14 (also using PHP 5.3.2 on Ubuntu 10.04, running all commands as root). It shutdown, but will not start back up. This is a brand new VPS with no Firewall or IP ...
-2
votes
2answers
240 views

Learning Puppet Exercise - Installing httpd package and starting service [closed]

I'm working my way through the Learning Puppet guide on manifests, and I am stuck on the exercise at the bottom of the page which asks you to install the httpd package and start the httpd service. So ...
0
votes
1answer
75 views

Why does this RewriteRule in httpd not work?

I tried to set this RewriteCond in httpd 2.4.4: ... RewriteCond expr "%{QUERY_STRING} =~ /welcome/" RewriteRule ^(.*)$ %1\.html So, if I visit https://localhost/?welcome , for example, I should see ...
0
votes
1answer
404 views

How to redirect HTTP post request

Hi I am currently using the below code in my apache httpd.conf file to redirect from HTTP to HTTPS <VirtualHost 10.1.2.91:80> Redirect 302 /GladQE/link https://glad-test.com/GladQE/link.do ...
1
vote
2answers
77 views

mod_rewrite to redirect to different virtualhost

The hostname where I want to redirect to looks like: <VirtualHost *:80> ServerName my.dav.hostname.com ErrorLog /var/log/open-xchange/dav-err.log TransferLog ...
1
vote
3answers
85 views

httpd ldap and file authentication error

We have SVN running via Apache httpd. For authentication we use Active Directory and if the user isn't in AD, we fallback to file authentication. This works fine, except for the error messages in case ...
0
votes
0answers
362 views

Apache2 is failing to stop

Periodically, Apache2 is becoming unresponsive (not serving pages) and when I try to restart the daemon, it fails: [root@ar9 httpd]# service httpd reload Reloading httpd: ...
0
votes
1answer
347 views

OSSEC “unable to retrieve alerts”

I try to learn about Ossec, but, when i access to the Ossec web UI in the Main tab, Ossec shows me: "unable to retrieve alerts" I see the alerts.log file and i can read different problems. Why i ...
0
votes
3answers
364 views

Apache httpd offline installation on Debian

how can I install Apache HTTPD offline on a Debian Linux distribution? On this case I have no internet access at all on this machine, so I was searching for binary distributions of Apache Httpd and ...
0
votes
1answer
98 views

Building apache 2.4 RPM

I'm trying to build up-to-date packages for httpd... I would like to build Apache 2.4.4 (latest) as an RPM. so that i can install on multiple servers and not compile each time... When i try to do ...
0
votes
1answer
89 views

Virtual hosts only working for 2/4 directories?

I am running CentOS 6.2 and I have in httpd.conf the following: <VirtualHost *:80> ServerAdmin user@example.co.uk DocumentRoot /var/www/html/example.co.uk/public ServerName ...
0
votes
2answers
330 views

Why is G-Wan performance so low on Opteron?

I am testing G-Wan 4.3.14 on CentOS 6 with the 2.6.32 Linux kernel using an Opteron 6234 6 module / 12 core processor. Running a simple weighttp test I get: weighttp -k -n 1000000 -t 6 -c 1000 ...
0
votes
1answer
75 views

Reverse proxy to proxy traffic to (external dns) *.domain.com to internal <str[1-…>.domain.com dns

I'd like to configure a reverse http proxy to serve traffic from numerous internal webservers while exposing a single external ip. I plan to have an externally published wildcard dns for ...
0
votes
1answer
101 views

Can we configure HTTP response code headers?

We're stumped. We're getting a new header in our Apache httpd + Passenger web server we didn't expect. We have a sensitive web client reading this we cannot modify at this time. Can we modify this ...
0
votes
1answer
620 views

Apache gzip compression

I have an inherited Apache 2.2.17 server running on Ubuntu that I need to enable compression on. I have ensured the mod is loaded: apachectl -t -D DUMP_MODULES Loaded Modules: ... deflate_module ...
0
votes
1answer
516 views

suphp error Directory / is not owned by admin

I'm trying to run a test phpinfo page from: /home/admin/testdomain.com But it displays such error: Internal Server Error Directory / is not owned by admin suPHP 0.7.1 My /etc/suphp.conf is like ...
1
vote
0answers
467 views

Why do we get 'cannot open file' we use XSendFile with /tmp?

We're upgrading to Fedora 18. We've deployed our Rails app, and it works as expected, except for downloading zip files of reports. It works on our existing production server (Fedora 15). We're ...
0
votes
1answer
121 views

CentOS 6 & Apache2.2 VHost Configurations

I have a personal VPS configured to host two domains that I purchased, I managed to configure Apache correctly and get both domains able to point to their own directories and show correctly. I want ...
0
votes
0answers
453 views

how to config monit for send mail alert apache restart

I'm configuring /etc/monitrc and I need a config that Monit sneds an alert email when httpd service start I'm trying with this configuration: check process httpd with pidfile /var/run/apache2.pid ...
1
vote
0answers
107 views

What causes my new web server to delay its response?

I'm migrating my servers from Rackspace over to Amazon. Our servers are running mod_perl and the connect times are much longer on the Amazon server (oftentimes up to 1 second just to connect) with ...
1
vote
4answers
439 views

httpd: how to dynamically delay request forwarding to proxy?

I have Apache httpd (2.2.22) configured as reverse proxy. There is a situation in which I need to take my web server (the receiver of the proxied requests) offline for a few milliseconds. During this ...
0
votes
3answers
580 views

Consequences of limiting max number of httpd processes

I am considering limiting the maximum number of httpd processes on a centos/apache web server. I have seen several posts which discuss taking this action to help reduce memory load (which is why I am ...
0
votes
1answer
416 views

Change default document root for all subdomains in directadmin

is there any way to set document root for all subdomains to a different path like: (www/path/subdomains) using regexps or something else? something like this? |*if SUB="*"| ...
0
votes
1answer
1k views

Failed to restart Apache server

I'm trying to restart Apache through Plesk. When I click "Restart", i'm getting the following message. Error: Unable to make action: Unable to manage service by apache_control_adapter: Service ...
0
votes
0answers
33 views

Redirect switcharoo - Apache

I'm having trouble making this or some variant of it work: <IfModule mod_rewrite.c> RewriteEngine On <DirectoryMatch "/home/.*/public_html"> RewriteRule /wp-login.php - [F] ...
2
votes
2answers
63 views

Strange “GET /api/levels/ ” and “GET /play/” requests in logs

I've setup new Amazon EC2 instance. In a day or two started to get strange "GET" requests from the "google bot-like" IP's (eg 66.249.76.84, 66.249.74.152) about one in 10 seconds (some examples): ...
1
vote
2answers
184 views

can't access apache via custom port

I have configured apache to Listen on the port 80 and 4986 I can access it on virtualhost on port 80 but can't access it on port 4986 I have tried lsof -i:4986 : apache2 26669 www-data 6u IPv6 ...
1
vote
1answer
3k views

socket file descriptor (1063) is larger than FD_SETSIZE (1024), you probably need to rebuild Apache with a larger FD_SETSIZE

My Apache is throwing Internal Server Error 500 errors and logs like this: > [Sun Apr 07 23:35:24 2013] [error] [client 124.162.30.45] (2)No such > file or directory: FastCGI: failed to connect ...
0
votes
1answer
41 views

Apache server spam post requests

I really don`t know how to describe this problem but i got screenshot. black = server IP blue = domain I also noticed some strange files in "mak/administrator" folder. Any suggestion? p.s this ...
-1
votes
1answer
224 views

Apache errors - *** glibc detected *** Backtrace - perl

I have been getting these errors in my apache logs on my server - it only happened once a day or every two days. Any idea what could be causing this? I dont even have an idea of where to start? *** ...