search for: script_nam

Displaying 20 results from an estimated 65 matches for "script_nam".

Did you mean: script_name
2017 Apr 28
4
Sieve dict and bindir question
...: sieve_before = dict:proxy::sieve;name=activesql;bindir=~/.sieve-bin dict { sieve = mysql:/etc/dovecot/dovecot-dict-sieve-sql.conf.ext } # cat /etc/dovecot/dovecot-dict-sieve-sql.conf.ext connect = host=10.1.1.1 dbname=dovecot user=dovecot password=Ciao map { pattern = priv/sieve/name/$script_name table = user_sieve_scripts username_field = username value_field = id fields { script_name = $script_name } } map { pattern = priv/sieve/data/$id table = user_sieve_scripts username_field = username value_field = script_data fields {...
2012 Feb 28
1
quota warning script not working after upgrade to 2.1.1
...5065 returned error 1 Feb 28 19:40:13 postamt quota-warning2(lxxxve): writing message failed Feb 28 19:40:13 postamt dovecot: quota-warning: Fatal: master: service(quota-warning): child 3318 returned error 1 What is failing here? #!/bin/sh # # Should be run by the Local Delivery Agent # #set -x SCRIPT_NAME="quota-warning2" MAIL_TO=$2 MAIL_FROM="postmaster at charite.de" MAIL_QUOTA_PERCENT=$1 MAIL_SUBJECT="Ihre Mailbox ist zu "$1"% voll!" BIN_CAT="/bin/cat" BIN_DATE="/bin/date" BIN_HOSTNAME="/bin/hostname" BIN_LOGGER="/usr/b...
2009 Nov 26
2
quote warning not being triggered (yet again)
...autosubscribe: Trash autosubscribe2: spam autosubscribe3: Sent autosubscribe4: Drafts sieve: ~/.dovecot.sieve sieve_dir: ~/sieve -------------- next part -------------- #!/bin/sh # # Should be run by the Local Delivery Agent # Expects USER and HOME to be set as an environment variable # SCRIPT_NAME="quota-warning" MAIL_TO="${USER}" MAIL_FROM="postmaster at charite.de" MAIL_QUOTA_PERCENT=$1 MAIL_SUBJECT="Ihre Mailbox ist zu "$1"% voll!" DIR_MAILDIR_NEW="${HOME}/Maildir/new" DIR_MAILDIR_TMP="${HOME}/Maildir/tmp" BIN_CAT=&...
2014 Oct 03
1
Problem with dovecot-managesieved and sieve scripts in mysql
...s = " mail_log notify acl quota imap_quota acl imap_acl" } protocol pop3 { mail_plugins = " mail_log notify acl quota" } dict-sieve-sql.conf.ext: connect = host=xxxxxxxxxxxxx dbname=xxxxxxxx user=xxxxxxxx password=xxxxxxxxxxxxxx map { pattern = priv/sieve/name/$script_name table = user_sieve_scripts username_field = username value_field = id fields { script_name = $script_name } } map { pattern = priv/sieve/data/$id table = user_sieve_scripts username_field = username value_field = script_data fields { id = $id } } C...
2016 Aug 04
1
php55w-fpm on CentOS 7: settings location
...following >> >> <?php phpinfo() ?> > > I use a text command: php -i > > > php -i > php-i.txt echo '<?php phpinfo() ?>' | php > php-echo.txt diff php-i.txt php-echo.txt 709,710c709,710 < _SERVER["PHP_SELF"] => < _SERVER["SCRIPT_NAME"] => --- > _SERVER["PHP_SELF"] => - > _SERVER["SCRIPT_NAME"] => - 714c714 < _SERVER["REQUEST_TIME"] => 1470317489 --- > _SERVER["REQUEST_TIME"] => 1470317531 716a717 > [0] => - 719c720 < _SERVER["argc"]...
2006 Jul 25
4
about PATH_INFO and FastCGI
in one of my recent email, I add .to_s to PATH_INFO in camping code. actually, this is probably very wrong. the problem is probably something like PATH_INFO does not exist when using FastCGI. I have not done all my homework, but so far what I found is lighttpd has a special option "broken-scriptfilename": breaks SCRIPT_FILENAME in a wat that PHP can extract PATH_INFO from it (default:
2006 Jan 03
1
opensearch template
...link> tags: $httpheader{Content-Type,application/xml}<?xml version="1.0"?> <rss version="2.0" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/"> <channel> <title>Xapian search results</title> <link>$env{SCRIPT_NAME}?DB=$dbname&amp;P=$html{$query}</link> <description>Search results for "$html{$query}" at xapian.org</description> <language>en</language> <copyright>(C)2005, Xapian.org</copyright> <openSearch:totalResults>$msiz...
2017 Apr 30
0
Sieve dict and bindir question
...vesql;bindir=~/.sieve-bin > > dict { > sieve = mysql:/etc/dovecot/dovecot-dict-sieve-sql.conf.ext > } > > # cat /etc/dovecot/dovecot-dict-sieve-sql.conf.ext > > connect = host=10.1.1.1 dbname=dovecot user=dovecot password=Ciao > map { > pattern = priv/sieve/name/$script_name > table = user_sieve_scripts > username_field = username > value_field = id > fields { > script_name = $script_name > } > } > map { > pattern = priv/sieve/data/$id > table = user_sieve_scripts > username_field = username >...
2007 Aug 13
0
2 commits - libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_tag.h
...7,43 +387,56 @@ swfdec_button_append_content (SwfdecButt static int tag_func_define_button_2 (SwfdecSwfDecoder * s, guint tag) { - SwfdecBits *bits = &s->b; - int id; - int flags; - int offset; + SwfdecBits bits; + int id, reserved; + guint length; SwfdecButton *button; char *script_name; - id = swfdec_bits_get_u16 (bits); + id = swfdec_bits_get_u16 (&s->b); button = swfdec_swf_decoder_create_character (s, id, SWFDEC_TYPE_BUTTON); if (!button) return SWFDEC_STATUS_OK; SWFDEC_LOG (" ID: %d", id); - flags = swfdec_bits_get_u8 (bits); - if (f...
2006 Jul 10
4
Test Mongrel 0.3.13.4 Please
Hey Folks, There''s a nasty little bug in 0.3.13.3 when running in development mode which could cause all sorts of problems. Please grab the pre-release of 0.3.13.4 and tell me if it works for you: gem install mongrel --source=http://mongrel.rubyforge.org/releases/ Thanks! -- Zed A. Shaw http://www.zedshaw.com/ http://mongrel.rubyforge.org/ http://www.railsmachine.com/ -- Need
2006 Jul 25
3
+ camping 1.4.140 -- apache+fastcgi, lighttpd+fastcgi
..."bin-environment" => ("FORCE_ROOT" => "1"), "check-local" => "disable", "max-procs" => 1 ) ) ) Notice the FORCE_ROOT setting. When you mount at "", PATH_INFO breaks. Lots of other web framework just use SCRIPT_NAME everytime lighttpd is found (see: Jifty, Catalyst.) I don''t want to do that, it''s unpredictable. Mount at "" and use FORCE_ROOT. DO NOT MOUNT AT "/". == Mounting Root for Apache2+FastCGI == AddHandler fastcgi-script rb ScriptAlias / /usr/local/www/dat...
2005 May 23
16
Success - Rails, FastCGI, and IIS / Windows Server
About 17:00 localtime I managed to get fastcgi, Rails and IIS all happy together. Upon success I ripped off my clothes and ran through the village yelling "The future is now!". A PDP-11 geezer stuck his head out a window and said "The future isn''t what it used to be and keep yer shirt on". Modifications were required to dispatch.fcgi and request.rb. The following
2007 Feb 02
0
Branch 'interpreter' - 6 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_compiler.c libswfdec/swfdec_sprite.c test/swfdec-extract.c
...07 +0100 Clean up parsing of actions in PlaceObject2 diff --git a/libswfdec/swfdec_sprite.c b/libswfdec/swfdec_sprite.c index 440c3b8..9201218 100644 --- a/libswfdec/swfdec_sprite.c +++ b/libswfdec/swfdec_sprite.c @@ -395,10 +395,13 @@ swfdec_spriteseg_place_object_2 (SwfdecS else script_name = g_strdup_printf ("Sprite%u", SWFDEC_CHARACTER (content->graphic)->id); while ((event_flags = swfdec_get_clipeventflags (s, bits)) != 0) { - guint tmp = swfdec_bits_get_u32 (bits); - SwfdecBits save = *bits; - swfdec_bits_skip_bytes (&save, tmp); - + g...
2009 Oct 25
21
zfs inotify?
OK, so this may be a little off-topic, but here goes: The reason I switched to OpenSolaris was primarily to take advantage of ZFS''s features when storing my digital imaging collection. I switched from a pretty stock Linux setup, but it left me at one disadvantage. I had been using inotify under Linux to trigger a series of Ruby scripts that would do all the basic ingestion/setup for
2007 Jun 18
0
Branch 'as' - 8 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_sprite_movie.h libswfdec/swfdec_swf_decoder.c libswfdec/swfdec_swf_decoder.h
...has_blend_mode) { - guint operator = swfdec_bits_get_u8 (bits); - content->operator = swfdec_sprite_convert_operator (operator); - SWFDEC_ERROR (" operator = %u", operator); - } - if (has_clip_actions) { - int reserved, clip_event_flags, event_flags, key_code; - char *script_name; - - g_assert (content->events == NULL); - content->events = swfdec_event_list_new (SWFDEC_DECODER (s)->player); - reserved = swfdec_bits_get_u16 (bits); - clip_event_flags = swfdec_get_clipeventflags (s, bits); - - if (content->name) - script_name = g_strdup (conte...
2007 Jun 15
0
Branch 'as' - 4 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_sprite.c test/trace
...#39;re not guaranteed to have a graphic diff --git a/libswfdec/swfdec_sprite.c b/libswfdec/swfdec_sprite.c index cd678a9..73eeea5 100644 --- a/libswfdec/swfdec_sprite.c +++ b/libswfdec/swfdec_sprite.c @@ -357,8 +357,10 @@ swfdec_spriteseg_do_place_object (Swfdec if (content->name) script_name = g_strdup (content->name); - else + else if (content->graphic) script_name = g_strdup_printf ("Sprite%u", SWFDEC_CHARACTER (content->graphic)->id); + else + script_name = g_strdup ("unknown"); while ((event_flags = swfdec_get_clipeventflag...
2014 Sep 20
2
[LLVMdev] How to translate library functions into LLVM IR bitcode?
...prisingly well. It checks the > command line options for indicators what kind of output is expected and > produces bitcode files with the appropriate names. In order to use it > you just need to put/link the script on your path and use it as your > standard compiler (e.g., export CC=<script_name>) instead of clang. > However, clang and llvm-link need to be on the path. If the name of the > executed script is <script_name>++ (note the ++ in the end) then clang++ > will be used to compile the source files, otherwise clang. Also note that > the script will remove some co...
2007 Feb 27
0
Camping only with .htaccess
...} !-f RewriteRule ^(.*)$ http://nagybence.inter.hu/camping/index.fcgi/$1 [P,L] 2. A little modification in Camping''s source: @status, @method, @env, @headers, @root = 200, m.downcase, e, {''Content-Type''=>''text/html''}, e.SCRIPT_NAME.sub(/\/$/,'''') to: @status, @method, @env, @headers, @root = 200, m.downcase, e, {''Content-Type''=>''text/html''}, File.dirname(e.SCRIPT_NAME) Now I can make a lot of small applications with my cheap website acc...
2005 Dec 29
1
Using base HTML tag
Hello all: I have been using PHP for quite a bit and am beginning to learn more about RoR. One thing I used to to in PHP scripts (views in particular) was to have a tag such as: <base href="http://<?php echo $_SERVER[''HTTP_HOST''] . $_SERVER[''SCRIPT_NAME'']; ?>" /> so that URL rewriting would not throw off the paths to images, css, etc. Is there an equivalent way to do this in RoR? Thanks, John -- Posted via http://www.ruby-forum.com/.
2005 Dec 04
3
Relative URL
I''m trying to use a non default webserver with Rails and succesfully does this by calling the disptacher directly, by setting the environment variables: REQUEST_URI and SCRIPT_NAME My problem is that the relative path is incorrect when I identify myself as anything else than apache. In request.rb the @@relative_url_root is only set when the webserver is apache. Is this default wanted behaviour? Or is there another way of achieving this without settings routes? -- Poste...