user6738237482
Unregistered
  • Member for 11 years, 9 months
  • Last seen more than 11 years ago
What does the @ symbol mean in a file's permission settings?
Accepted answer
56 votes

@ signifies that the file has extended attributes. Those attributes are usually used to signify that the file came from a package, was downloaded from the internet, etc. ls -al@ imap.a will show ...

View answer
Server under DDOS attack - How to find out IPs?
Accepted answer
45 votes

tail -n 10000 yourweblog.log|cut -f 1 -d ' '|sort|uniq -c|sort -nr|more Take a look at the top IP addresses. If any stand out from the others, those would be the ones to firewall. netstat -n|grep :...

View answer
Bots see something different?
Accepted answer
10 votes

your server has been rooted and your apache is compromised. apashi on freebsd is a signature that appears to take traffic that comes in from search engines to legitimate sites, and redirects it. ...

View answer
Set WordPress permalinks directly in httpd.conf?
Accepted answer
4 votes

Put this within the container for your site. <Directory /path/to/blog/> <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /blog/ RewriteCond %{REQUEST_FILENAME} !-f ...

View answer
Any way to make service do not autostart in Ubuntu/Debian, but leave K00 scripts in place?
2 votes

update-rc.d -f apache2 remove

View answer
Backup plan for linux webserver in small business?
Accepted answer
2 votes

http://rsnapshot.org/ might be a pretty good fit and is included in most linux distributions. Supports multiple generations as well, so, you can keep 2-3 'weeks' of backups, while only having to ...

View answer
Fine-tuning a LNMP stack
2 votes

worker_processes usually should be the same as the number of cores. If you have blocking processes (disk_io, long threads, etc), then you can increase that. worker_processes * worker_connections = ...

View answer
Can I use two different servers for one site? how?
2 votes

You could use a Layer 7 load balancer to accomplish that (or a series of them in different data centers) which would direct requests for particular url patterns to the appropriate backend. Varnish, ...

View answer
RewriteMap problem in .htaccess
1 votes

http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritemap has a fairly good example.

View answer
Overriding Apache auth directive
1 votes

I believe you need: Satisfy any allow from all in a Directory Block rather than a Location Block for it to be considered.

View answer
Multiple redirects / rewrites within one VirtualHost group
1 votes

RewriteCond %{HTTP_HOST} ^(www.)?domain.com$ [NC] RewriteRule ^$ /special-landing-page [R,L] post what you've tried. Use the following in the config file to generate a rewrite log to see just what ...

View answer
MySQL Optimizing
1 votes

show status show variables show processlist Are you using php-cgi? fcgid or fastcgi?

View answer
How are suspected DoS attacks handled by webservers?
Accepted answer
1 votes

Take a look at mod_evasive. It is probably what locked you out based on your description.

View answer
mod_rewrite to capture subdomain name
Accepted answer
1 votes

RewriteEngine on RewriteCond %{HTTP_HOST} ^(.*)\.example.com [NC] RewriteRule ^(.*)$ http://example.com/user/%1/$1 [R=301,L]

View answer
route view for new IPs?
Accepted answer
1 votes

Check with your peers/upstreams to make sure they are seeing the announcement. They may need to adjust their filters to allow your IP addresses to propagate. I don't see the route announced on any ...

View answer
SSL handshake failed
Accepted answer
0 votes

It probably means you are using a chained certificate, and did not use the SSLCACertificateFile /path/to/gd.bundle.crt directive. Godaddy, Starfield and a few others use a bundle .crt file. Edited: ...

View answer
outgoing DNS flood targeted to non-ISP hosts
0 votes

Since both of the DNS servers being hit are at softlayer, a fairly well known hosting company. First question would be, why would your machine be getting DNS from there. Since the machine is a ...

View answer
mdadm - Can't get RAID5 Array To Start
Accepted answer
0 votes

issue --run Since you didn't use --scan, which will search your config file for any missing data it needs, mdadm won't automatically start the array. After getting it running, make a backup of /...

View answer
2 drives, slow software RAID1 (md)
0 votes

which elevator scheduler are you using? Based on your workload, you might try deadline over CFQ. Depending on the kernel, it is possible that it was shipped with the Anticipatory scheduler enabled ...

View answer
NFS or GFS for LVS 10 Server Setup
Accepted answer
0 votes

NFS in a master/slave situation would work for failover. GFS would allow you to run dual primary which might cause other issues with your deployment, but, would provide you the extra bandwidth for ...

View answer
I can't view my website in internet explorer browser after move from apache to nginx, while it work and look good in firefox
0 votes

the mime types are probably not configured. In your http{} block, you need the include like the following: http { include /etc/nginx/mime.types;

View answer
How to install wordpress without a web browser
0 votes

telnet 1.2.3.4 80 GET /wp-admin/install.php?step=2 HTTP/1.0 Host: www.domain.com As long as you know the IP address that you need to get to, and the domain name you're trying to hit, you won't need ...

View answer
Why does this mod_rewrite rule 'not-match'? (big rewrite log included)
0 votes

RewriteCond %{HTTP_HOST} ^(www\.)?domain2\.co\.uk [NC] RewriteRule ^(.*)$ http://domain1.com/$1 [R=301,L] Your rule was looking for anything that started with www, optionally, followed by a . with ...

View answer
Server Crash Diagnosis...Are there any 'black box recorder' style programs available
0 votes

log on a different box that is well connected, run screen, ssh into the server and tail kern.log, daemon.log, syslog, messages on individual screen windows. (control-A, c to create a new window, ...

View answer
How long does a blocked connection from Iptables last? Is there a way to set the timeout?
Accepted answer
-1 votes

If more than 15 connections are made in five seconds, their connections are refused until five seconds after the last packet was received.

View answer
apache log analysis tools for multiple virtual hosts?
-1 votes

@kyle, cut -f 1 -d ' ' combinedlog|sort|uniq -c|sort -nr

View answer