Displaying 20 results from an estimated 7000 matches similar to: "Apache Changing IPtables C 5.6 via Apache"
2011 Mar 03
2
[Bug 706] Iptables randomly reject some packets that have accept rule
http://bugzilla.netfilter.org/show_bug.cgi?id=706
Jan Engelhardt <jengelh at medozas.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jengelh at medozas.de
--- Comment #1 from Jan Engelhardt <jengelh at medozas.de> 2011-03-03 14:20:30
2011 Feb 08
3
iptables nat table rules
I am forwarding traffic on port 8080 to port 80 with following rule.
# iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 8080 -j
REDIRECT --to-port 80
# iptables-save
However, I am unable to add it directly in /etc/sysconfig/iptables. I
think it is used only for filter table and not nat table. So where do
nat table rules go? Any help?
-
cs.
2016 Aug 29
2
.htaccess file
> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of Keith Keller
> Sent: Sunday, August 28, 2016 8:23 PM
> To: centos at centos.org
> Subject: Re: [CentOS] .htaccess file
>
> On 2016-08-28, TE Dukes <tdukes at palmettoshopper.com> wrote:
> > I setup an ipset but quickly ran out of room in the
2007 Feb 10
3
How to prevent reading of an xml in a particular directory from browser in apache on Centos4.4
hi friends,
I have configured a HelpDesk Ticketing System on Centos4.4. The
problem I am facing is that there is a file called "site.xml" which
contains the information about database connections and I don't want
ppl to be able to read that file through browser. As per the
readme.htm of that software if the below entries will be put in
.htaccess then nobody can read the xml through
2006 Feb 01
3
Configure Apache 2.0.55 and FastCGI
I''m installing a Rails App under Apache 2.0.55 with FastCGI.
I have this config under httpd.conf
------------------------
LoadModule fastcgi_module modules/mod_fastcgi.dll
...
Alias /fatturails/ "C:/Programmi/Apache
Group/Apache2/htdocs/fatturails/public/"
<Directory "C:/Programmi/Apache Group/Apache2/htdocs/fatturails/public">
AddHandler fastcgi-script .fcgi
2006 Jun 17
2
ROR deployment on Apache - DocRoot set to /
I am trying to get a ROR app running on a linux box running Apache 1.3
at my hosting comapny, but cannot get it running.
There is a fresh/clean ROR app in the base directory /
.htaccess, dispatch.cgi, dispatch.fcgi and dispatch.rb are all in /
All dispatch files have been set to 755.
ROR docs say to point doc root at /public/ and to put .htaccess,
dispatch.cgi, dispatch.fcgi and dispatch.rb
2006 Feb 23
12
RoR site structure on Apache
I try a ''hello world'' demo here,you can see all my codes and structure
http://www.smtservers.com/demo/
I want to access the ruby app like this
http://www.smtservers.com/demo/say/hello
but I get a 404 error.
Please let me know why.
I am not sure the site structure is ok or not.Please give me a help
Thanks
Mark
--
Posted via http://www.ruby-forum.com/.
2006 Feb 14
5
problem with apache
Hi!
I don''t know much about linux and apache configuration, so we''re using
cpanel on our server to manage accounts etc.
I was trying to install ror (according to this page:
http://wiki.rubyonrails.org/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel)
on our server, but it didn''t worked.
If i enter "server.com/rails" i get "/testapp/index.html was not
2005 Dec 30
2
scgi apache routes help needed
I''m trying to get an application running in a sub directory of a site using
apache and scgi. The application runs fine with webrick.
I have a site. Let''s call it "mysite.org". There is a variety of content on
that site.
I would like to add a rails application to that site. Let''s call the
application "myapp".
So we will have urls of the form
2006 Feb 06
3
rails + apache question
Hi all,
I''ve read the symlinks wiki and some other wiki pages relating to Apache
but I''m just not "getting it".
Mandrake Linux (kernel 2.6.8)
Apache 1.3.3
DocumentRoot is "/home/httpd/html"
Application is physically located in
"/home/httpd/applications/foo-1.0.0"
I would like the URL to be "http://host.domain.com/foo"
I''ve
2006 Feb 15
1
Rails on Apache
Hi all,
I''m trying to get rails to run under apache and have looked at the
various how-to pages, but don''t seem to see an answer to my basic question:
Can I do this without using mod-rewrite? Do I have to use .htaccess with
various rewrite rules, or can I just do it with a really minimal
.htaccess that only says something about the AddHandler for .cgi?
--
cheers,
Bruce
2009 Sep 19
2
Apache configuration: minor problem with special characters
Hi,
I'm currently fiddling with protecting sections of a website with
.htaccess. Here's an example:
<Files .htaccess>
order allow,deny
deny from all
</Files>
AuthUserFile /etc/httpd/htpasswd
AuthName "L'acc?s ? ce site est restreint."
AuthType Basic
require valid-user
The configuration works OK (after having created a valid user), but
unfortunately,
2006 Jan 26
2
Apache FastCGI seems single threaded (W2K)
Hi,
I have set up Apache 2, FastCGI on W2K. My Rails project seems to run
fine. I wanted to test how many FastCGI processes I would need. So I
created a new project with 1 controller, that has 1 method :
def index
s = Time.new
while Time.new - 3 < s
end
render_text "#{s.strftime(''%H:%M:%S'')} -
#{Time.new.strftime(''%H:%M:%S'')}"
end
The
2008 May 09
2
Apache Redirects...
I'm trying to require SSL for drupal login and admin pages and it seems
that this should work but it doesn't redirect if added to httpd.conf or
to .htaccess (I've tried both)
RewriteCond %{REQUEST_URI} ^/(user|admin)
RewriteRule ^(.*)$ https://%{SERVER_NAME}/$1 [L,R]
Shouldn't this be enough so that the URL...(googling suggests that it
is)
http://cms.tobyhouse.com/user/login
2006 Jul 24
7
Apache server-status?auto in rails
Just want to check the status of Apache monitor. but Apache
server-status?auto can not be explained as normal URL in rails.
For Http://localhost/server-status?auto, rails always regard
server-status as one controller/method. It prompts errot: Recognition
failed for "/server-status"
Therefore, can not get the status info of Apache monitor. Pls expert
help me!!! Thanks in advance.
2005 Oct 10
1
Need help from Apache mod_rewrite crew !
Hi !
Has anyone got any tips/tricks on running a Productized Rails app on
DreamHost ?
Specifically, I get this in my error.log:
-----------
[Mon Oct 10 11:39:46 2005] [error] [client 69.70.225.69]
mod_rewrite: maximum number of internal redirects reached. Assuming
configuration error. Use ''RewriteOptions MaxRedirects'' to increase the
limit if neccessary.
-----------
As
2005 Dec 29
2
Problem with apache and rubyonrails
I am setting up my httpd.conf file so I can secure a site create in
RubyonRails. The problem that I am having is:
File does not exist:
/usr/home/mhale/hieraki-1.0.2/public/frontpage/index
File does not exist:
/usr/home/mhale/hieraki-1.0.2/public/frontpage/index
File does not exist:
/usr/home/mhale/hieraki-1.0.2/public/frontpage/index
So apache is reading "frontpage/index" as a
2005 Dec 30
2
rails running very slowly on apache (with fcgi or without)
Was wondering if there is anything obvious I may have missed in my
setup that would cause it to run so slowly. WEBrick runs blazingly
fast in comparison, in dev mode, so I''m sure there''s something off.
Even in production mode requests take about 4 or 5 secs.
Thanks!
Win XP
Apache 2
Rails 1.0
-rich
2016 Aug 28
5
.htaccess file
> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of Keith Keller
> Sent: Sunday, August 28, 2016 4:23 PM
> To: centos at centos.org
> Subject: Re: [CentOS] .htaccess file
>
> On 2016-08-28, TE Dukes <tdukes at palmettoshopper.com> wrote:
> >
> > I'm just not following or understanding.
2006 Jan 10
3
ROR setup problems with Suse + apache
hello,
I am tying to run ROR on apache 2 with suse linux 9.3,
and I do not succeed with it.
I set rubby und rails and all scripts are running fine.
my Document root :
/srv/rails/demo/public
I did not setup FastCGI because I could not run it with
normal CGI jet.
my Virtual Server runs on 192.168.0.111
ServerName rails
DocumentRoot /srv/rails/demo/public
<Directory