Not In syntax

Dear Guru,
I would like to find out is there any limitation.bug when using not in criteria.
I have this query:
select *
from <table_name_a>
where id not in (select id from table_name_b)
==> returns no data
However when I run this,
select *
from <table_name_a>
where id not in (select id from table_name_b where id is not null)
==> returns the correct data
Thank you.
Kelly

See here for a detailed explanation
Oracle Tip: Understand how NULLs affect IN and EXISTS
http://builder.com.com/5100-6388_14-5319615.html
Nulls: Nothing to Worry About
http://www.oracle.com/technology/oramag/oracle/05-jul/o45sql.html
Message was edited by:
Jens Petersen

Similar Messages

  • ExtendScript ToolKit not showing syntax properly

    Hi all,
    My ExtendScript was not showing the Indesign Syntax, what will be the issue.
    In the dropdown list I have selected "Adobe Indesign CS4" and "main".
    Is there is any tool showing properly the syntax of Indesign scripting.
    I am using MAC.
    Thanks in advance.

    Hi Shaji,
    Please see the attachment and select the appropriate object model version in the corner of dropdown list. Then try.
    Reg
    Peru

  • Concatenating a string in a URL syntax does not work (syntax error)

    I am trying to print a Report in PDF format. The code is:
    select '<a href="http://oasdev.oh.gov./reports/rwservlet?GDMS_ACR&Y='||:P106_YEAR||'&B='||:P100_BUSINESS_UNIT_ID||'&C='||:P106_COMMISSION_ID||'&d=('||TO_CHAR(SYSDATE,'MMDDYYYYhhMISS')||')", target=_new> <font color="blue"><b>Print PDF Version of the report</b></font> </a>' url from dual
    GLOBAL_URL should carry the value ( a sring) ----> http://oasdev.oh.gov.
    Therefore I changed it to the following code:
    select '<a href="GLOBAL_URL/reports/rwservlet?GDMS_ACR&Y='||:P106_YEAR||'&B='||:P100_BUSINESS_UNIT_ID||'&C='||:P106_COMMISSION_ID||'&d=('||TO_CHAR(SYSDATE,'MMDDYYYYhhMISS')||')", target=_new> <font color="blue"><b>Print PDF Version of the report</b></font> </a>' url from dual
    But it does not work. Any suggestion would be highly appreciated.
    Thanks in advance.
    Gouri
    Edited by: user1046395 on Dec 8, 2010 8:41 AM

    When you do a select, you need to select into a variable..
    select ' Print PDF Version of the report ' url INTO <Variable>from dual
    Are you trying to run an Oracle Report from APEX??
    If so look at this thread: Using popupURL to call Oracle Reports - Problem passing parameters
    Thank you,
    Tony Miller
    Webster, TX
    When you have enough clowns, you have a circus.

  • Statement not accessible - Syntax error

    Hi all,
    There is a form within a standard include. The form has an include within it. Its a custom include. So its an exit i suppose. Now i have a problem in the custom include. There is "statement not accessible" error. Find below the code in the custom include.
    *&  Include           ZZIMOVEKVGR4                                     *
    DATA: r_vkorg TYPE RANGE OF vkorg.
    CONSTANTS: c_z_salesorg_zzkvgr4 TYPE rvari_vnam VALUE
                                                    'Z_SALESORG_ZZKVGR4'.
    * Get the values from variant Z_SALESORG_ZZKVGR4 of TVARVC tavle
    CALL FUNCTION 'Z_FILL_RANGE_TABLE_FROM_TVARV'
    EXPORTING
    name                 = c_z_salesorg_zzkvgr4
    *   INITLINE             = ' '
    *   LINE_SEPARATOR       = ','
    TABLES
    rngtab               = r_vkorg.
    * Check for the sales orgranisation in TVARVC table
    IF vbrk-vkorg IN r_vkorg.
    * Move field Customer group 4 to KOMPCV structure
      MOVE vbrp
    ENDIF.
    Please help me understand how to overcome the same. The function module called has a select query. Does it have something to do.
    Pasting here the form that calls this include.
    FORM USEREXIT_ACCOUNT_PREP_KOMPCV.
    *  KOMPCV-zzfield = xxxx-zzfield2.
    *{   INSERT         TSTK9B000H                                        1
    * TSTK9A05ZS-Begin of changes For scr 7060
    * Only for the sale organisation S096
        INCLUDE ZZIMOVEKVGR4.                                "TSTK9A05ZS
    * TSTK9A05ZS-End of changes
    *}   INSERT
    ENDFORM.
    Thanks & Regards,
    Selvakumar M.

    Hi,
    this form in RV60AFZZ is to modify KOMPCV fields.
    I can't see any attempts to change those fields in your include.
    You can either move your code directly into form routine USEREXIT_ACCOUNT_PREP_KOMPCV, or correct your code in your include to make it work (as Sudhi told before).
    Regards.
    Klaus

  • Eclipse not highlighting syntax errors, why?

    Hello everyone,
    I have started to use the eclipse IDE, version 3.1.2
    My problem is that it is not highlighting errors of any kind in the editor, i cannot seem to find the setting for this,
    help is appreiated.

    Hello everyone,
    I have started to use the eclipse IDE, version 3.1.2
    My problem is that it is not highlighting errors of
    any kind in the editor, i cannot seem to find the
    setting for this,Really? I actually have a 3.1.1 here but I assume this hasn't changed.
    Window -> Preferences -> Java -> Editor: Checkbox "Report problems as you type".

  • New thunderbird won't send messages saying some of my addresses I've used for years are not right syntax but they are.

    Setting up different computer since lightning strike took out my ethernet (but not much else). Using Mint Linux 13. New setup on this computer with all the latest updates including Thunderbird 31.
    Have imported my old addresses that I've been sending to for years but this new t-bird will not allow some emails saying they are not proper sytax when they are. Nothing has changed on the addresses, just Thunderbird has changed. Because of these few it refuses, it won't sent ANY emails now except for replies. Replies using the very same addresses go through with no problem. Lately it finds just one address it refuses but when I take that one out (have to start over now - won't allow me to delete) then it comes up with a whole other list and DOES NOT SEND ANYTHING. This is damned frustrating, to be frank.

    What is the exact error message?

  • Lotus Notes search syntax for GetResourceObjects method

    This works for finding something that "contains" a value:
    <s>searchFilter</s>
    <concat><s>@IsAvailable(ShortName) amp;@Contains(@LowerCase(ShortName);"</s><downcase><ref>accountId</ref>
    </downcase><s>")</s></concat>
    What is the syntax if I need an exact match? Tried "=" and @IsEqual
    Thanks in advance, -T-

    In case anyone cares, the syntax that works is:
    <concat>
    <s>@IsAvailable(ShortName) & "</s>
    <downcase>
    <ref>accountId</ref>
    </downcase>
    <s>"=ShortName</s>
    </concat>

  • Bad concatenation syntax not detected by javac

    The following test case produces no compile errors but bad results. In my app the string '45' was inserted as though it were between the concatenation operators. This condition occurred in jdk 1.3.1_07.
    * Demo of uncaught invalid syntax ?
    public class JavacTestCase {
         String plTrain = "210";
         String pieceMk = "131D1N";
         public JavacTestCase() {
              // the whitespace-separated operators '+ +' appear to be invalid syntax
              String commod2 = plTrain +     + '-' + pieceMk;
    Pardon me if this is a feature, not a bug,
    Bill Winspur

    This is not invalid syntax.
    The dash/hyphen is ASCII decimal 45. Since '-' is a char primitive type and is preceded by the unary operator, it will be converted to an int. The second plus is treated as a unary operator, so + '-' becomes +45. Normal String concatenation then takes place so you end up with "45" within the resulting String.

  • Error in SUM: MAIN_NEWBAS/XPRAS_AIMMRG: Syntax Error in SAPLSUU6

    Pinging Boris Rubarth on what looks to be a minor bug with SUM 1.0 SP12 patch 12. The symptoms and resolution are pretty much identical to that described in Note 2093666 (Syntax Error in SAPLSUU6), except that according to the Note the error was corrected with SUM sp12 patch 6.
    The upgrade stopped with a number of errors in phase MAIN_NEWBAS/XPRAS_AIMMRG, essentially that job RDDEXECL terminated for post-import methods:
    /SAPSRM/PDO_MD_L_U_AFTER_IMP_I for /SAPPSSRM/CTRL
    /SAPSRM/V_SWITCH_AFTER_IMPORT for /SAPSRM/V_SWITCH
    /SAPPSSRM_BASE_AFTER_IMP for /SAPPSSRM/VC_HT
    /SAPSRM/PDO_MD_L_U_AFTER_IMP for /SAPSRM/V_ITPRO
    Digging into the job logs for RDDEXECL I saw that it was short dumping due to a syntax error in program SAPLSUU6, include LSUU6TOP: Type VSUSR_USBAPILINK is unknown. This is just as described in the Note.
    The Note says that in SUM SP12 with a patch level earlier than 6, the fix is to logon to client 000 as DDIC and execute report RSSCD_CHECK_GEN to regenerate change documents, then repeat the phase. With SUM SP12 patch 6 or greater, simply repeating the phase should fix it.
    Repeating the phase alone did not fix it, but running RSSCD_CHECK_GEN did. This was on patch 12, currently the latest. So, the workaround/fix from the Note still works, but the bug seems to still exist in SUM for a few of these after-import methods.
    This was an upgrade from SRM 5.0 to SRM 7.02 sps14 (i.e., including Basis 731 sp14). I ran SUM in 'Single System' Mode. The platform is Windows 2012 R2, SQL Server 2012 sp2 cu5.
    Otherwise, everything ran well. There was another slight hiccup in the same phase (after I resolved the one above) in which 'example' BAdI implementations are activated by the upgrade, but I think this might be more specific to SRM.
    Note to everyone else -- the discussion is not marked as a question because I have in fact resolved the issue for my system as described and moved on (the upgrade is complete and successful).
    Cheers,
    Matt

    Oops, there is one other small bug. The feedback form doesn't seem to exist. Clicking the link on the 'summary' page of the tool opens the URL http://<host>:4239/eval/EvalForm.html but results in a "Not Found" error.

  • Logical path and syntax groups

    WE know that we may define ligical file & logical file path. It is said that if we link  a logical path to a logical file the logical file is valid  for all syntax groups  thgat have been maintained  for that logical path?
    Could some one explain  how to note  the syntax groups  that haver been maintained for that logical   path?
    Why is it not that all listed syntax groups are valid?

    Hi FedeX,
    Did not get exactly what you wanted.
    May be you can try this: You can check the varibale values in the table V_PARAMVAL.
    Bye
    Dinesh

  • Apache not working

    Hi,
    I am new to this forum. I bought Mac book pro few months back. I am working on a project that involves Jboss. Whenever I start Apache and type "http://localhost/" on the browser, the result is "It works!".(But when I hit refresh, it says "Safari can’t open the page “http://localhost/” because Safari can’t connect to the server “localhost”."). There are no "httpd" process running in the Activity Monitor.
    I tried to configure, still the same issue. I checked and none of the other services is listening to the same port:80. I have posted the complete content of httpd.conf file in the"/etc/apache2".(I apologize for the long thread)
    1. This is the main Apache HTTP server configuration file. It contains the
    2. configuration directives that give the server its instructions.
    3. See <URL:<a class="jive-link-external-small" href="http://">http://httpd.apache.org/docs/2.2> for detailed information.
    4. In particular, see
    5. <URL:<a class="jive-link-external-small" href="http://">http://httpd.apache.org/docs/2.2/mod/directives.html>
    6. for a discussion of each configuration directive.
    1. Do NOT simply read the instructions in here without understanding
    2. what they do. They're here only as hints or reminders. If you are unsure
    3. consult the online docs. You have been warned.
    1. Configuration and logfile names: If the filenames you specify for many
    2. of the server's control files begin with "/" (or "drive:/" for Win32), the
    3. server will use that explicit path. If the filenames do not begin
    4. with "/", the value of ServerRoot is prepended -- so "/private/var/log/apache2/foo_log"
    5. with ServerRoot set to "/usr" will be interpreted by the
    6. server as "/usr//private/var/log/apache2/foo_log".
    1. ServerRoot: The top of the directory tree under which the server's
    2. configuration, error, and log files are kept.
    1. Do not add a slash at the end of the directory path. If you point
    2. ServerRoot at a non-local disk, be sure to point the LockFile directive
    3. at a local disk. If you wish to share the same ServerRoot for multiple
    4. httpd daemons, you will need to change at least LockFile and PidFile.
    ServerRoot "/usr"
    1. Listen: Allows you to bind Apache to specific IP addresses and/or
    2. ports, instead of the default. See also the <VirtualHost>
    3. directive.
    1. Change this to Listen on specific IP addresses as shown below to
    2. prevent Apache from glomming onto all bound IP addresses.
    #Listen 12.34.56.78:80
    #Listen 80
    1. Dynamic Shared Object (DSO) Support
    1. To be able to use the functionality of a module which was built as a DSO you
    2. have to place corresponding `LoadModule' lines at this location so the
    3. directives contained in it are actually available before they are used.
    4. Statically compiled modules (those listed by `httpd -l') do not need
    1. Example:
    2. LoadModule foo_module modules/mod_foo.so
    LoadModule authnfilemodule libexec/apache2/modauthnfile.so
    LoadModule authndbmmodule libexec/apache2/modauthndbm.so
    LoadModule authnanonmodule libexec/apache2/modauthnanon.so
    LoadModule authndbdmodule libexec/apache2/modauthndbd.so
    LoadModule authndefaultmodule libexec/apache2/modauthndefault.so
    LoadModule authzhostmodule libexec/apache2/modauthzhost.so
    LoadModule authzgroupfilemodule libexec/apache2/modauthzgroupfile.so
    LoadModule authzusermodule libexec/apache2/modauthzuser.so
    LoadModule authzdbmmodule libexec/apache2/modauthzdbm.so
    LoadModule authzownermodule libexec/apache2/modauthzowner.so
    LoadModule authzdefaultmodule libexec/apache2/modauthzdefault.so
    LoadModule authbasicmodule libexec/apache2/modauthbasic.so
    LoadModule authdigestmodule libexec/apache2/modauthdigest.so
    LoadModule cache_module libexec/apache2/mod_cache.so
    LoadModule diskcachemodule libexec/apache2/moddiskcache.so
    LoadModule memcachemodule libexec/apache2/modmemcache.so
    LoadModule dbd_module libexec/apache2/mod_dbd.so
    LoadModule dumpio_module libexec/apache2/mod_dumpio.so
    LoadModule extfiltermodule libexec/apache2/modextfilter.so
    LoadModule include_module libexec/apache2/mod_include.so
    LoadModule filter_module libexec/apache2/mod_filter.so
    LoadModule substitute_module libexec/apache2/mod_substitute.so
    LoadModule deflate_module libexec/apache2/mod_deflate.so
    LoadModule logconfigmodule libexec/apache2/modlogconfig.so
    LoadModule logforensicmodule libexec/apache2/modlogforensic.so
    LoadModule logio_module libexec/apache2/mod_logio.so
    LoadModule env_module libexec/apache2/mod_env.so
    LoadModule mimemagicmodule libexec/apache2/modmimemagic.so
    LoadModule cernmetamodule libexec/apache2/modcernmeta.so
    LoadModule expires_module libexec/apache2/mod_expires.so
    LoadModule headers_module libexec/apache2/mod_headers.so
    LoadModule ident_module libexec/apache2/mod_ident.so
    LoadModule usertrack_module libexec/apache2/mod_usertrack.so
    #LoadModule uniqueidmodule libexec/apache2/moduniqueid.so
    LoadModule setenvif_module libexec/apache2/mod_setenvif.so
    LoadModule version_module libexec/apache2/mod_version.so
    LoadModule proxy_module libexec/apache2/mod_proxy.so
    LoadModule proxyconnectmodule libexec/apache2/modproxyconnect.so
    LoadModule proxyftpmodule libexec/apache2/modproxyftp.so
    LoadModule proxyhttpmodule libexec/apache2/modproxyhttp.so
    LoadModule proxyscgimodule libexec/apache2/modproxyscgi.so
    LoadModule proxyajpmodule libexec/apache2/modproxyajp.so
    LoadModule proxybalancermodule libexec/apache2/modproxybalancer.so
    LoadModule ssl_module libexec/apache2/mod_ssl.so
    LoadModule mime_module libexec/apache2/mod_mime.so
    LoadModule dav_module libexec/apache2/mod_dav.so
    LoadModule status_module libexec/apache2/mod_status.so
    LoadModule autoindex_module libexec/apache2/mod_autoindex.so
    LoadModule asis_module libexec/apache2/mod_asis.so
    LoadModule info_module libexec/apache2/mod_info.so
    LoadModule cgi_module libexec/apache2/mod_cgi.so
    LoadModule davfsmodule libexec/apache2/moddavfs.so
    LoadModule vhostaliasmodule libexec/apache2/modvhostalias.so
    LoadModule negotiation_module libexec/apache2/mod_negotiation.so
    LoadModule dir_module libexec/apache2/mod_dir.so
    LoadModule imagemap_module libexec/apache2/mod_imagemap.so
    LoadModule actions_module libexec/apache2/mod_actions.so
    LoadModule speling_module libexec/apache2/mod_speling.so
    LoadModule userdir_module libexec/apache2/mod_userdir.so
    LoadModule alias_module libexec/apache2/mod_alias.so
    LoadModule rewrite_module libexec/apache2/mod_rewrite.so
    LoadModule bonjour_module libexec/apache2/mod_bonjour.so
    #LoadModule php5_module libexec/apache2/libphp5.so
    #LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so
    <IfModule !mpmnetwaremodule>
    <IfModule !mpmwinntmodule>
    1. If you wish httpd to run as a different user or group, you must run
    2. httpd as root initially and it will switch.
    1. User/Group: The name (or #number) of the user/group to run httpd as.
    2. It is usually good practice to create a dedicated user and group for
    3. running httpd, as with most system services.
    User _www
    Group _www
    </IfModule>
    </IfModule>
    1. 'Main' server configuration
    1. The directives in this section set up the values used by the 'main'
    2. server, which responds to any requests that aren't handled by a
    3. <VirtualHost> definition. These values also provide defaults for
    4. any <VirtualHost> containers you may define later in the file.
    1. All of these directives may appear inside <VirtualHost> containers,
    2. in which case these default settings will be overridden for the
    3. virtual host being defined.
    1. ServerAdmin: Your address, where problems with the server should be
    2. e-mailed. This address appears on some server-generated pages, such
    3. as error documents. e.g. [email protected]
    ServerAdmin [email protected]
    1. ServerName gives the name and port that the server uses to identify itself.
    2. This can often be determined automatically, but we recommend you specify
    3. it explicitly to prevent problems during startup.
    1. If your host doesn't have a registered DNS name, enter its IP address here.
    #ServerName www.example.com:80
    1. DocumentRoot: The directory out of which you will serve your
    2. documents. By default, all requests are taken from this directory, but
    3. symbolic links and aliases may be used to point to other locations.
    DocumentRoot "/Library/WebServer/Documents"
    1. Each directory to which Apache has access can be configured with respect
    2. to which services and features are allowed and/or disabled in that
    3. directory (and its subdirectories).
    1. First, we configure the "default" to be a very restrictive set of
    2. features.
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Allow from all
    </Directory>
    1. Note that from this point forward you must specifically allow
    2. particular features to be enabled - so if something's not working as
    3. you might expect, make sure that you have specifically enabled it
    4. below.
    1. This should be changed to whatever you set DocumentRoot to.
    <Directory "/Library/WebServer/Documents">
    1. Possible values for the Options directive are "None", "All",
    2. or any combination of:
    3. Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    1. Note that "MultiViews" must be named explicitly --- "Options All"
    2. doesn't give it to you.
    1. The Options directive is both complicated and important. Please see
    2. http://httpd.apache.org/docs/2.2/mod/core.html#options
    3. for more information.
    Options Indexes FollowSymLinks MultiViews
    1. AllowOverride controls what directives may be placed in .htaccess files.
    2. It can be "All", "None", or any combination of the keywords:
    3. Options FileInfo AuthConfig Limit
    AllowOverride None
    1. Controls who can get stuff from this server.
    Order allow,deny
    Allow from all
    </Directory>
    1. DirectoryIndex: sets the file that Apache will serve if a directory
    2. is requested.
    <IfModule dir_module>
    DirectoryIndex index.php index.html
    </IfModule>
    1. The following lines prevent .htaccess and .htpasswd files from being
    2. viewed by Web clients.
    <FilesMatch "^\.(HhTt|DdSs_Ss)">
    Order allow,deny
    Deny from all
    Satisfy All
    </FilesMatch>
    1. Apple specific filesystem protection.
    <Files "rsrc">
    Order allow,deny
    Deny from all
    Satisfy All
    </Files>
    <DirectoryMatch ".*\.\.namedfork">
    Order allow,deny
    Deny from all
    Satisfy All
    </DirectoryMatch>
    1. ErrorLog: The location of the error log file.
    2. If you do not specify an ErrorLog directive within a <VirtualHost>
    3. container, error messages relating to that virtual host will be
    4. logged here. If you do define an error logfile for a <VirtualHost>
    5. container, that host's errors will be logged there and not here.
    ErrorLog "/private/var/log/apache2/error_log"
    1. LogLevel: Control the number of messages logged to the error_log.
    2. Possible values include: debug, info, notice, warn, error, crit,
    3. alert, emerg.
    LogLevel warn
    <IfModule logconfigmodule>
    1. The following directives define some format nicknames for use with
    2. a CustomLog directive (see below).
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    <IfModule logio_module>
    1. You need to enable mod_logio.c to use %I and %O
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>
    1. The location and format of the access logfile (Common Logfile Format).
    2. If you do not define any access logfiles within a <VirtualHost>
    1. container, they will be logged here. Contrariwise, if you do
    2. define per-<VirtualHost> access logfiles, transactions will be
    3. logged therein and not in this file.
    CustomLog "/private/var/log/apache2/access_log" common
    1. If you prefer a logfile with access, agent, and referer information
    2. (Combined Logfile Format) you can use the following directive.
    #CustomLog "/private/var/log/apache2/access_log" combined
    </IfModule>
    <IfModule alias_module>
    1. Redirect: Allows you to tell clients about documents that used to
    2. exist in your server's namespace, but do not anymore. The client
    3. will make a new request for the document at its new location.
    4. Example:
    5. Redirect permanent /foo http://www.example.com/bar
    1. Alias: Maps web paths into filesystem paths and is used to
    2. access content that does not live under the DocumentRoot.
    3. Example:
    4. Alias /webpath /full/filesystem/path
    1. If you include a trailing / on /webpath then the server will
    2. require it to be present in the URL. You will also likely
    3. need to provide a <Directory> section to allow access to
    4. the filesystem path.
    1. ScriptAlias: This controls which directories contain server scripts.
    2. ScriptAliases are essentially the same as Aliases, except that
    3. documents in the target directory are treated as applications and
    4. run by the server when requested rather than as documents sent to the
    5. client. The same rules about trailing "/" apply to ScriptAlias
    6. directives as to Alias.
    ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/WebServer/CGI-Executables/$1"
    </IfModule>
    <IfModule cgid_module>
    1. ScriptSock: On threaded servers, designate the path to the UNIX
    2. socket used to communicate with the CGI daemon of mod_cgid.
    #Scriptsock /private/var/run/cgisock
    </IfModule>
    1. "/Library/WebServer/CGI-Executables" should be changed to whatever your ScriptAliased
    2. CGI directory exists, if you have that configured.
    <Directory "/Library/WebServer/CGI-Executables">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>
    1. DefaultType: the default MIME type the server will use for a document
    2. if it cannot otherwise determine one, such as from filename extensions.
    3. If your server contains mostly text or HTML documents, "text/plain" is
    4. a good value. If most of your content is binary, such as applications
    5. or images, you may want to use "application/octet-stream" instead to
    6. keep browsers from trying to display binary files as though they are
    7. text.
    DefaultType text/plain
    <IfModule mime_module>
    1. TypesConfig points to the file containing the list of mappings from
    2. filename extension to MIME-type.
    TypesConfig /private/etc/apache2/mime.types
    1. AddType allows you to add to or override the MIME configuration
    2. file specified in TypesConfig for specific file types.
    #AddType application/x-gzip .tgz
    1. AddEncoding allows you to have certain browsers uncompress
    2. information on the fly. Note: Not all browsers support this.
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    1. If the AddEncoding directives above are commented-out, then you
    2. probably should define those extensions to indicate media types:
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    1. AddHandler allows you to map certain file extensions to "handlers":
    2. actions unrelated to filetype. These can be either built into the server
    3. or added with the Action directive (see below)
    1. To use CGI scripts outside of ScriptAliased directories:
    2. (You will also need to add "ExecCGI" to the "Options" directive.)
    #AddHandler cgi-script .cgi
    1. For type maps (negotiated resources):
    #AddHandler type-map var
    1. Filters allow you to process content before it is sent to the client.
    1. To parse .shtml files for server-side includes (SSI):
    2. (You will also need to add "Includes" to the "Options" directive.)
    #AddType text/html .shtml
    #AddOutputFilter INCLUDES .shtml
    </IfModule>
    1. The modmimemagic module allows the server to use various hints from the
    2. contents of the file itself to determine its type. The MIMEMagicFile
    3. directive tells the module where the hint definitions are located.
    #MIMEMagicFile /private/etc/apache2/magic
    1. Customizable error responses come in three flavors:
    2. 1) plain text 2) local redirects 3) external redirects
    1. Some examples:
    #ErrorDocument 500 "The server made a boo boo."
    #ErrorDocument 404 /missing.html
    #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
    #ErrorDocument 402 http://www.example.com/subscription_info.html
    1. EnableMMAP and EnableSendfile: On systems that support it,
    2. memory-mapping or the sendfile syscall is used to deliver
    3. files. This usually improves server performance, but must
    1. be turned off when serving from networked-mounted
    2. filesystems or if support for these functions is otherwise
    3. broken on your system.
    #EnableMMAP off
    #EnableSendfile off
    1. 6894961
    TraceEnable off
    1. Supplemental configuration
    1. The configuration files in the /private/etc/apache2/extra/ directory can be
    2. included to add extra features or to modify the default configuration of
    3. the server, or you may simply copy their contents here and change as
    4. necessary.
    1. Server-pool management (MPM specific)
    Include /private/etc/apache2/extra/httpd-mpm.conf
    1. Multi-language error messages
    #Include /private/etc/apache2/extra/httpd-multilang-errordoc.conf
    1. Fancy directory listings
    Include /private/etc/apache2/extra/httpd-autoindex.conf
    1. Language settings
    Include /private/etc/apache2/extra/httpd-languages.conf
    1. User home directories
    Include /private/etc/apache2/extra/httpd-userdir.conf
    1. Real-time info on requests and configuration
    #Include /private/etc/apache2/extra/httpd-info.conf
    1. Virtual hosts
    Include /private/etc/apache2/extra/httpd-vhosts.conf
    1. Local access to the Apache HTTP Server Manual
    Include /private/etc/apache2/extra/httpd-manual.conf
    1. Distributed authoring and versioning (WebDAV)
    #Include /private/etc/apache2/extra/httpd-dav.conf
    1. Various default settings
    #Include /private/etc/apache2/extra/httpd-default.conf
    1. Secure (SSL/TLS) connections
    #Include /private/etc/apache2/extra/httpd-ssl.conf
    1. Note: The following must must be present to support
    2. starting without SSL on platforms with no /dev/random equivalent
    3. but a statically compiled-in mod_ssl.
    <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    </IfModule>
    Include /private/etc/apache2/other/*.conf
    Also, this is the error when i run configtest :
    sgiri:~ sgiri$ /usr/sbin/apachectl configtest
    Warning: DocumentRoot [/usr/docs/dummy-host.example.com] does not exist
    Warning: DocumentRoot [/usr/docs/dummy-host2.example.com] does not exist
    Syntax OK
    Please help me.
    Thanks in advance.

    Thanks Camelot.
    This is the error_log:
    [Thu Sep 16 09:16:42 2010] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
    [Thu Sep 16 09:16:42 2010] [notice] Digest: generating secret for digest authentication ...
    [Thu Sep 16 09:16:42 2010] [notice] Digest: done
    [Thu Sep 16 09:16:42 2010] [notice] Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2 configured -- resuming normal operations
    [Thu Sep 16 14:44:29 2010] [notice] caught SIGTERM, shutting down
    [Thu Sep 16 16:36:01 2010] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
    httpd: aprsockaddr_infoget() failed for Sagar-Giris-MacBook-Pro.local
    httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    [Thu Sep 16 16:36:02 2010] [notice] Digest: generating secret for digest authentication ...
    [Thu Sep 16 16:36:02 2010] [notice] Digest: done
    [Thu Sep 16 16:36:02 2010] [notice] Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2 configured -- resuming normal operations
    [Thu Sep 16 20:31:24 2010] [notice] caught SIGTERM, shutting down
    [Fri Sep 17 00:38:18 2010] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
    httpd: Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName
    "error_log" [readonly] 1325L, 170941C
    This is the error in access_log:
    )VwDiI300-_parent_is_not_the_page_we_want_to_write_into_-_different_domain,_exception=Err or:Permission_denied_for%3Chttp://cats.about.com%3E_(document.domain=%3Chttp://cats.about.com%3E)to_get_property_Location.hostname_from%3Chttp://ad.doubleclick.net%3E_(document.domainhas_not_beenset). HTTP/1.1" 404 205
    "access_log" [readonly] 150L, 17809C

  • Statement Not Accessible for a FM

    Hi i am getting Statement not accessible syntax error at the Call Function Statement,(bold line) for the following code. Can somebody clarify me why this is happening. Thanks in advance.
    PROGRAM ZHR_FEATURE_RLPGR .
    TABLES : PERNR.
    TABLES : T74HG,  PSKEY, T5UB3, T5UB9, T5UBT, T5UBA .
    infotypes:0001,0021.
    CALL FUNCTION 'EXIT_SAPLHRBEN00FEATURE_029'    
      EXPORTING
        _PERNR                 = PSKEY-PERNR
        _BEGDA                 = PSKEY-BEGDA
        _ENDDA                 = PSKEY-ENDDA
        _BAREA                 = T5UB3-BAREA
        _BENGR                 = T5UBT-BENGR
        _BSTAT                 = T5UB9-BSTAT
        _BPLAN                 = T5UBA-BPLAN
        _SUBTY                 = PSKEY-SUBTY
        _OBJPS                 = PSKEY-OBJPS
    IMPORTING
       _RLPGR                  = T74HG-RLPGR
       EXCEPTIONS
       EVALUATE_FEATURE       = 1
       CUSTOMER_ERROR         = 2
       OTHERS                 = 3

    Hi,
    Try with as below.
    CALL FUNCTION 'EXIT_SAPLHRBEN00FEATURE_029'
      EXPORTING
        _pernr                 =
        _begda                 =
        _endda                 =
        _barea                 =
        _bengr                 =
        _bstat                 =
        _bplan                 =
        _subty                 =
        _objps                 =
        iscobra              =
        _nontx                 =
    IMPORTING
      _RLPGR                 =
    EXCEPTIONS
      EVALUATE_FEATURE       = 1
      CUSTOMER_ERROR         = 2
      OTHERS                 = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Ram.

  • Syntax error in program RK2CIDEA, include RK2CIDEA, line 5614

    Dear All
    Good Evening!
    I'm trrying to generate the operating concern in ECC5 Ides, but system is displaying following error.
    <i>"<b>Program RK2CIDEA contains a syntax error in include RK2CIDEA. The error occurred in line                                                5614. Thefollowing message describes the error."</b></i>
    I also implement  the solution of  Note 778704 - Syntax error in generated report RK2CXXXX.
    but still system displaying the same error.
    operating conceren " IDEA" is Red ( No Active)
    Please guide me!
    Thanks

    Good Evening!
    Thanks for reply!
    I implement the solution of "778704" , but function module that is given in this solution giving me return code "8" ( export Prameter subrc = 8)
    also I implement the solution of Note 143557 - Line item list: Integration FI/CO document. but still having the same problem.
    <b>Syntax error in program RK2CIDEA  " Field "CE0S001" is unknown"</b>
    Any advise more......
    Thanks

  • Lost syntax highlight in Vim after upgrade

    I don't know why, but Vim is not enabling syntax highlight anymore after the upgrade from 7.1.12-1 to 7.1.63-1. I've already searched in Vim's website and with ':help syntax.txt' but no luck. Any guesses?
    EDITED:
    I figured out part of the problem. I've always used the syntax 'vi filename' to open my files because I knew Vi had a link to Vim. But now it's not linking anymore. Opening files with 'vim filename' gives me the syntax highlight. So I guess the last upgrade had removed the link. Any chances to have it back?
    Last edited by alexmatos (2007-08-12 14:07:06)

    I had the same problem too, but the difference is, I always use vim, but after upgrading Arch I lost syntax highlight. After googling a lot and lurking @ vim sites I finally found the indirect answer here!
    I tried the opposite and use vi to open files but bash said vi not found, I did pacman -S vi, and pac said vi is up to date, upgrade? I decided not to believe vi and upgraded, everything's back now.
    So thank you for helping without knowing.

  • I have a D7160 that have not been using for awhile. Get Error message: Oxc18a0206

    I have replaced the ink cartridges and tried all of the online troubleshooting ideas that I have found such as power off/power on. How do I get to the PC board to check the cmos battery? Any other ideas?

    TLDR
    But I did skim over some of it, and I see a big mistake repeated several times:
    "&" is the bitwise AND operator.
    "&&" is the logical AND operator.
    You've confused them, but you're using them in such a context that it's not a syntax error, so you're probably getting unexpected results. When used with booleans, it will probably work okay, although the operators will not be evaluated conditionally. But when used near ints, you've got a problem:
    Int examples:
    if (targetList.size() != 0 & inRangeList.size() != 0){
    if (actor.getX() == actorList.get(inRangeList.get(currentClosest)).getX() & actor.getY() == actorList.get(inRangeList.get(currentClosest)).getY() ){
    for (int i = 0;
                    i < inRangeList.size() &inRangeList.size() != 0;
                i++){
    if (actor.getX() == d.getWidth() & actor.getY() == d.getHeight()){
    Boolean examples:
    if (brainState.getFoodLocationFound() & actorFound){
    else if (brainState.getNestLocationFound() & actorFound){           
    else if(brainState.getFoodLocationFound() & !actorFound){Also, avoid declaring variables named "l".
    Some of those while() loops would be better rewritten as for() loops so that the loop variable will be limited in scope to the loop.

Maybe you are looking for

  • Usb sound output with integrated 100W amplif

    Hi, I would like to see a extensible USB audio device with integrated 00W amplifier. I should be able to connect for every room in my house such a device. The audi source schould not be fixed to one computer. I should be able to select different audi

  • DG4ODBC  is available for linux 64bit, but i need to buy ODBC driver??

    Hi guys, I need to connect to Microsoft SQL Server from Oracle rdbms 10.2.0.3 on linux_64bit platform and I've read that HSODBC DOES NOT AVAILABLE ON 64BIT PLATFORM. So DG4ODBC can run with Oracle Version 10.2.0.3 (patch 5965763 is mandatory) but the

  • How does opatch lsinventory works

    How does opatch lsinventory works ?

  • Grid Control  - Novice

    Hi! I just want to know how to install and test the tool called Grid Control, and if it could be possible to use this tool in order to have some kind of GUI or API to start and stop databases, services, listeners. Because we made something using unix

  • Develop for AIR 2.7

    Hello all! Some problem: how I can start develop AIR applications for version 2.7? I download AIR, AIR SDK, but what I want do with SDK? When I change application.xml to "<application xmlns="http://ns.adobe.com/air/application/2.7">", the compiler sh