Displaying 20 results from an estimated 10000 matches similar to: "redirecting web requests from localhost"
2017 Jul 29
4
claiming unsused space back
Hi,
I?m running a CentOS server in a VPS. Backups of the VPS take quite
much space if I don?t claim unused space.
Currently I?m using dd if=/dev/zero of=/mytempfile and remove that file
to claim that unused space. Any automatic way of doing a similar thing
in CentOS? I have googled for it but I have only found Debian commands.
Thanks in advance!
Miguel
2014 Jan 07
2
Forward http traffic
Hello,
On CentOS 6.5 x86_64 I have (/etc/sysconfig/iptables):
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Firewall-1-INPUT - [0:0]
-A INPUT -j RH-Firewall-1-INPUT
-A FORWARD -j RH-Firewall-1-INPUT
-A RH-Firewall-1-INPUT -i lo -j ACCEPT
-A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A
2017 Jul 31
5
claiming unsused space back
On Mon, Jul 31, 2017 at 08:28:49AM -0500, Leroy Tennison wrote:
> I realize this is wandering off-topic but, if you have found Debian commands, you're doing better than me. What are they? Also, are you allowing dd to totally fill the partition (what I have found on the web as a recommendation)? If so, is the OS surviving acceptably?
>
> ----- Original Message -----
> From:
2009 Oct 18
2
iptables - Forwarding with port translation thru an OpenVPN tunnel
Perhaps someone with a sharper brain than I can solve this little mystery.
I've Googled until I'm blue in the face, read all TFM's I can find, and
tried several iptables rule combinations but just can't get the following to
work. Here's my challenge:
I have a CentOS-5.3 "main" server with a static public IP address
running Apache, OpenVPN, and a bunch of other
2017 Jul 31
1
claiming unsused space back
If you are using XFS - there is mount option "discard|nodiscard"
From XFS man page:
discard|nodiscard
Enable/disable the issuing of commands to let the block device reclaim space freed by the filesystem. This is useful for SSD devices, thinly provisioned LUNs and virtual machine images, but may have a performance impact.
Note: It is currently
2006 Jul 11
4
validates_unlike plugin
Validates Unlike Plugin (v 0.1)
========================
Validates Unlike plugin validates that the value of the specified
attribute doesn''t match against the regular expression provided
Class Contact < ActiveRecord::Base
validates_unlike :comment, :with =>/html|http|onclick|onmouseover/ ,
:message => "comment can''t include: href,http,onclick,onmouseover."
2009 Jun 04
3
Question about core CDR system for multilpe servers
Hi all! I?m not sure if it is the correct place but, I?ve five boxes running
asterisk and each one with his own cdr mysql database. What Im looking for
is to get a core CDR system that holds information stored on each asterisk
server. Have you any suggestion/process to accomplish that?. Thanks!!!
Gustavo A. Gonz?lez
2007 Jun 16
2
Specs don''t find modules when using the secure_actions or ssl_requirement plugin
Hello,
I''m trying the secure_actions plugin (or ssl_requirements)
I''m installed the plugin, and added the include in application controller:
class ApplicationController < ActionController::Base
include ExceptionNotifiable
include AuthenticatedSystem
include SecureActions
...
but when I try to run the specs I got this error:
2006 Jan 27
6
Switchtower deploy error
I''m trying to deploy a rails app with no success.
I can execute: ''rake remote_exec ACTION=setup''
but when I try to execute : ''rake deploy''
I got this error:
loading configuration c:/ruby/lib/ruby/gems/1.8/gems/switchtower-0.10.0
/lib/switchtower/recipes/standard.rb
loading configuration ./config/deploy.rb
executing task deploy
transaction: start
2005 Sep 28
6
A little iptables help
Wondering if anyone is willing to give me a little assistance with some
firewall rules. I think what I'm looking for is fairly simple, and I've
been trying to use webmin's firewall module without success.
I have a web server that I'd like to open up port 80 and forward a
specific port for a select number of allowed ips. That's it. Everything
else is dropped.
allow: port 80
2006 Jul 07
2
Problem with GetText 1.6.0 - undefined method ''N_''
I''m just upgraded GetText from 1.4.0 to 1.6.0, and all my tests got broken.
I got this error:
ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/base.rb:1129:in
`method_missing'': undefined method `N_'' for User:Class (NoMethodError)
etc
My model user.rb has this line:
validates_format_of :login, :with => /^[a-zA-Z0-9_]+$/, :message =>
2007 Jun 18
3
OT - IP Tables - forwarding to localhost
Hi,
I am trying to set up a firewall rule so calls to old_mailserver:25 get
redirected to localhost:25. I have seen quite a few rules and none seem
to work.
I have tried with the firewall enabled (configured to allow smtp) and
disabled, but it doesn't seem to make a difference.
One of the commands I have been using is:
/sbin/iptables -t nat -I PREROUTING -p tcp -d old_mailserver_ip/32
2006 Apr 11
1
FeedValidator :: validating feeds RSS or ATOM
FeedValidator is an interface to the W3C Feed Validation online
service, based on its SOAP 1.2 support.
It helps to find errors in RSS or ATOM feeds.
FeedValidator add a new assertion (assert_valid_feed) which you can use
in Rails applications. This assertion implements a cache to improve the
performance of the tests and to not abuse of the W3C Feed Validation
online service.
= Download
The
2009 Apr 23
2
CDR issue
Hello! I?ve an issue whit CDR using asterisk 1.4.23.1. I?ve configured mysql
to store cdr information, but, while I put into cdr_mysql.conf the field
?userfield=1? and doing a query I found that this field is empty in the cdr
table. On the other hand I can?t find records in the cdr table that show me
calls generated through AMI using Originate Action, that?s calls are not
stored in the CDR, but I
2004 Jan 22
4
Problems with netfilter
Hi,
I have 2 internet connections (1 adsl/1 cable). I am try to route all
outgoing mail from the mail server (on the same box), through the ADSL
connection routing through the cable will mean mail will get rejected by AOL
:( I am using qmail as the mail server.
The configuration is:
eth0 : cable connection
ppp0 : adsl connection
eth2 : internal lan connection
I have configured split access as
2008 Jun 27
3
Keeping \Seen flag private
Hi all,
I wanna to set up shared folders for a couple of users and I'd like that
everyone could keep the \Seen flag as private. So if user #1 reads some
messages and user #2 not, those messages appear as "unseen" to #2 and "seen"
to #1.
I've implemented shared folders using namespaces with every user having their
own "control" and "private"
2007 Mar 04
13
[Bug 552] Strange DNAT behaviour... packet don't pass to PREROUTING and go directly in INPUT !!
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=552
------- Additional Comments From cbettero@ciditech.it 2007-03-04 21:48 MET -------
This problem prevents AJAX web sites to be hosted on the internal web server,
because many packets will be dropped instead of passing into PREROUTING chain...
--
Configure bugmail: https://bugzilla.netfilter.org/bugzilla/userprefs.cgi?tab=email
2009 Oct 19
2
Can't use string ("0") as a HASH ref while "strict refs" in use at /usr/local/sbin/courier-dovecot-migrate.pl line 300.
Hello,
I need to migrate from courier-imap to dovecot. I'm trying to use
courier-dovecot-migrate.pl to migrate the users' maildirs but I'm
getting these messages:
---
# courier-dovecot-migrate.pl --to-dovecot --recursive mydomain.com
Testing conversion to Dovecot format
Finding maildirs under mydomain.com
mydomain.com/contact/./Maildir: No imap/pop3 uidlist files
2011 Jan 31
3
redirecting traffic using iptables
Hi.
I have two internet connections, the ADSL2+ is very
very cheap (but fast 10mb) and I want to use the SHDSL (2mb)
only for mail,ssh,http OUT and the ADSL2+ only for
surfing.
I all works fine if people specify the proxy in the
browser, but in case like flash it of no use.
Further if I can make the 80/443 traffic go through
the proxy only, its an added bonus. If this can be
done, fine. Bue I
2008 May 26
5
Skype Howto
Hello all! Does anyone have a good howto to setup Asterisk and Skype.
Thanks
Gustavo A. Gonz?lez
Dto. de Infraestructura
Despegar.com, Inc.
ggonzalez at despegar.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080526/831b3824/attachment.htm