Displaying 20 results from an estimated 2000 matches similar to: "fastcgiconfig in .htaccess?"
2006 Feb 01
3
apache2 / fcgi / RoR - no connection
Hi,
I''ve generated a new Rails app and dummy controller "foo" with method
"hello". I am trying to run it under Apache/2.0.53 with fastcgi, and
getting the index.html page when I hit http://localhost/foo/hello, or
for any other request (http://localhost/kdjfslkfjs). Also, there is
nothing in the rails logs, and no errors in the apache logs.
Relevant bit of
2005 Dec 23
1
FastCGI and large file uploads
I use dreamhost for my hosting provider, and I am working on app where
it requires large files (max 10 MB) to be uploaded to the server. As
of right now the fastcgi processes are configured with:
FastCgiConfig -autoUpdate -initial-env RAILS_ENV=production \
-idle-timeout 120 -maxClassProcesses 5 -killInterval 300
My problem is that I try and upload a file via the web that is around
5 MB
2005 Dec 30
0
can''t kill infinite loop with FastCgiConfig directive
FastCgiIpcDir /www/fastcgi
FastCgiConfig -idle-timeout 30
I have that right in the root level of my httpd.conf (1.3)
i made an inifinite loop in rails, and its not killed at all. Any ideas?
------------------------------------------------------------------------
Hunter Peress
hunterp-hceJc2YFNylFcjXmduoLkw@public.gmane.org
Web Programmer
The Santa Fe New Mexican, Inc.
www.freenewmexican.com
2006 Apr 08
3
FastCGI issues
I am attempting to get Rails running on Windows with an Apache 2 server.
I seem to be having some trouble, and in spite of my best efforts to
find a solution, I could not.
I believe that I configured Apache correctly. I have included
EnableSendfile Off
EnableMMAP Off
Win32DisableAcceptEx
FastCgiConfig -maxClassProcesses 1 -maxProcesses 1 -minProcesses 1
-processSlack 1 \
-initial-env
2006 Aug 05
0
RMagick and FastCGI on Windows
I''m having trouble getting RMagick to work on my Apache/FastCGI setup.
If I top Apache and start WEBrick on the exact same app/dirs, it works
fine.
I installed RMagick following the instructions here:
http://rmagick.rubyforge.org/install-faq.html#win
That gives me:
C:\ruby\lib\ruby\gems\1.8\gems\RMagick-win32-1.9.2-mswin32\lib
2006 May 30
0
Performance problem with Apache-FCGI-Rails
We have our Rail 1.0 application running on Apache 1.3 with FastCGI. The
httpd.conf has :
<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fcgi_ipc
FastCgiServer /root/zs/public/dispatch.fcgi -processes 2
FastCgiConfig -autoUpdate -initial-env RAILS_ENV=production
-idle-timeout 120
-maxClassProcesses 2 -killInterval 300
</IfModule>
The dispatch.fcgi is the default provided in the
2006 Feb 03
0
FastCgiExternalServer vs. static/dynamic
I''m trying to switch to the "external" fcgi method.
In httpd.conf, this works:
FastCgiServer "/tmp/rubystuff/testapp/public/dispatch.fcgi"
-idle-timeout 20 -processes 4
FastCgiConfig -maxClassProcesses 2 -maxProcesses 2 -minProcesses 1
-processSlack 1
This fails with an error (the public/500.html page is returned):
FastCgiExternalServer
2006 Jan 19
0
Rails with Apache - application failed to start
Hi,
I followed the instructions in the article
http://dema.ruby.com.br/articles/2005/08/23/taming-fastcgi-apache2-on-windows
to make rails work with apache:
Install Apache2, latest stable version
Install the latest Ruby Installer for Windows
Install the latest Ruby For Apache
In httpd.conf I have:
FastCgiConfig -maxClassProcesses 1 -maxProcesses 1 -minProcesses 1
-processSlack 1 \
-initial-env
2005 Dec 30
0
XP Apache FastCGI ok if RAILS_ENV="", crash when RAILS_ENV="production"
Dears,
Thanks to Demetrius (dema.ruby.com.br, see Taming FastCGI) I''ve a
running FastCGI Rails 1.0 environment with :
- Win XP "Professional" (just brand name)
- Apache 2.0.55 (msi)
- Ruby for Apache 1.3.1
- Database backend is now Oracle 8.1
Everything run fine with default environment, I''m confused for
switching into ''production''.
By default
2016 Aug 28
0
.htaccess file
On 2016-08-28, TE Dukes <tdukes at palmettoshopper.com> wrote:
>
> I'm just not following or understanding. The .htaccess file works but on a
> slow DSL, I don't want the hits.
What exactly is slow when you receive requests from remote clients that
you don't want? Are you actually seeing problems when clients make
requests and Apache has to read in your 2MB .htaccess
2005 Jul 14
0
htaccess authentication asks for MySQL table test.user_info
Hello.
For users interested in the MySQL authentication problem for SSL pages,
there is another way
to prevent mod_auth_mysql to do this mySQL authentication. This has been
reported by Brent:
In the /etc/httpd/conf/httpd.conf file, add the directive:
<Directory xxxxxx/
AuthMySQLEnable off
AllowOverride All
</Directory>
You can also add it to your .htaccess file.
Thanks
2008 Apr 24
0
.htaccess for script aliased directories
With the great assistance I got here I was able to get .htaccess to work on a centos 5.1 box running Apache 2.2.3 a few days ago.
One other question. I am trying to protect a sub dir within the web space of a domain that is serving site statistics of awstats generated pages. The path to the dir is /home/user1/www/awstats. When testing, I am able to get a username and password prompt for the
2005 Jul 24
1
international version for number_to_currency ?
bryce benton wrote:
> number_to_currency(1234567890.506) => $1,234,567,890.51
BTW agile book does mention this ..
will this number_to_currency(x) be internationalized ? or i can set it
to Indonesian for example (or to any other languages rather than just
English) ?
--
Salam hangat,
<%= Arie %> | http://blog.riyari.com | Y!: riyari3
email: ariekusumaatmaja_at_riyari_dot_com
2005 May 16
1
htaccess authentication asks for MySQL table test.user_info
Hello.
I tried to create an access file with 'htpasswd -c
/etc/httpd/conf/myfile.htaccess testuser'.
In the SSL directory I have put a .htaccess file containing the followings:
AuthUserFile /etc/httpd/conf/myfile.htaccess
AuthName "Mydomain"
AuthType Basic
require valid-user
This worked with CentOS 3.
Now with CentOS 4, apache version 2.0.52, the access to the page is
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.
2008 Jul 21
0
.htaccess exceptions
Hi I''m a .php coder trying to allow a Ruby on Rails website to access
some .php scripts. I notice everything get redirected with Ruby on Rails
in the .htaccess file.
How do I stop Rails from redirecting my .php scripts which would be in
another directory.
Cheers
(.htaccess is below)
# General Apache options
AddHandler fastcgi-script .fcgi
AddHandler cgi-script .cgi
Options
2004 Sep 30
0
winbind apache htaccess
hello all,
im sorry if this is the wrong list to address this topic. if this is the
case, id appreciate a pointer to the right list.
id like to be able to restrict access to apache dirs with an .htaccess file.
instead of using the local linux user.group database, id like to use our
Active Directory user account. I was able to get this to work through the
use of mod_auth_kerb, but have since
2016 Aug 28
0
.htaccess file
> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of TE Dukes
> Sent: Sunday, August 28, 2016 10:36 AM
> My home system on a DSL line is getting worn out by bad behavior robots.
> Awhile back, I created a .htaccess file that block countries by IP blocks.
> Its 2MB in size.
...
> So, today, I tried
2016 Aug 29
0
.htaccess file
Hi,
> My home system on a DSL line is getting worn out by bad behavior robots.
>
> Awhile back, I created a .htaccess file that block countries by IP blocks.
> Its 2MB in size.
Do you control your home server ? If so, then .htaccess is the wrong
solution, because you need to incorporate blockages in your IP Tables
firewall and then use your Apache configuration file to restrict
2007 Dec 21
2
config Rails .htaccess
Hello, newbie here please help
I have developed my Rails site under www.mydomain.com/home
Now I want to map it to use www.mydomain.com, what should i change to
this .htaccess file
=============== Content of my .htaccess file under public directory
============
# General Apache options
AddHandler fastcgi-script .fcgi
AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI
# If you