Questions tagged [web-server]

Refers to the software or hardware that make up a webserver, delivering content on a private or public website.

3296 questions
7
votes
2 answers

Apache server-status returning 404, then redirecting to my Wordpress install

I'm trying to get Munin's various Apachie plugins to work on my web server, but I'm hitting issues. Upon asking Munin to check available plugins, two of the three Apache plugins return an error saying that apache server-status cannot be…
Oliver Haslam
  • 135
  • 1
  • 1
  • 9
7
votes
11 answers

Is there tool that will monitor or log speed of web server responses

I have GNU/linux Box (linode VPS running Debian) with PHP, Apache, MySQL and Varnish (and app/site that use those) is there a tool that will save or monitor load times of web server responses?
jcubic
  • 230
  • 1
  • 4
  • 15
7
votes
1 answer

1 EC2 instance per website - manage multiple websites on Amazon cloud using EC2

I'm managing multiple websites, most based on WordPress and all are based on LAMP stack. I'm moving all my websites to Amazon cloud. I'm new to AWS and my plan is moving 1 website by one, starting with my smallest website. My question is should I…
ericn
  • 553
  • 2
  • 8
  • 20
7
votes
2 answers

What does the error message 'Attempt to serve directory' mean in apache log?

I see this a lot in my server's apache logs (coming from different IPs and directed at different pathes). I am wondering if it can be an attack attempt, and in any case, how to deal with it?
alfish
  • 3,127
  • 15
  • 47
  • 71
7
votes
3 answers

How to allow specific IP's to a URL (not directory!) in Nginx

I'm trying to deny access to a specific URL on our site running on Nginx but allow it from specific IP's, I've been trying to fiddle around using Location but it seems that's just trying to find a proper directory and not the URL. This is what I…
Lars
  • 578
  • 2
  • 8
  • 18
7
votes
3 answers

How can I remove IP addresses from log files after some time

I have an apache/nginx/whatever web server which logs client IP addresses to the access logs. Now these log files are rotated via logrotate. I want to keep the IP addresses for some days, then after 7 days, I want to remove the IPs from the log…
Michael Siebert
  • 213
  • 2
  • 7
7
votes
4 answers

Load balanced Drupal servers: a good way to share data among the servers?

I'm trying to get an overview of how i would go about creating a load balanced web server setup. Setting up the actual load balancer and adding two or more web servers seems fair enough. However, I can't decide what the best setup for files would…
sbrattla
  • 1,578
  • 4
  • 28
  • 52
7
votes
2 answers

Nginx or Apache as web server in front of Tomcat (Java app)?

just wondering which web server between Apache and Nginx is better supported from Tomcat? I'm attracted in using Nginx for the single-threaded feature. I want to deploy a Java app running on HTTPS. Cheers
sebarmeli
  • 173
  • 1
  • 5
7
votes
5 answers

Server not sending a SYN/ACK packet in response to a SYN packet

Using iptraf, tcpdump and wireshark I can see a SYN packet coming in but only the ACK FLAG is set in reply packet. I'm running Debian 5 with kernel 2.6.36 I've turned off window_scaling and tcp_timestamps, tcp_tw_recycle and tcp_tw_reuse: cat…
jeff
  • 71
  • 1
  • 1
  • 3
7
votes
3 answers

Should a web server care about IPv6 compatibility?

Are there any IPv6 clients in the real world? If not, is there any other reason to support IPv6? (My understanding is that with the advent of WANs and such IPv6 is not necessary, hence extremely low if any adaption. Is that correct, or will we be…
7
votes
2 answers

Why use Apache in front of another web server?

I've seen a lot of web server setups where Apache is in front of another web server. The most prominent examples of these are the Java web servers, e.g. Glassfish, Tomcat, etc. What is the point of this? I realize the point of putting Apache in…
Sasha Chedygov
  • 353
  • 1
  • 5
  • 13
7
votes
5 answers

Local to Remote Webserver Failover

Short and sweet, I don't suppose you'll need more detail than this: We host our website on an in-house webserver. A catastrophe has and will happen again where communication from the web into/out of our building ceases. When this happens, we'd…
anonymous coward
  • 615
  • 3
  • 8
  • 15
7
votes
3 answers

Running a webserver behind a firewall, is it secure?

Currently we have a Linux-based firewall which NAT-ing our public IP address to give internet access to our staff's PCs and a Windows Server 2003 for internal filesharing. I want to host Redmine/SVN (a bugtracker) internally behind this firewall…
hsym
  • 1,003
  • 3
  • 14
  • 26
7
votes
4 answers

Experience in migrating from Apache to nginx?

I'd like to get some feedback about a migration From Apache to nginx. My goal is to reduce the memory footprint of the web server. Currently, I use the following modules.features on Apache: multiple virtual hosts Server Side Include Fast…
Julien
  • 1,038
  • 1
  • 13
  • 24
7
votes
1 answer

How do I monitor memcached evictions?

How do I monitor memcached to know if / how many evictions are occurring, and how much memory is used/free.
philfreo
  • 987
  • 2
  • 9
  • 22