Displaying 20 results from an estimated 8000 matches similar to: "Password Protection"
2006 Jul 28
2
gem install (Errno::EACCES)
I am finding it impossible to install a gem, and even more impossible to 
find help.
Can anyone PLEASE help?
- - - - - - - -  -
Mason-Kessingers-Computer:~/Desktop/rails/pygmalion masonkessinger$ gem 
install login_generator
Attempting local installation of ''login_generator''
Local gem file not found: login_generator*.gem
Attempting remote installation of
2006 Jul 25
1
? Password Protection ?
Say I have some directories I want to password protect.
sub.web-app.com/cms
sub.web-app.com/cms_posts
sub.web-app.com/cms_photos
sub.web-app.com/cms_news
where /cms is a page that allows access(links) to all three other cms 
pages.
- - -
Does anyone have any quick advice on how to password protect these 
areas?
Any good online tutorials?
Any advice?
-- 
Posted via
2006 Jul 25
6
DRY question (newbie)
Say i want to include the same chunck of text (a menu on a webpage for 
example) on each page. Is there a method by which I can save the HTML in 
a text file and call it up later? Is there a better way?
I know ruby has "puts" but i can''t use that b/c it does not work with my 
webhost (dreamhost.com)
Any suggestions?
-- 
Posted via http://www.ruby-forum.com/.
2006 Jul 28
5
DREAMHOST SO SLOW
Does anyone know of any fixes to this?
Any industry-known tips/tricks?
The page loads sometimes take 20-30 seconds.
so bad.
mk
-- 
Posted via http://www.ruby-forum.com/.
2006 Apr 04
2
newbie-server bound to 3000, cannot disconnect
I know there is a super easy answer to this, i just can''t remember. I 
have fired up my server on port 3000... and want to disconnect it. easy.
ERROR MESSAGE:
=> Booting lighttpd (use ''script/server webrick'' to force WEBrick)
=> Rails application started on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server (see config/lighttpd.conf
2006 Aug 16
5
too many SESSIONS?
I just notices my app was down, and in the log file were lots of these:
No space left on device - 
../config/../tmp/sessions//ruby_sess.898b1cf95e14f8e3
So i figured that i had too many sessions. I went through and deleted 
the sessions and then in a few minutes, the site was back up again.
Can anyone explain this?
Did I do the right thing?
Is there a way I can tell my app to accept more
2006 Jul 18
13
RANDOM
I am pretty much new at this ROR game and had what I think to be a 
simple question.
I have a set of Sponsors that I would like to be able to select one at 
random and display in the my html. I have already set up the DB, 
scaffolded, set index controller and all is working smoothly.
I know that I can display them all by doing
<% for sponsor in @sponsors %>
 <%= sponsor.name %>
2006 Aug 15
5
XML question
Is there a way you can use RoR to create an .xml file?
Say I had a DB full of info that I wanted to format and have export as 
"lorem.xml" inside of a specific directory in my web server?
Then, each time I updated the DB it would re-export the file (delete the 
old, save the new?)
-- 
Posted via http://www.ruby-forum.com/.
2006 Jul 04
13
NewBie question
Hi,
 
I m very new to Ruby.
I bought a book "Ruby on Rails" and I think I understand some concepts.
 
My question is :
 
Is there a way to not use "Cookies" or "Sessions Variables" to keep some
information about the user.
I ask this question because I would like to prevent some cases where the
user browser won''t accept cookies.
I m from Asp 3.0, and I
2006 Aug 04
1
Helper within a Helper? (IMAGE PLACEMENT)
I would like to call an image to be displayed based on its title. It is 
easy enough for me to do this like this:
<img src="/images/suggested/<%= suggested.title %>" height="100" 
width="100" />
But I want to stick within the ruby code and I''m trying this:
<%= image_tag("/images/suggested/<%= suggested.title %>", size=> 
2006 Jun 13
4
script/plugin discover breaks?
Hi everyone,
I was trying to discover some new plugins, but the script breaks at a
certain point:
$ ./script/plugin discover
Add http://delynnberry.com/svn/code/rails/plugins/? [Y/n]
Add http://svn.recentrambles.com/plugins/? [Y/n]
Add http://svn.hasmanythrough.com/public/plugins/? [Y/n]
Add http://www.svn.recentrambles.com/plugins/? [Y/n]
Add http://sean.treadway.info/svn/plugins/? [Y/n]
Add
2011 Mar 13
2
XP not obeying Samba file perms
Hi List,
I have an unusual problem concerning the Windows  XP "Rotate" image
explorer shell extension.  I have a share called "Archives" defined with
a number of sub-directories.  Whilst I have read/write permission to all
directories, I am unable to use the Windows XP "Rotate Clockwise" or
"Rotate Counter Clockwise" image command on JPG's contained
2008 May 09
14
winetricks vcrun2005 does not appear to install system32 dll
I'm a newbie, sorry in advance :p  I have been searching here and reading threads and can't seem to find an answer, hence this post.  I saw a nice example of what I am trying to do so I'll copy that format and perhaps it will illustrate better than I can explain.  I'm using Ubuntu Hardy, 64bit.
My only goal currently is to install the redist, using winetricks is the proper method
2006 Aug 06
19
Rails *that* slow?
I''m working on my first little rails-application. It''s a rewrite of a
gallery-script i once made (in PHP): http://notdotnet.net
However - my rails-version is waaay to slow :(
http://r.notdotnet.net/
I don''t do any heavy image-processing, I don''t have any
killer-algorithms with a time complexity on O(n^n), and I don''t use any
major hacks.
The only
2008 Apr 10
2
Testing an action behind HTTP Authentication
Greetings,
I''m writing an integration test and would like to make sure that, with
the correct credentials, I get the proper response. The problem is I
don''t know how to use the ''get'' method to attach the username and
password to the request.
For example, when using RSpec''s Story tests..
  When("I request the user information for that
2005 Oct 05
5
Voicemailmain automatic extension detection?
Is there a way I can have "voice mail check" calls coming from my internal
users automatically get to the right extension, without having the user
enter their extension?
I'm thinking that I could have the local SPA boxes translate, or have
each user live in a context where the extension in question exists
uniquely per user, but both of these seem kludgey.
Thanks in advance for
2012 Jun 24
2
[LLVMdev] Problems building LLVM under Visual Studio
Hi all,
I'm trying to build LLVM, synced from SVN trunk yesterday.
I ran CMake and it generated VS 2008 project files, so far so good.  Then I tried to build them, by building the ALL_BUILD project.
It got the first three all right, but choked on template issues in LLVMCore:
1>------ Build started: Project: LLVMCore, Configuration: Debug Win32 ------
1>Compiling...
1>Verifier.cpp
2006 Sep 06
2
.htaccess in public and adding password protection
While my site is in development I wish to add basic password protection. 
At the moment my .htaccess looks like this:
AuthName "Restricted Area"
AuthType Basic
AuthUserFile /home/httpd/mydomain.co.uk/.htpasswd
AuthGroupFile /dev/null
require valid-user
.htpasswd exists and has an entry, yet I do not get a password prompt?
Does Apache Auth work for dynamic resources or only static
2006 Oct 09
1
Login to domain.
I'm running Centos 4.2, with 3.0.23b-SerNet-RedHat as a NT 4 Domain. My
Window XP machine logs in perfectly well to the domain. I have another
machine running Opensuse 10.2 which I joined to the domain with no
problems.
using opensuse, I'm unable to loging to the domain. I get the message
xserver: login (domain\user) is disabled. On the server samba.conf the
shell is set to template shell
2010 Jul 23
2
[PATCH] virtio: fix oops on OOM
From: "Michael S. Tsirkin" <mst at redhat.com>
virtio ring was changed to return an error code on OOM,
but one caller was missed and still checks for vq->vring.num.
The fix is just to check for <0 error code.
Long term it might make sense to change goto add_head to
just return an error on oom instead, but let's apply
a minimal fix for 2.6.35.
Reported-by: Chris Mason