Questions tagged [httpd]

httpd is a typical process name of a web server.

httpd (for Hyper Text Transport Protocol Daemon) is a typical name of the web server process.

Apache is the most popular web server that runs using this process name. It is also the name given to the new default server for OpenBSD 5.7 and on.

1448 questions
-1
votes
1 answer

Apache 2/httpd vhost dynamic documentroot

I have an app in folder /var/www/test Also there is an "sub-app" in folder /var/www/test/subapp There is another index.php inside /var/www/test/subapp and if user will type test.com the index.php from /var/www/test should trigger but when user type…
Mr.TK
  • 99
  • 3
-1
votes
1 answer

httpd Process Using High CPU (And Seems To Be Loading All Log Files)

This is causing my server to crash every single day. See processes and files loaded below. Thanks in advance! When I do "top": 20034 apache 20 0 441m 98m 7004 R 99.5 1.5 0:48.58 httpd 20128 apache 20 0 428m 85m 5268 S 33.3 1.4 …
-1
votes
1 answer

How can I install httpd 2.2 in /etc/ directory in CentoOS 7

CentOS 7 has got only httpd 2.4 available in its repositories. I downloaded the 2.2 version and I did a manual installation, but httpd was installed in /usr/local/ directory. Is there any way to do the manual installation with /etc/ directory as…
Carlos Durán
  • 11
  • 3
  • 8
-1
votes
1 answer

Apache SSL configuration does not take effect

I configured a site to be served via SSL on my server but it's not available at all. $ nmap localhost PORT STATE SERVICE 22/tcp open ssh 25/tcp open smtp 80/tcp open http My firewall allows port 443 in and the apache2 service is…
Steven
  • 99
  • 4
-1
votes
1 answer

Request Entity Too Large mod_jk

I have setup where there is apache (httpd) and apache tomcat both are connected with ajp and in my http.conf LimitRequestLine 65536 LimitRequestFieldSize 65536 under and outside of it as well my workers.properties file looks…
jmj
  • 131
  • 1
  • 8
-1
votes
2 answers

SSL version of site served by Main Server instead of virtual host (Apache 2.2.15)

I have multiple virtual hosts on port 80 and 443. They all work. The problem comes when addressing the web server by a name not mentioned as a vhost. The documentation says: If the lookup fails (the IP address wasn't found) the request is served…
Neik
  • 404
  • 2
  • 5
  • 10
-1
votes
2 answers

Parse Apache logs for specific verbiage within the last hour

I'm looking to parse my /var/log/httpd folder which contains a lot of Apache log files. I'm looking for specific events within the last hour. I've tried the below, but I didn't have any luck. grep -R "$(date -d -1hour +'%Y-%m-%d %H')"…
Pat
  • 274
  • 3
  • 14
-1
votes
1 answer

Overload Protection

Is there a simple way how I could redirect a visitor (via .htaccess or PHP script) to a static page when the server is overloaded from too many requests? It doesn't have to be a protection against huge amounts of requests at once or protect against…
Tyron
  • 101
  • 2
-1
votes
2 answers

To know if a file was downloaded or not

This' been a long time on my mind. If I have some files in my documentroot (public_html) available for download and I give the download link to someone to download the file - how do I verify if it has been downloaded at all? It is a cPanel server…
rahuL
  • 692
  • 3
  • 12
  • 31
-1
votes
2 answers

service httpd status shows internal server error

I have a dedicated server. No PHP files were running when i use my website so i tried looking into the apache and used service https status to check apache status and this is what i am getting service httpd status Internal Server Error The server…
karan
  • 13
  • 1
  • 1
-1
votes
1 answer

How to add /home/user/public_html as virtual host in apache - centos

In Directadmin (I used it before) when we create a reseller, a new user with a home directory was created and user could add domains in a home directory like /home/user/domains/example.com/public_html How i can add /home/user/public_html as virtual…
Hamidreza
  • 163
  • 1
  • 2
  • 9
-1
votes
1 answer

Best Apache & MySQL config for 16GB and 8 Cores

I'm having some trouble with my servers. I'm having a peak and my servers load are very high. I have 3 servers, one for frontend, one for database (mysql) and one for delivery images (no problem with this one) Here is my current configurations and…
-1
votes
1 answer

Redirect all incoming traffic

I have a RHEL6.4 httpd VirtualHost that I want to use to forward inbound traffic like so: Any incorrect host names in requests will redirected correctly to my SERVER_NAME AND Any non-port-443 traffic will be redirected to https:// correctly By…
-1
votes
1 answer

Running Multiple sites with multiple domains apache

I am having a rough time running apache and using multiple domain names here is a snippet of my config file. I keep getting a error saying that NameVirtualHost has no VirtualHosts. I want them both running on the same IP and I'm not sure why this…
-1
votes
1 answer

Permission denied error while creating files from a python script using mod_wsgi on apache

I'm running a python script under mod_wsgi on apache. The script attempts to create some files under a directory. The path of that directory is defined by this variable named tmpdir in the script. My script resides in…
Omnipresent
  • 227
  • 2
  • 7
  • 13