Displaying 20 results from an estimated 30000 matches similar to: "authenticate users in public folders"
2006 Mar 01
1
upload file above /public, authenticate before serving?
I have file uploads to the database and stored in a longblob working on
our client extranet, except that it kills mysql/activeRecord on files
bigger than about 200kb. (is there a reason for this - running mysql
5.0.18, lighttpd or webrick on winxp??)
So I''m now thinking about whether its possible to do either:
1) upload a file into #rails_root/some_folder/ instead of
2006 Jan 18
5
reading folder structure on server with Rails - possible?
I''m building an extranet which has project folders allocated for each
client and client project on a webserver.
I''m hoping to be able to read a directory''s content if I give it a path
like "/clients/[CLIENTNAME]/[PROJECTNAME]" (where /clients/.. would
reside inside the rails public folder I guess)
preferably recursively so it will read the contents of any
2006 Mar 31
2
AAARGH! Need some fresh eyes to look at this pls
I just switched my rails app over to production mode, couldn''t get it
working, switched it back to development mode, and now nothing gets
outputted in the browser. I''m sure I''ve missed something in the configs.
Setup: Lighttpd/SCGI on WinXP, Rails 1.0.
Environment.rb:
ENV[''RAILS_ENV''] ||= ''development''
require
2010 Sep 28
1
How to mirror only specified directories
I am trying to mirror only select directories from one server to another with rsync through its daemon mode.
Server A
/export
/home
/A-do
/A-not
/A-copy
/das
/htdocs
/docs
/em
/htdocs
/docs
/psb
/htdocs
/docs
/X-do
/X-not
/X-copy
Server B
/export
/home
/extranet
2006 Jan 05
5
Lost connection to Mysql
I''m trying to set up RoR on a laptop and having all sorts of troubles.
I''m running XP SP2, I did a quick install of appache/mysql using Xampp,
which worked fine.
I grabbed the latest windows install of ruby and rails, installed it ok
and got it running.
The moment I try to run a rails page that queries a database, it fails
every time, and I get the following error:
2006 Feb 01
4
Locking out users from certain records/urls
I am using the standard login controller that ships with RoR to
authenticate users in my application. In my app, Users belong to
Clients, Clients have Projects that users are assigned to (stored in a
stakeholder table with user_id and project_id columns) , then each
project has a bunch of folders and assets (file uploads).
So currently I have urls that look like /project/show/12 etc. I want
2006 Feb 28
6
scgi+lighttpd+windows - why wont it work?
two problems, pls help...I''m under big pressure at work to fix this!
I''m having trouble getting scgi and lighttpd running on windows - here''s
what I did:
On Win XP, I installed ruby, rubygems, and setup my rails app. All works
fine with webrick.
I then did: gem install cmdparse and gem install highline (as required
for the scgi_rails gem according to
2006 Apr 26
5
Best way to split forms into steps?
I have a form with about 30+ fields, which the client is wanting to
separate into 3 pages/steps - just wondering what is the best way to go
about this, specifically remembering data entered, from one page to
another, and making sure the various bits of data are validated
correclty, error messages outputted etc etc...
is there a best practice method for doing this?
--
Posted via
2006 Oct 21
3
Web site development and security
Hello all,
I'm looking at building a website and extranet on my CentOS server for my
home business. I use PHP for my intranet but I hear PHP is a big security
sieve. Can anybody recommend good books on website security and
development? Which procedural language should I use to do this?
I apologize and realize this may not be the right site for this but it seems
there are already a
2005 Nov 20
2
Nortel Extranet Client Installer
Hi,
My first post to the list so hopefully I'm not making any newbie blunders.
Searched high and low for solutions to get the Nortel vpn Extranet client
installer to run properly using wine.
I get a ton of fixmes like these and lots of other errors, in particular
ones to do with DLL32/DLL16/NETDI/SETUP16 - details follow...
fixme:key:GetQueueStatus QS_xxxx flags (4000) are not handled
2006 Apr 29
4
Wild SQL -- public/500.html -- postgres-pr
Every page of my DEPOT on Postgresql rails app now gets an error from postgres-pr about
some wild left-join SQL that has nothing to do with my tables:
SQL (0.000000) NameError: undefined local variable or method `errors'' for
#<PostgresPR::Connection:0x3b200c0>: SELECT a.attname, format_type(a.atttypid,
a.atttypmod), d.adsrc, a.attnotnull
FROM pg_attribute a LEFT JOIN
2006 Mar 20
7
error using feedtools
I performed a gem install feedtools,
I then added these 2 lines to my environment.rb:
require ''rubygems''
require ''feed_tools''
I then added this method in my controller:
def rss
@post = Post.most_recent
feed = FeedTools::Feed.new
feed.title = ''Recent Rambles''
feed.subtitle = ''random thoughts by me''
2006 Oct 05
2
Smallest Memory requirements for Dom0
All,
Has anybody tried to get Dom0 memory footprint as small as possible. I was thinking of building a cluster of PC''s (I have 20 or so P4 2.4Ghz 1GB RAM machines sitting around) that would be dedicated to Xen. I typically run each DomU with 1GB memory. I was hoping I could get Dom0 down to maybe 64Mb? Has anybody tried this. Would there be any performance impact? I plan on doing
2010 Oct 29
1
What won't rsync sync this file?
For some reason, Rsync did not copy two specific file. Then I tried to specifically tell it to synchronize one of them and I get this result. *I* don't see any reason why to chose not to copy this file, but maybe on of you out there would see the obvious reason I am missing.
dprweb> /usr/local/bin/rsync -vvv --stats -Pzrtpl --delete --password-file=/export/home/webuser/.appprod
2005 Jan 28
2
Polycom changing policy - allowing firmware downloads?
I don't know if Polycom decided to change their policy or not, but I
just went to their website and when you click on the downlooad link, it
will now present you with an option to join their extranet. I did that
and I got the following message immediately:
<snip>
Access to certain Resource Center sections and content are subject to
approval.
Eligible members, will receive further
2004 Jan 30
2
Multihome routing question
Hello,
I am new to network routing and I need help configuring a linux box with
two ethernet cards. In this case it''s a Linux RH 7.3 box, in a cabinet
that already has a couple of Windows servers. The Windows server routing
is below as an example.
The Linux box has an out-of-band interface at 10.130.36.38 and a public
eth at 62.50.8.84. I had to add a route for the private interface so
2005 Oct 03
1
chown on smbfs doesn't work ??
Hi,
I have a Network Storage Device mounted as smbfs. When I transfer data
using rsync, the permission of files transferred changes automatically
to 502.501.
I couldn't even issue a command chown. The error message said that
"changing ownership of `thisfile': Operation not permitted
Can someone please advise me to get around with this problem?
--
Best Regards and Thanks,
Ong,
2004 Dec 18
14
SuSe 9.1 startup issue
Tom,
I am NOT subscribed (yet). I dropped SuSeFirewall2 in favor of
shorewall to get past the configuration hurdles I as experiencing.
At the moment, when my SuSe 9.1 starts up, I can see shorewall processing
the rules, policies, etc. and I see no errors and then moves on with the
rest of the SuSe boot process .
However, no traffic passes through using the rules.
I run an iptables -L and I
2003 Jul 02
3
Asterisk PBX Billing
Hi
I would like to use the Asterisk PBX as part of a phone shop system instead
of the usual PBX plus PC. How can I do the the billing in a way that is
convinient to the phone shop attendant?
Regards
Shepherd
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
2005 Sep 05
0
Add Printer Wizard problem
Hi,
I really need help.
I tried to create a CUPS server but always failed to install Windows
driver on the Server from Windows client using Add Printer Wizard.
The error message from the Windows client is: "Unable to install HP
Laserjet 4050, Windows 2000, Intel server. Operation could not be completed"
Currently I set the printer installed on CUPS server as a local printer,