Displaying 20 results from an estimated 10000 matches similar to: ""Site down for maintenance" - How is this accomplished?"
2008 Jun 27
6
African IP addresses list
Hi all,
I am trying to block all IP addresses from Africa due to a high rate
of fraudulent orders coming from them.
I have some found some websites that can generate a range of IP
addresses. However, you would have to enter the ranges by country. I
can use those perhaps but that would mean I would have to get the
ranges for each country one by one.
Has anyone here a list of addresses from
2007 Mar 25
4
Cannot execute /usr/bin/fetchmail
Hello everyone,
I'm setting up a fetchmail command to run every five minutes so I can
get email from another POP3 account. The fetchmail package was
installed via yum.
I can execute the command manually on the command line. But I'm having
trouble when it's run from cron.
I have noticed that commands run via cron and execute via /bin/sh, so
I tried to run the fetchmail command
2009 Jun 17
2
Using a cgi perl program?
I have a cgi/perl program that I want to use on the same server as my
RoR app and I keep getting:
The page you were looking for doesn''t exist.
You may have mistyped the address or the page may have moved.
I load the program to the cgi-bin directory in its own folder /cgi-bin/
fump/
In the /public folder of my app I have the following .htaccess file:
# General Apache options
2009 Sep 24
3
Using yum with CentOS-2 mirrors
Hi all,
I was having yum errors while updating our CentOS-2 box. Further
reading lead me to a readme file on the mirrors
(http://mirror.centos.org/centos-2/readme.txt) and it gave me the new
URL to use for CentOS-2 mirrors. I have edited /etc/yum.conf with the
new URLs but I'm still having issues with yum giving me "ValueError:
unpack list of wrong size" errors.
Has anyone been
2010 Aug 06
3
yum-fastestmirror inconsistent exclude behavior
Hi guys,
I'm trying to figure out something wherein excluded repositories for
the yum-fastestmirror plugin are still being used by the system.
To illustrate:
[root at sales ~]# cat /etc/yum/pluginconf.d/fastestmirror.conf
[main]
enabled=1
verbose=0
socket_timeout=3
hostfilepath=/var/cache/yum/timedhosts.txt
maxhostfileage=10
maxthreads=15
#exclude=.gov, facebook
exclude=maulvi, .gov.ph, .vn
2006 Feb 16
3
Postgresql 8.1.x on CentOS 3.6
Hello everyone,
Does anyone know if there are any Postgresql 8.1.3 RPMs for CentOS 3.6?
I've looked at the Postgresql website but I couldn't find anything
under RHEL3/CentOS3. I've tried installing the RHEL4 RPMs which seem
to work. Unfortunately, I'm getting errors whenever I try to compile
PHP5 from source.
Thanks and Best Regards,
Matt
--
Stand before it and there is no
2007 Aug 27
2
Getting info on hardware RAID
Hello everyone,
I'm doing an audit of all our servers here (there aren't that many
maybe around 5-10) and one of the things I'm doing is taking note of
each server's hardware specs (processor, memory, etc).
I can't seem to figure out how to get the information for the hard
drives. The drives are in a hardware RAID5 array and are all SCSI
types. I would like to get each
2008 Mar 04
2
Overwrite target of ln
Hi all,
Sorry if this seems too basic.
But is there a way to overwrite the target of a symbolic link without
first deleting the symlink itself?
For example, if I have this:
public_html -> releases/b2b-20080228
... and there's a new update, I can then just do the following:
$ ln releases/site-latest public_html
I tried using the -f option but it doesn't seem to work as expected.
2008 Mar 28
2
Samba Administration Tool recommendations
Hi All,
I have a project which is to build a customized Linux distribution
with a focus on deploying a Samba as Primary Domain Controller. It's
pretty much like Trixbox but instead of Asterisk and VOIP, will be
focused on Samba.
Right now, I am looking for a solution for an administrator to easily
manage the service. Of particular importance would be to easily add
workstations and set up
2009 Jul 23
2
apache redirect rule
Hello guys,
sorry for this OT, but It seems that I am a very stupid :(.
I want to achieve one simple think in apache 2.2.
If users will type extensions.polarion.com I want to redirect him to
extensions.polarion.com/polarion/extensions However there are
following rules that apply
1) extensions.polarion.com is an virtual host alias to
community.polarion.com . There is a definition inside virtual
2006 Feb 20
2
DNS Setting
Hello People,
In my DNS setting I added A record of www for our company website.
It works, when you go to http://www.mycompany.com; it resolves and it
shows the website content.
But in addition, I want also some kind of redirection or mapping (i
don't know what you called that) that when people go to
http://mycompany.com (without www), it should forward also to the www
server.
How to do
2010 Jan 21
4
Redirect www to non-www
How to redirect www to non-www? e.g redirect www.example.com to
example.com
Thanks
Johnny
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2010 Jan 09
5
Redirect 301 and cache
I want my rails app to redirect from no-WWW to WWW domain (for example
if I enter example.com/test to redirect to www.example.com/test). I
put the following code in the application controller and worked fine:
before_filter :check_uri
def check_uri
if !/^www/.match(request.host)
redirect_to request.protocol + "www." + request.host_with_port +
request.request_uri, :status => 301
2007 Jan 17
8
can i force a favicon.ico ?
lo there all,
i am running two websites on one server. Both use the same code and both
domains point to the same public folder. I use different logos by using
a session variable called session[:domain] that i find with
env_table[''HTTP_HOST'']
so anyway, both need a different icon to go in the bookmarks and url, i
know this is done with a favicon.ico, but can i force the server
2007 Oct 24
1
TFTP server not working as expected when run from xinetd
Hi All,
I have a Trixbox server (CentOS derivative) from which our Cisco IP
phones get their config files via TFTP.
I have noticed that when I run the TFTP server via "service xinetd
start", I am not able to get files via TFTP. I have tested it by doing
a manual transfer via a TFTP client from another machine.
When I try to run the TFTP service manually by doing
2008 Aug 26
1
screen not sourcing .bashrc
Hi everyone,
I use the "screen" command from time to time and what i would still
have to figure out how to do is for it to be able to source .bashrc
and read my user-defined configuration (aliases for example).
I have already added the "source /root/.bashrc" line on
/root/.screenrc but it doesn't seem to be working.
Would anyone know how this should work?
Thanks,
Matt
2009 Aug 29
1
Run GNU screen as a normal user
Hi guys,
I am currently looking for a workaround with regards to running screen
as a normal user.
When I try to run it, I get the following:
[mbaluyos at mla torrents]$ screen
Cannot open your terminal '/dev/pts/0' - please check.
To get around this, I had to chmod 777 /dev/pts/0. It's an insecure
hack so I'm looking for the right way of doing it.
Would anyone be able to guide
2005 May 24
7
PostgreSQL/SELinux Error - relation "pg_catalog.pg_user" does not exist
hello everyone,
i'm trying to run a postgresql service on my newly-installed centos4
box. i have been able to recreate my users, set up the permissions,
and restore the database dump. also, i can already log-in to my
databases.
there is, however, one annoying problem. whenever i type \du (or \d or
\l) on the psql prompt, i get the following error:
ERROR: relation
2007 Oct 16
1
redirects with mongrel (dropping the www. from a url)
Hi All,
I have a rails app running on an apache virtual host with mongrel that
i want to set up a redirect from www.someapp.com to someapp.com
(dropping
the www.)
I have tried doing this in apache using a rewrite rule (below) which
worked before when the app was written in php.
Redirect http://www.soccertackle.com/ http://soccertackle.com
RewriteEngine on
RewriteCond %{HTTP_HOST}
2017 Mar 14
2
httpd/sites-available directory
The goal is to have access to a specific virtual host on port 80, to be
routed to port 443. Any other port 80 access is left as is.
So let us assume a server foo.bar.com and the specific virtual host is
webmail.bar.com
So I have tried:
<VirtualHost *:80>
ServerName webmail.bar.com
ServerAlias webmail
RewriteEngine On
ReWriteCond %{HTTP_HOST}