Displaying 20 results from an estimated 100 matches similar to: "htaccess is not working"
2006 Jun 30
1
Apache Cache
Hi,
I have a strange problem. I have implemented fragment caching. I am
pulling my delicious links to my site. I print out to the log every time
it connects to delicious.
>From the logs I see that it is not using the cached fragment. It
connects on every page load. This is running under Apache2 (ubuntu). I
am using the default .htacess file that came with RoR.
However when I run it
2006 Apr 14
1
Configuring rails app on web server
Hello,
I am newbie in configuring apache and deploying web applications, and am
trying to install rails 1.0.0 application on Godaddy web server. Lets
say the application is named `demo'', and it will be present in a folder called
`demo'' on the web server. The web server in addition to hosting the rails
application will host many other static pages in other folders. When the user
2007 Jul 28
2
activerecord model constantize question
I have a variable called column with the value of "bla" (column =
"bla")
I have a model call Location where method bla is defined (amongst many
other methods). What I would like to to is to call the method in
Location defined in the variable column.
I tried:
Location.column.constantize
but that gave me an error NoMethod.
I am sure there is a very simple way in Ruby as
2012 Mar 02
8
Developers having access to deploy
Hi
I''m in the process of looking for a way to have developers deploying
on their test systems without intervention of sysadmins, to solve this
i''d like to use Puppet (either the OSS version or Enterprise,
whichever solves the problem).
I can manage to only grant access to certain systems and limit the
ability to execute puppetd --test, however, the developers would like
to
2019 Jun 04
3
Incluir un rango de varias variables explicativas a un modelo
Hola, gracias por la respuesta,
No me funcionó debido a que los nombres de las variables no están seriadas,
es decir, los nombres de las variables son del tipo: x23 x25 x30, x301
x320, x80. Entonces me da este error:
Error in eval(predvars, data, env) : object 'pot24' not found. Debido a que
pot24 no existe, ya que de pot23 se brinca a pot30.
En Stata es algo muy simple de hacer, solo
2007 Jul 28
1
defining own exceptions in rails
Hi,
I would like to define my own exceptions in rails. I would like these
definitions to be available throughout my application. What''s an
elegant/good way to do this? The only way I can think of doing this is
by putting all of my exception definitions in config/environment.rb,.
Is there a better/standard way of doing this?
Thanks!
--Andrei
2003 Nov 03
5
subscription services on icecast2
I just got a query from a user regarding icecast2 and thought I'd throw
it out to the mailing list. Is it possible to set up some sort of
subscription to an icecast2 audio feed?
A student at the University of Cincinnati wants to create a subscription
service to an indie radio station and have users sign up, and then get a
login to the stream. They would have an unique username and password.
2003 Jul 30
0
Lula-Cuba, "bloqueio", patrulhas"...
msz De: Fern?ndez-L?pez, Ambito Iberoamericano, Paseo de la Castellana
223, Madrid. [1]InEnglish - [2]EnEspanol
Caros amigos luso-brasileiros,
? de se perguntar se as "patrulhas ideol?gicas" esquerdistas estar?o
impedindo que os ?ltimos artigos do ex preso pol?tico e escritor
cubano Armando Valladares - que abordam delicados aspetos das rela??es
entre o regime
2007 Feb 27
0
Camping only with .htaccess
Hi,
I found a solution for running Camping applications without having
access to /etc/apache2/* files. Only two small settings:
1. A small .htaccess file, which contains the following:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ http://nagybence.inter.hu/camping/index.fcgi/$1 [P,L]
2. A little modification in Camping''s source:
@status,
2007 Dec 29
2
Cent os 4 .htaccess file not working mod_rewrite enable - how can I test "help"
Hello,
Spend hours attempting to password protect a web directory-
mod_rewrite enabled on httpd.conf file. Seek ideas please
Stephen
Stephen Goldman
System Administrator
MIT Biology
sgoldman at mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2005 Aug 11
0
fastcgiconfig in .htaccess?
Digging through some mailing list archives, I found a solution[1]
(maybe) to my occasional fastcgi deaths, which return 500''s.
Since I don''t have access to httpd.conf on my hosted server, is it
possible to modify my .htaccess file in order to increase the
idle-timeouts for fastcgi? What is the syntax?
I tried adding the line:
FastCgiConfig -idle-timeout 1200 -maxClassProcesses
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
2007 Nov 21
0
.htaccess configuration
hello,
i use shared hosting with apache and .htacces file for configuration.
.htaccess file is places in the rails project folder:
--------
RewriteEngine On
RewriteRule ^$ public/index.html [L]
RewriteCond %{REQUEST_URI} !^/project/public
RewriteRule ^(.*)$ public/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ public/dispatch.fcgi/$1 [QSA,L]
--------
Everything work fine
2009 Jan 02
0
.htaccess ReWrite
Hello everyone,
I have the following old way of getting users to their sites
www.domain.com/?username
I want all request coming in to this old way to go to the new way
www.domain.com/profile/username
Domain name is the same.
Is there a way to do this within Rails Routes or does someone know how
to write this in .htaccess?
Thank you,
Sean McGilvray
2009 Oct 01
0
.htaccess not working, redirect all requests to maintenance
Hi All:
I need to upgrade my ROR application and in the maintenance period i
want all the pages(actions) to redirect to a maintenance(html) page.
I tried several options in .htaccess but it looks as if .htaccess is not
even getting used.
Any help will be highly appreciated.
TIA,
Priya Saini
--
Posted via http://www.ruby-forum.com/.
2006 Aug 07
1
htaccess htpasswd and satellite connections
Yeah, maybe this is a bit on the edge....
I am discovering several issues with users on satellite internet
connections not being able to authenticate via a htaccess/htpasswd
system. Some users cannot connect at all, some can connect reliably..
and some are hit and miss.. works one day and not the next. Yet those
same users can log in fine if they switch back to their dialup system.
Has
2008 Apr 18
2
Can't get .htaccess to work
Hi,
I'm trying to password protect one of my web accessable
directories and I can't get .htaccess to work in a Centos 5.1 box
Here's what I did
I created an .htaccess file with the contents:
AuthName "Restricted Area"
AuthType Basic
AuthUserFile /home/mysite/.htpasswd
AuthGroupFile /dev/null
require valid-user
and I uploaded it to the dir I want to protect. Then I
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
2009 May 01
2
.htaccess
I use the following .htaccess file to restrict access to certain web
folders to only my IP pool.
Options +Indexes
order allow,deny
allow from x.x.x.
Is there anyway to allow a user right in if there in that IP pool but
require a password if there not?
Matt