search for: web_root

Displaying 7 results from an estimated 7 matches for "web_root".

Did you mean: dweb_root
2006 Mar 23
5
Filecolumn storage location
Hi, I am using file_column for some image uploading. I want to have all the images stored under one root which I have managed by setting the :store_dir option as below. file_column :filename, :store_dir => File.join(RAILS_ROOT, ''public'', ''images'', ''products'') So, my images get uploaded to: /public/images/products/<primary_key>
2006 Jan 17
3
file_column :root_path question.
I''m developing on Windows and deploying to FreeBSD+lighttpd using Switchtower and I''ve got things generally working. My problem now is that file_column data gets zapped every time I deploy, because Switchtower creates a whole new myapp/public directory with each rev. I looked through the file_column docs and found the :root_path option, which I use in my models as follows:
2018 Feb 13
1
loads of broken symlinks .glusterfs
...17 591c89df-e5ed-4c5e-8ed1-643bbdf1ac3a -> ../../bb/e3/bbe35c18-467e-46a2-96d1-3f3cf07d30b2/omgevingsvisie-gelderland ./gfid-resolver.sh /data/home/brick1/ 591c33db-e88b-4544-9372-bea4ec362360 591c33db-e88b-4544-9372-bea4ec362360 Directory: /data/home/brick1/vcjgdeventer/web_root/shared/private/uploads/image/file/39494 ./gfid-resolver.sh /data/home/brick1/ 591c89df-e5ed-4c5e-8ed1-643bbdf1ac3a 591c89df-e5ed-4c5e-8ed1-643bbdf1ac3a Directory: ./gfid-resolver.sh: line 46: cd: /data/home/brick1//.glusterfs/59/1c/../../bb/e3/bbe35c18-467e-46a2-96d1-3f3cf07d30...
2006 Jun 10
0
Dynamic file paths in FileColumn
.... Kanthak) module FileColumn # :nodoc: ... def self.init_options(defaults, attr) options = defaults.dup options[:store_dir] ||= File.join(options[:root_path], options[:pub]) options[:tmp_base_dir] ||= File.join(options[:store_dir], "tmp") options[:base_url] ||= options[:web_root] + File.join(attr) FileUtils.mkpath([ options[:store_dir], options[:tmp_base_dir] ]) options end ... def file_column(attr, options={}) options = DEFAULT_OPTIONS.merge(options) if options my_options = FileColumn::init_options(options, at...
2018 Feb 13
0
loads of broken symlinks in .glusterfs
...17 2017 591c89df-e5ed-4c5e-8ed1-643bbdf1ac3a -> ../../bb/e3/bbe35c18-467e-46a2-96d1-3f3cf07d30b2/omgevingsvisie-gelderland ./gfid-resolver.sh /data/home/brick1/ 591c33db-e88b-4544-9372-bea4ec362360 591c33db-e88b-4544-9372-bea4ec362360 Directory: /data/home/brick1/*******/web_root/shared/private/uploads/image/file/39494 ./gfid-resolver.sh /data/home/brick1/ 591c89df-e5ed-4c5e-8ed1-643bbdf1ac3a 591c89df-e5ed-4c5e-8ed1-643bbdf1ac3a Directory: ./gfid-resolver.sh: line 46: cd: /data/home/brick1//.glusterfs/59/1c/../../bb/e3/bbe35c18-467e-46a2-96d1-3f3cf07d30...
2006 Apr 01
4
Saving images in shared directory w/ Capistrano/SVN?
Hi all, I''m using Capistrano and SVN to version control and deploy, but I''m not sure what to do about my images directory. I use file_column and RMagick to save images to the disk under a model called "Image", and they''re saved in public/image/... etc. Each time I deploy a new version, my image folder doesn''t exist anymore. I don''t want
1998 Oct 15
1
Problem to map home dir
...switches (see smbd(8)) # or in smb.conf (see smb.conf(5)) SMBLOGFILE = $(VARDIR)/log.smb NMBLOGFILE = $(VARDIR)/log.nmb CONFIGFILE = $(LIBDIR)/smb.conf LMHOSTSFILE = $(LIBDIR)/lmhosts DRIVERFILE = $(LIBDIR)/printers.def SMB_PASSWD = $(BINDIR)/smbpasswd SMB_PASSWD_FILE = $(BASEDIR)/private/smbpasswd WEB_ROOT = $(BASEDIR) # the directory where lock files go LOCKDIR = $(VARDIR)/locks # The directory where code page definition files go CODEPAGEDIR = $(LIBDIR)/codepages # The current codepage definition list. CODEPAGELIST= 437 737 850 852 861 932 866 949 950 936 # set this to the default group you want...