Questions tagged [exclude]

40 questions
2
votes
1 answer

How to redirect everything from no-www to www Except for few files, using .htaccess?

How to redirect everything from no-www to www except for few files, using .htaccess? I am using the following .htaccess to redirect no-www to www. .htaccess Options +FollowSymlinks RewriteEngine on rewritecond %{http_host} ^[^.]+\.[^.]+$…
X10
  • 205
  • 2
  • 4
1
vote
1 answer

DNSMasq - Exclude some subdomains

We've got several machines set up with DNSMasq to run local development environments forwarding all .dev requests to 127.0.0.1 However we need to add some exclusions to this list, wondering how we'd go about it. All these exclusions are still…
owenmelbz
  • 163
  • 3
  • 12
1
vote
1 answer

Backup with rsync and exclude

I would like to do a partial backup from a server with rsync. my exclude file looks like this bin/ boot/ dev/ initrd.img initrd.img.old lib/ my problem is now, that every lib, bin and so on folder will be skipped in every folder but i just want to…
Garog
  • 9
  • 3
1
vote
1 answer

Is it possible to exclude files and folder that begin with $ from Windows 2008 R2 DFS replica?

If I replicate by DFSR users redirected folders all folders replicated have their own $RECYCLE.BIN directory and inside that directrory files are renamed as $XXXXX.YYY. I don't want to replicate them, it's only wasting bandwidth. How it could be…
user210850
1
vote
1 answer

How to I get rsync to exlcude a file pattern within an flock?

I have an rsync command that I run hourly via cron, and to prevent it from having multiple simultaneous rsyncs (should the previous hour's rsync still be running when the next hour comes around) I've wrapped it in an flock. My issue is that despite…
1
vote
1 answer

How to handle these variables in rsync exclude file?

I have an ignore file for rsync but I can't figure out how to ignore this string of file names and the…
user58368
1
vote
2 answers

NetBackup exclude backup selection

I'm trying to exclude some folder from the Backup policy; what I've seen is that you can exclude some by adding a file in /usr/openv/netbackup in the client. Is there any way to excluding in the server? I don't want to the user to be handling this,…
anders
  • 235
  • 2
  • 10
1
vote
1 answer

DNS: Exclude subdomain from wildcard record

I would like to match all subdomains to return an A record (this works) but I would like to exclude one particular subdomain from resolving (not sending an A record at all). *.example.com. IN A 127.0.0.1 exclude.example.com. IN A [no…
Teddy
  • 195
  • 2
  • 8
1
vote
0 answers

Rsync: Exclude files by maximum filename length (< 143 characters)

A cronjob copies files from a remote server (probably ext4) via rsync to a local encrypted partition (probably eCryptFS on top of ext4). Now rsync throws errors for filenames that are longer than 143, which is expected due to the way filenames are…
Thomas Ebert
  • 143
  • 5
1
vote
2 answers

exclude directory with tar command

T would like to use the tar command in Linux to back up some files, but i would like to exclude a specific directory from the archive. How can I do that?
haim evgi
  • 753
  • 1
  • 10
  • 15
0
votes
0 answers

Apache 2.4 SSLClientVerify on top of Vhost, but exclude one URL

I have the following configuration: SSLVerifyClient require SSLVerifyDepth 4 ####SSLVerifyClient require ####SSLVerifyDepth 4 Require expr %{SSL_CLIENT_I_DN_CN} in…
Fozix
  • 1
0
votes
1 answer

Excluding a certain file system from Zabbix regex based disk usage monitoring

I found this answer describing how to exclude a shared memory mount from regex based disk usage monitoring in Zabbix. Is there any way to exclude a certain file system (CIFS in this case)... for example based on mount point? Br, Harri
0
votes
1 answer

Rsync exclude does not work during remote upload

I prepared an rsync code as below: /home/ra/maindir/subdir/ --exclude="/dir/config" --exclude="/dir/include/x.php" --exclude="/maindir/include/x1.php" What I am trying to do is to exclude 'config' folder and 'x.php','x1.php' files during remote…
Onur Göker
  • 119
  • 3
0
votes
2 answers

Nginx SSL Rewrite Exeption for yust one folder

i force visitors to SSL on two ways in my serverblock if ($http_x_forwarded_proto = "http") { return 301 https://$server_name$request_uri; } and add_header Strict-Transport-Security "max-age=31536000;includeSubdomains;…
Deex
  • 131
  • 7
0
votes
1 answer

Excluding a directory from a root .htaccess rewrite rule to disallow from caching

On my lamp installation, I have in the root folder "/" (mydomain.org) a wordpress multisite with W3 total cache activated, I have also a sub_dir called "sub" (mydomain.org/sub) with a PHP script inside. I have some cache problems on the sub_dir, so…
dr house
  • 65
  • 1
  • 7