Shell-Cgi on windows (Coldfusion and PERL)

I'm running SJSWS 7.o on Win Server 2003. I have configured it to work with CFMX 7 as well as shell-cgi. I require both for new development and supporting legacy PERL programs.
My problem is this. If I limit the shell-cgi to a single directory all works fine, but if I set the shell-cgi to the entire document root, the coldfusion files will not work. It should be possible to serve both file types from the same directories. Is there something I'm missing in the configuration or will I have to limit the the shell-cgi to a single directory.
Again, any help would be appreciated

That was what I originally tried to do to no avail.
By creating a shellcgi directory and modifying the <vi-s-id>conf.conf file (i.e adding - NameTrans fn="pfx2dir" from="/cgi-bin", dir="<dirpath>" name="shellcgi", which the system did not add) the perl and cgi files worked within that directory, but CF files would not and if I modified the directory to the entire document root, PERL and CGI would work, but again CF would not.
I removed the directory and made sure the cgi as file type was selected. CF worked but no cgi or perl.
I checked the mime types and there was an entry for cgi and shellcgi, but both were referencing the same file types (cgi, exe, pl). I deleted the magnus-internal/cgi mime type and everything works as it should.
Thanks for the help...
null

Similar Messages

  • CGI and Perl

    I am new to the forum and know just enough to be dangerous.
    Before I bought CS4 Design Premium, I'd been teaching myself CGI
    and Perl. I am operating on Windows XP and have the Apache Server
    and Perl on my desktop for testing my website before I upload
    everything to my webserver. My webserver supports Perl.
    I have been able to create a simple form that collects my
    name and email address and, a very simple Perl script, returns the
    info to me in a new HTML page. (The purpose of which is to just
    make sure my technology is working.) When I place the .shtml file
    in my apache httdocs folder and my perl file into the apache
    cgi-bin folder, I can make it all work with
    "localhost/myfile.shtml" in my browser. In other words, I can fill
    in the form, hit submit and a new page is returned in the browser
    with the appropriate information.
    I created both these pages in Dreamweaver and just saved them
    to the appropriate locations.
    However, when I try to run the same process in Dreamweaver
    Live View, it doesn't work so well. I can get the page and fill it
    out, but when I hit submit, nothing happens.
    I have the site set up with a Test Server pointing to the
    apache/httdocs folder where I put the .shtml file. I can see the
    form in Live View with both the "use local files" and with "use the
    Test Server" options. But can't get the page to respond in either.
    Can anybody point me in the right direction for
    troubleshooting? I've been trolling the web for a couple of days
    now (including Adobe documentation) looking for the right answer. I
    don't have a separate application server on my desktop as I'm not
    looking to access a database at the moment.
    Thank you.
    decostj

    decostj wrote:
    > I thought Live View was designed to show my interactive
    pages work properly
    > right in Dreamweaver instead of going "outside" the
    program to test. Is this
    > not so?
    As long as you have a testing server correctly defined in
    your site,
    Live View shows the output of dynamic pages, such as those
    created by
    PHP, ColdFusion, or another server-side language. It also
    shows
    client-side dynamic features, such as JavaScript widgets.
    However, it's
    not a substitute for testing in a browser. Although it shows
    the output
    of a database query, it won't, for example, process user
    input and
    update the database. Nor will it take you to another page
    when you click
    a link.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS4",
    "PHP Solutions" & "PHP Object-Oriented Solutions"
    http://foundationphp.com/

  • New Platform Support for ColdFusion 10 and ColdFusion Builder 2.0.1: Windows 8 and Windows 2012 Serv

    Microsoft Windows 8 and Microsoft Windows 2012 server are now supported platforms for ColdFusion 10. The new Windows installers are available for download to all retail and licensing customers as well on the trials download page.
    The ColdFusion Builder 2.0.1 installers have also been updated to support Windows 8. The existing MAC OS X installer for ColdFusion Builder 2.0.1 has also been certified to now support MAC OS X 10.8.
    Refer this technote for more details about the support.

    @Adam @CarlV
    >what's the version number when you dump the server scope?
    ColdFusion Server - Evaluation 10,0,8,284032
    OK I see, the I button reports differently to Settings Summary.
    About ColdFusion »
    System Information 
    Server Details 
    Server Product  ColdFusion 
    Version  10,0,8,284032 
    Tomcat Version  7.0.23.0 
    Edition  Enterprise (Trial)   
    Serial Number    
    Operating System  Windows Server 2012   
    OS Version  6.2   
    Update Level  /D:/ColdFusion10/cfusion/lib/updates/chf10000008.jar   
    Server Settings > Settings Summary
    System Information 
    Server Details 
    Server Product  ColdFusion 
    Version  ColdFusion 10,284032 
    Edition  Enterprise (Trial)   
    Operating System  Windows Server 2012   
    OS Version  6.2   
    Update Level  /D:/ColdFusion10/cfusion/lib/updates/chf10000008.jar   
    Adobe Driver Version  4.1 (Build 0001)   
    Regards Carl M.

  • OpenSSL and Perl

    I've been working on Xyne's feature requests for Pacgraph.  He thought it would be cool if there were some way to quickly explore the dependencies of stuff and how packages fit together.
    Here's an interesting relationship:  OpenSSL and Perl.  If you chase OpenSSL's deps all the way down to glibc, you'll find it needs 135Mb.  The single biggest dep is Perl, at 38Mb.  I would hope Perl is important to its function.
    Searching the net found a Gentoo bug report about this.  It was closed as CantFix because "the stupid build system uses perl".  As a binary distro, it sounds like Perl should be a makedep.  (Assuming the build system is unchanged.  The bug report was from 5 years ago.)
    Searching "pacman -Ql openssl" reveals exactly one Perl script:  /etc/ssl/misc/CA.pl and it's associated manpage.  Also present is a shell script (/etc/ssl/misc/CA.sh) which does the same thing (but does not have a manpage).
    Is there any reason to have a Perl dependency for just this one duplicated script?  Am I missing something?  I know tweaks to OpenSSL  should not be taken lightly, we would not want to end up like Debian.

    They removed a portion of the PRNG to make it debugger friendly.  This broke the keygen for Debian/Ubuntu/friends.  Here is a more detailed summary of the Debian mess: http://www.links.org/?p=328
    From CA.pl's manpage:
    The CA.pl script is a perl script that supplies the relevant command line arguments to the openssl command for some common certificate operations.  It is intended to simplify the process of certificate creation and management by the use of some simple options.
    Personally, I've never used it for creating certs.  I've never seen it referenced in any SSL tutorial or guide.  Beyond the man page, it is mentioned once on OpenSSL's site.
    http://rt.openssl.org/Ticket/Display.ht … pass=guest
    The dev's say the Perl script is only there for systems lacking Bash, mainly just Windows.  Do we need this dependency just for Window's sake?
    Last edited by keenerd (2009-06-01 01:36:06)

  • OCIEnvNLSCreate using Cygwin and Perl

    Hi
    I have Cygwin 1.5.25 installed with Oracle 10g Client on Windows XP Professional. I have installed DBD::Oracle (1.21) and Perl 5.8
    Here is my environment
    ORACLE_HOME C:\oracle\product\10.2.0\client_2
    LD_LIBRARY_PATH %ORACLE_HOME%\bin
    TNS_ADMIN %ORACLE_HOME%\NETWORK\ADMIN\tnsnames.ora
    NLS_LANG AMERICA_AMERICA.WE8DEC
    ORACLE_SID CBDEV
    TWO_TASK CBDEV (available in tnsnames.ora)
    ORA_NLS10 C:\oracle\product\10.2.0\client_2\nls\data
    SQLPLUS %ORACLE_HOME%\BIN
    Cygwin picks up all the above variables at startup
    sqlplus <uname/passwd>@CBDEV also works from the cygwin shell
    However below script, which uses Perl DBI to connect to same database to retrieve data fails with error posted below.
    I googled for this error and from all posted threads, changed permissions on ORACLE_HOME/BIN and ORACLE_HOME/LIB. Also did the same for entire ORACLE_HOME directory
    ANY input would be appreciated. I did not find a separate forum for Perl, hence posted on this forum!!
    Thanks
    #!/usr/bin/perl
    use strict;
    use DBI;
    print "Getting Data\n";
    my $RefHash = &getData();
    $ENV{ORACLE_SID} = "CBDEV";
    $ENV{ORACLE_HOME} = "/oracle/product/10.2.0/client_2";
    $ENV{NLS_LANG} = "AMERICAN_AMERICA.WE8DEC";
    $ENV{ORA_NLS} = $ENV{ORACLE_HOME}."/ocommon/nls/admin/data";
    $ENV{LD_LIBRARY_PATH} = $ENV{ORACLE_HOME}."/lib";
    $ENV{ORA_NLS10} = '/oracle/product/10.2.0/client_2/nls/data';
    sub getData() {
    my($name, $id, $phylocId);
    my %RefHash;
    my $dbh = DBI->connect('DBI:Oracle:CBDEV', '<uname>', '<passwd>') || die "Error ".DBI->errstr;
    my $sql = qq(SELECT 'name' from DUAL);
    my $sth = $dbh->prepare($sql);
    $sth->execute();
    $sth->bind_columns(\$name);
    while($sth->fetch()) {
    $name=~s/\s+//g;
    $RefHash{$name}='1';
         print "Name : $name ", $RefHash{$name}, "\n";
    return \%RefHash;
    exit;
    Output of Perl -V
    Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
    Platform:
    osname=cygwin, osvers=1.5.24(0.15642), archname=cygwin-thread-multi-64int
    uname='cygwin_nt-5.1 reini 1.5.24(0.15642) 2007-01-31 10:57 i686 cygwin '
    config_args='-de -Dmksymlinks -Duse64bitint -Dusethreads -Uusemymalloc -Doptimize=-O3 -Dman3ext=3pm -Dusesitecustomize -Dusedevel'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
    Compiler:
    cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -Wdeclaration-after-statement',
    optimize='-O3',
    cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -Wdeclaration-after-statement'
    ccversion='', gccversion='3.4.4 (cygming special, gdc 0.12, using dmd 0.125)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
    Linker and Libraries:
    ld='ld2', ldflags =' -s -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib /lib
    libs=-lgdbm -ldb -ldl -lcrypt -lgdbm_compat
    perllibs=-ldl -lcrypt -lgdbm_compat
    libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a
    gnulibc_version=''
    Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
    cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'
    Characteristics of this binary (from libperl):
    Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
    PERL_MALLOC_WRAP PERL_USE_SAFE_PUTENV
    USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
    USE_PERLIO USE_REENTRANT_API USE_SITECUSTOMIZE
    Locally applied patches:
    CYG01 - hints.cygwin.sh ldflags -s
    CYG02 - lib-ExtUtils-Embed insensitive against leading \s
    CYG03 - lib-Test-Harness-Straps $ENV{PERL5LIB} = ''
    CYG04 - major.version.cygwin.sh cygperl-5_8.dll and not cygperl-5_8_x.dll
    CYG05 - add Win32CORE to core
    CYG07 - File-Spec-Cygwin-TMPDIR.patch
    Bug#38628 - allow legacy Cwd->cwd()
    Bug#40103 - File-Spec-case_tolerant.patch from 5.9.5
    Built under cygwin
    Compiled at Jul 8 2007 19:12:08
    %ENV:
    PERL5LIB=
    /usr/lib/perl5/5.8/cygwin
    /usr/lib/perl5/5.8
    /usr/lib/perl5/site_perl/5.8/cygwin
    /usr/lib/perl5/site_perl/5.8
    /usr/lib/perl5/site_perl/5.8
    /usr/lib/perl5/vendor_perl/5.8/cygwin
    /usr/lib/perl5/vendor_perl/5.8
    /usr/lib/perl5/vendor_perl/5.8

    Thanks for those 2 tips.
    I set TNS_ADMIN accordingly and removed calls to set the environment variables in the script.
    I still continue to encounter the OCIEnvNlsCreate error as before
    Here's the modified script and the output
    #!/usr/bin/perl
    use strict;
    use DBI;
    print "Testing DBD::Oracle \n";
    my @driver_names = DBI->available_drivers;
    foreach my $driver_name (@driver_names) {
    print $driver_name,"\n";
    foreach (DBI->data_sources($driver_name)) {
    print "*****",$_,"\n";
    my $cHash = &getCytoband();
    sub getCytoband() {
    my($name, $id, $phylocId);
    my %cytobHash;
    my $dbh = DBI->connect('DBI:Oracle:CBDEV', 'dunston', 'rocks') || die "Error ".DBI->errstr;
    my $sql = qq(SELECT distinct ID, NAME,PHYSICAL_LOCATION_ID from CYTOBAND where PHYSICAL_LOCATION_ID is NOT NULL);
    my $sth = $dbh->prepare($sql);
    $sth->execute();
    $sth->bind_columns(\$id, \$name, \$phylocId);
    while($sth->fetch()) {
    $name=~s/\s+//g;
    $id=~s/\s+//g;
    $phylocId=~s/\s+//g;
    $cytobHash{$name}=$id."|".$phylocId;
    print "Name : $name ", $cytobHash{$name}, "\n";
    return \%cytobHash;
    exit;
    ************ OUTPUT *************
    Getting Cytoband
    DBM
    *****DBI:DBM:f_dir=.cpan
    *****DBI:DBM:f_dir=.texmf
    *****DBI:DBM:f_dir=acroread
    *****DBI:DBM:f_dir=apache-ant-1.6.5
    *****DBI:DBM:f_dir=apache-ant-1.7.0-bin
    *****DBI:DBM:f_dir=AppName
    *****DBI:DBM:f_dir=autorun
    *****DBI:DBM:f_dir=caBIO
    *****DBI:DBM:f_dir=cabioApp
    *****DBI:DBM:f_dir=cygwin
    *****DBI:DBM:f_dir=dell
    *****DBI:DBM:f_dir=Documents and Settings
    *****DBI:DBM:f_dir=Downloads
    *****DBI:DBM:f_dir=drivers
    *****DBI:DBM:f_dir=httpd-2.2.8
    *****DBI:DBM:f_dir=i386
    *****DBI:DBM:f_dir=indexes
    *****DBI:DBM:f_dir=jboss-4.0.4.GA
    *****DBI:DBM:f_dir=jboss-4.0.5.GA
    *****DBI:DBM:f_dir=MSOCache
    *****DBI:DBM:f_dir=MyApp
    *****DBI:DBM:f_dir=NALCache
    *****DBI:DBM:f_dir=NOVELL
    *****DBI:DBM:f_dir=oracle
    *****DBI:DBM:f_dir=Perl
    *****DBI:DBM:f_dir=Perl-Critic-1.082
    *****DBI:DBM:f_dir=Perl-Tidy-20071205
    *****DBI:DBM:f_dir=Program Files
    *****DBI:DBM:f_dir=RECYCLER
    *****DBI:DBM:f_dir=ruby
    *****DBI:DBM:f_dir=System Volume Information
    *****DBI:DBM:f_dir=Tcl
    *****DBI:DBM:f_dir=Temp
    *****DBI:DBM:f_dir=WINDOWS
    *****DBI:DBM:f_dir=.
    ExampleP
    *****dbi:ExampleP:dir=.
    File
    *****DBI:File:f_dir=.cpan
    *****DBI:File:f_dir=.texmf
    *****DBI:File:f_dir=acroread
    *****DBI:File:f_dir=apache-ant-1.6.5
    *****DBI:File:f_dir=apache-ant-1.7.0-bin
    *****DBI:File:f_dir=AppName
    *****DBI:File:f_dir=autorun
    *****DBI:File:f_dir=caBIO
    *****DBI:File:f_dir=cabioApp
    *****DBI:File:f_dir=cygwin
    *****DBI:File:f_dir=dell
    *****DBI:File:f_dir=Documents and Settings
    *****DBI:File:f_dir=Downloads
    *****DBI:File:f_dir=drivers
    *****DBI:File:f_dir=httpd-2.2.8
    *****DBI:File:f_dir=i386
    *****DBI:File:f_dir=indexes
    *****DBI:File:f_dir=jboss-4.0.4.GA
    *****DBI:File:f_dir=jboss-4.0.5.GA
    *****DBI:File:f_dir=MSOCache
    *****DBI:File:f_dir=MyApp
    *****DBI:File:f_dir=NALCache
    *****DBI:File:f_dir=NOVELL
    *****DBI:File:f_dir=oracle
    *****DBI:File:f_dir=Perl
    *****DBI:File:f_dir=Perl-Critic-1.082
    *****DBI:File:f_dir=Perl-Tidy-20071205
    *****DBI:File:f_dir=Program Files
    *****DBI:File:f_dir=RECYCLER
    *****DBI:File:f_dir=ruby
    *****DBI:File:f_dir=System Volume Information
    *****DBI:File:f_dir=Tcl
    *****DBI:File:f_dir=Temp
    *****DBI:File:f_dir=WINDOWS
    *****DBI:File:f_dir=.
    Gofer
    Oracle
    *****dbi:Oracle:BIODEV
    *****dbi:Oracle:CADEV
    *****dbi:Oracle:CBDEV
    *****dbi:Oracle:CBTEST
    *****dbi:Oracle:CGPROD
    *****dbi:Oracle:EXTPROC_CONNECTION_DATA
    *****dbi:Oracle:LPGDEV
    *****dbi:Oracle:LPGPROD
    *****dbi:Oracle:LPG_DEV
    *****dbi:Oracle:LPG_PROD
    Proxy
    Sponge
    DBI connect('CBDEV','dunston',...) failed: ERROR OCIEnvNlsCreate. Check ORACLE_HOME env var, NLS settings, permissions, etc. at tmp.pl line 25
    Error ERROR OCIEnvNlsCreate. Check ORACLE_HOME env var, NLS settings, permissions, etc. at tmp.pl line 25.

  • PHP as CGI (Shell-CGI)

    Hi Everybody,
    I am new to Web Servers and as a Java Developer I have decided to start
    with Sun ONE Web Server 6.1SP1. Till now I have been able to configure
    Servlet and JSPs' but not been able to configure PHP. As Zend enabler is
    not free I had to look for alternatives and then I found one in the PHP.net
    site, which is as follows:
    Copy the php files on your server
    Get the php zip file http://www.php.net/
    Edit php.ini-dist
    rename php.ini-dist to php.ini
    Edit php.ini : Indicate in which directory you have copied youre php files. (extension_dir = d:\php4\extensions ; directory in which the loadable extensions (modules) reside.)
    copy php.ini in youre windows directory (c:\winnt)
    Make a file association under Windows NT
    In a DOS Window (do not copy this two lines in a batch file! because of %1), type assoc .php=PHPScript
    ftype PHPScript=d:\php4\php.exe %1 %*
    2nd step : Configuring Netscape Enterprise Server for PHP
    Specifying shell-CGI as Filetype
    Due to a bug of the Nestcape/iPlanet administration console,
    you have to create a dummy shell-cgi directory (for ex:/dummy maps c:/temp)
    Remove it just after, (it will create 4 lines in obj.conf)
    If you don't do that you will get (no way to service request in the netscape error log)
    First Activate CGI as a file type
    From the Server Manager of NES 3.6.x, choose Programs|CGI File Type and Set the Radio Group to 'YES'
    Click here for screenshot
    From the Server Manager of NES 3.6.x, choose Server Preferences|MIME Types.
    On the MIME Types page, add a new MIME type.
    Set the Type field to type, and the content type to magnus-internal/shellcgi
    In the File Suffix field, enter php Click here for screenshot
    Test the 2nd step
    Put the test.php file in the document root of your server
    Then type http://server/test.php
    If you can see "nothing to write" in your browser then it works!
    But after doing all these works yet PHP program does not work. I am using Windows XP &
    PHP 4.3.4. My queries are:
    1. Is it possible to configure Sun ONE Web Server in this way?
    2. If so then what went wrong?
    3. If not then someone please tell how it can be done?
    Waiting for the reply and THANKS in advance for your assistance.

    I am also getting the same log when I am configuring php on sun one webserver 6.1 sp8 as CGI.
    But as for fastcgi I am getting the below log
    [10/Aug/2007:14:26:32] info ( 2656): CORE1116: Sun ONE Web Server 6.1SP8 B06/14/2007 11:35 [10/Aug/2007:14:26:32] info ( 2656): FCGI1000: Sun ONE Web Server 6.1SP5 FastCGI NSAPI Plugin B06/29/2005 06:03 [10/Aug/2007:14:26:32] info ( 2656): CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.5.0_06] from [Sun Microsystems Inc.] [10/Aug/2007:14:26:32] info ( 2656): WEB0100: Loading web module in virtual server [https-cgi.com] at [search] [10/Aug/2007:14:26:34] info ( 2656): HTTP3072: [LS ls1] http://dev1:7001 ready to accept requests [10/Aug/2007:14:26:34] info ( 2656): CORE3274: successful server startup
    [10/Aug/2007:15:05:24] warning ( 2656): for host 10.129.149.193 trying to GET /fcgi/php, send-file reports: HTTP4142: can't find C:/Sun/WebServer6.1/docs/fcgi/php (File not found)
    ============
    fcgi/php is the uri configured in obj.conf file
    but I am not able to execute php,if any body knows execution,please help me
    Thanks in advance

  • Error in unattend file windows 8 and 8.1 sysprep

    Hi,
    I am using MDT 2013 and ADK 8.1. I am trying to deploy Windows 8 and Windows 8.1 base image. Once the PC has finished imaging and starts the first boot it come up with the following message:
    "Windows could not parse or process the unattend answer file for pass [specialize].  The setting in the answer file cannot be applied.  The error was detected while processing settings for component [Microsoft-Windows-Shell-Setup]."
    I have not created any answer files, I think this is created automatically my MDT when you create a Task Sequence.
    I am not trying to deploy a custom image, this is the base image that was taken off the DVD and imported to MDT. When I use the DVD to install the OS it works fine but not through MDT.
    Any help will be much appreciated..
    Thanks

    Check your dism.log
    You can find it on your client: C:\Windows\Logs\DISM\dism.log
    This will tell you exactly which setting cannot be parsed.
    Cheers!
    If this post is helpful please click "Mark for answer", thanks! Kind regards

  • Apache mod_rewrite CGI Variables in ColdFusion

    I have an environment that consists of Apache 2.2.8 and ColdFusion 8 running on Solaris 10.
    I am attempting to pass a CGI variable to ColdFusion as part of an Apache Rewrite rule, however I am not able to do so.
    The Rewrite rule set exists as follows:
    RewriteCond %{SSL:SSL_PROTOCOL} ^TLSv1$
    RewriteCond %{HTTP_REFERER} !^$ [NC]
    RewriteRule ^.*$ %{HTTP_REFERER}?result=pass [L,R,E=HTTP_MYVAR:rw]
    The rule set works with the exception of the availability of the CGI variable HTTP_MYVAR within the ColdFusion CGI scope.
    I am testing for the existance of the variable within ColdFusion as follows:
    <cfif (structkeyexists(cgi, 'CGI.HTTP_MYVAR'))>
       CGI.HTTP_MYVAR exists as:<cfoutput>#CGI.HTTP_MYVAR#</cfoutput>
    <cfelse>
       CGI.HTTP_MYVAR does not exist.
    </cfif>
    Does anyone have experience creating variables in an Apache Rewrite rule set and evaluating them in ColdFusion?
    Thanks in advance for any assistance.

    OK, as part of my work-avoidance for the day, I have replicated the work I did in NZ on my other laptop.
    I put this in httpd.conf
    Alias /junk C:/webroots/junk
    <Directory "C:/webroots/junk">
        Options Indexes FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from all
        RewriteEngine  on
        RewriteBase    /junk/
        RewriteRule (.*) $1 [E=MYCUSTOMVARIABLE:mycustomvalue]
    </Directory>
    And my test code is this:
    <cfoutput>
    CGI.MYCUSTOMVARIABLE = [#CGI.MYCUSTOMVARIABLE#]<br />
    </cfoutput>
    I restart Apache, run the template, and I get this:
    CGI.MYCUSTOMVARIABLE = [mycustomvalue]
    How does this differ from what you're doing?
    Adam

  • Windows 7 and XP Disable wireless when connected to hot wired

    Hello there,
    We are facing IP address shortage due to redundant network connections from laptops because every laptop uses two IP address when connected to wireless network and hard wire. Does Windows 7 and XP natively has the options to disable wireless when a laptop
    is connected to hard wired? I know the wireless can easily disabled by manual process but problem is user don't have the knowledge or don't bother to do that. So if there is a way to use GPO to configure this would be ideal -- no 3rd party solution please.
    Any suggestion is most welcomed.
    Thanks,
    TL

    There are no Fail proof ways for Win 7 or 8 to make sure that AT ALL times Wire is used over WIFI. The metric setting is ignored by MS. I know cause my metric for the wired is 10 and for the WiFi is 9999, but at all times the WiFi is used instead of the
    Wired. This is by design as Microsoft being as inept as always did not properly design their operating system. This is a DESIGN DEFECT, which Microsoft will not admit to, despite the fact that it could be caused by no other method EXCEPT incompetent design,
    ignored during quality assurance testing etc. The reason there are a million people looking for a fix for this design flaw is that there is NO fix available. MS will not fix it as they got your money and could care less. Being that they are among the most
    evil and greedy companies currently in business is why it will never be fixed. I dare them to prove me wrong and fix the obvious design defect. I double dare all who read this to log in to the MS tech net and demand that they fix this DESIGN DEFECT.
    Any developer qualified to design an OS should have no problem permanently fixing this and Microsoft has NO EXCUSE for not doing so with an update!!!!!! All they have to do in the code logic is ask the system if the device getting an IP etc is using a "radio"
    then it asks all the other devices that are getting or have gotten an IP if it was gotten via a radio, If during any of these quires the answer is I DID NOT get my IP from a radio connection then that IP path gets priority and all the others, IE WiFi gets
    disabled. Then if there is a change in the network, loss of connectivity for example, the process is repeated and when everything say's it got its IP from a radio then the WiFi takes over. So in a nut shell every connection is looked at to see if it is from
    a radio based device or a hardwired based device, NOT using metrics since that apparently can not be counted on, the prof is in the 500+ PCs I just setup, ALL OF WHICH GIVE A SIGNIFICANTLY LOWER METRIC TO THE WIRED, but still choose the WIFi. The order of
    the connection establishment should not matter since the test is performed on every connection and as soon as one is found that is not radio based, it is left on and all others are turned off. Common sense really. This is NOT ROCKET science! Just good common
    sense programing.
    So I challenge everyone who reads this comment to add a demand for MS to fix the DESIGN DEFECT once and for all.
    That's all I have to say. If there is a script as some of the suggestions here mention that can do it, if there is a single 3rd party product out there that can do it, then there is NO EXCUSE for MS not to provide a PERMANENT OFFICIAL MICROSOFT CERTIFIED
    FREE fix for this DEFECT. And yes it can only be classified as a DESIGN DEFECT as common sense say's you would AT NO time under normal operations EVER want the MUCH slower WiFi, 100 mbps  compared to 1000 mbps for wired to be in charge. EVER! Even if
    the wired nic is only 100 mbps, some cheep junk laptops have the indecency to come with a 100 mbps nic instead of a Gigabit, the Wired is still better 99.99999% of the time.
    And one last thing this IS THE ONLY REAL ACCEPTABLE ANSWER to the original question, and all the others just like it who EXPECT, with GOOD REASON, that COMMON SENSE, would be in charge NOT ignorance and defective designs, and that AT ALL TIME WIRED RULES
    OVER WIFI.
    Hope this helps, it is time to insist that MS do their job AND FIX THE DESIGN DEFECT!!!!!!!!!
    Ralph
    PS Not all systems have switches on the outside for disabling the WiFi. My HPs don't and trying to train all the users on how to MANUALLY disable it and when to do so etc is like trying heard flock of sparrows, it's not happening, NOR SHOULD IT NEED TO!

  • How to restrict users working on Windows 7 clients from accessing Windows Explorer and other systems in the network through Group Policy with a domain controller running on Windows Server 2008 r2

    Dear All,
    We are having an infrastructure setup of around 500 client computers managed through group policy.
    Recently the domain controllers have been migrated from Windows Server 2003 to Server 2008 R2.
    Since this account requires extremely strict environment, we need to figure the solution for restricting the users from access anything locally.
    It would be great if you can assist me with the following query.
    How to restrict users logged on Windows 7 clients from accessing Windows Explorer and browsing other systems in the network through Group Policy with a domain controller running on Windows Server 2008 r2 ?
    Can we disable Network Tab on the left hand pane ?
    explorer.exe is blocked already, but users are able to enter the Windows Explorer by clicking on the name which is visible on the Start Menu.

    >   * explorer.exe is blocked already, but users are able to enter the
    >     Windows Explorer by clicking on the name which is visible on the
    >     Start Menu.
    You cannot block explorer.exe when you do not replace the shell - the
    desktop you see effectively IS explorer.exe...
    Your requirement sounds like you need a custom shell:
    http://gpsearch.azurewebsites.net/#2812
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • Windows 8.1 need help with Windows Updates and Start menu Or fix my old Windows Xp system

    My beloved windows Xp has gave up after many years of working well. It stopped working a few days ago after a lightening strike.
    I got this Windows 8.1 computer a few month ago  but it seems to have a problem. I stopped using it after could not get start menu to work and when back to my Windows XP system.
    First problem is the start menu is not there. I tried installing something and it says it will take control or something and screen goes black. I clicked canceled quickly in order not to get a virus.
    Where is the start menu?
    Second problem, Windows updates does not want to update because it needs Windows 8.1 update. This computer is already Windows 8.1. There I canceled it since it was mostly a virus. Now updates are not working.
    If those can not be fixed, how can i fix my Windows Xp to get it back. It does not turn on, I press button and nothing happens. Is this something easy to fix?

    Another user discovers that Windows 8.1 is not at all of what it should be.
    There is no Start Menu in Windows 8 or 8.1.  However, you can restore your desktop start menu with a very good freeware application: 
    Classic Shell
    Windows Update comes with Windows 8.1.  There is nothing special you have to do.
    It kind of sounds like you've been a bit too quick to download and run whatever you find on the Internet.  You should always research any software you're considering downloading/installing ahead of time.  Google it.  See what others say
    about it.  Ask on forums.  In order to use Windows effectively and safely you need to expand your knowledge and become a more sophisticated user.
    If you think your new system has become infected, you might want to consider Refreshing or Resetting it to a clean state, or at least visiting one of the anti-malware forums and getting some advice on cleaning it up.  But beware, a lot
    of "blind leading the blind" happens on forums.  Always try to read between the lines, and question what people say.
    You could consider leaving XP behind.  Its time has come and gone, and pretty much any newer version of Windows can actually give you better service than XP - once you get it tuned up.
    It's possible to make Windows 8.1 more functional than XP and about as functional as Windows 7, but it takes a fair bit of effort in reconfiguration and installation of some well-known 3rd party applications that are good (which, unfortunately, most
    on the internet are not).
    Good luck to you.
    -Noel
    Detailed how-to in my eBooks:  
    Configure The Windows 7 "To Work" Options
    Configure The Windows 8 "To Work" Options

  • Can I load Acrobat Pro 6 onto Windows 7 and upgrade to Acrobat Pro 9?

    Can I load Acrobat Pro 6 onto Windows 7 and upgrade to Acrobat Pro 9?  My former PC ran on Windows XP and this new PC runs on Windows 7.  I don't want to shell out another $449 when Acrobat Pro 9 worked fine for me.

    You might be able to install Acrobat 6 for this purpose, but you probably won't have to. When you install Acrobat 9 Upgrade it should (if I remember right) ask for the serial number of your "qualifying" product and at that point you put in the Acrobat 6 serial.

  • Using Windows 7 and Firefox 10.0.2, at random times all home page images "disappear" when switching between web sites. Page layout on some web sites is lost. Requires removing and downloading Firefox to restore. Any ideas?

    I have recently (6 months ago) purchased and use an HP Pavilion desktop with Windows 7. At times, when especially active (several windows open) and switching between windows or using links to connect with another web page, all the images on the home home page "disappear", that is to say there is space, but no image, as if the page did not load correctly. When this happens, pages other than the home page also do not display images.
    Same pages display correctly in Explorer whenever this happens.

    Hi
    Can you please try setting up full persmission in the security properties for everyone on the wsconfig folder C:\ColdFusion10\config\wsconfig  and restart ColdFusion Server.
    Swaraj

  • Slight roadblock in "DW 8 with ASP, ColdFusion, and PHP: Training from the Source"

    I'm working my way through Dreamweaver 8 with ASP,
    ColdFusion, and PHP:
    Training from the Source. I've come to the middle of Lesson 6
    and have hit
    my first obstacle in learning PHP. I'm following the
    instructions to format
    the output of the tour price calculator, but my issue is with
    where to place
    the following PHP code: <?php setlocale(LC_MONETARY,
    'en_US'); echo
    money_format('%i', $tourPrice); ?>
    I placed it before the DOCTYPE and when that didn't work, I
    tried inserting
    right before the code that retrieves the tour price (in the
    body of the
    page). That didn't work either.
    I also tried changing money_format to number_format and
    manually inserting
    the $, but when I tested everything, the output printed as
    follows:
    The estimated cost of your tour is
    $0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000500.
    I'm not quite sure where I've gone wrong.
    Thanks for any help,
    Heather

    Coach Bob wrote:
    > David,
    >
    > I would like to understand better your comment about the
    money_format. The
    > ability to use it is dependent on the host system's
    support of the C library
    > function strfmon(), correct? So if a user were
    developing on a windows box with
    > a local WAMP install it would not work while it may work
    on their *nix-based
    > Web host?
    Check the PHP documentation - it tells you all you need to
    know:
    http://www.php.net/manual/en/function.money-format.php
    > I will see to it that it gets corrected in the next
    version of the book!
    I've no idea what relationship you have with "Training from
    the Source",
    but I find it interesting - to say the least - that you need
    to the ask
    the author of a rival book.
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • ColdFusion and MS SQL Server 2005 Enterprise Edition

    Trying to get ColdFusion (Developers Edition) to communicate
    with MS SQL Server 2005 (Enterprise Edition). I have ColdFusion
    running on username = admin; password = as set up when installed.
    Have also tried setting up a user account with my Windows desktop
    username and password in case ColdFusion needed to be logged on as
    the same user as the SQL server. I have full admin permissions on
    the SQL Server (with Windows authentication), and am the database
    "owner" of the database on the server. In either ColdFusion login
    case, when I try to "add a data source", with driver = Microsift
    SQL Server, I get.....
    Connection verification failed for data source: CFtoVolcano
    java.sql.SQLException: [Macromedia][SQLServer JDBC
    Driver][SQLServer]Login failed for user 'kewing'.
    The root cause was that: java.sql.SQLException:
    [Macromedia][SQLServer JDBC Driver][SQLServer]Login failed for user
    'kewing'.
    Went to help files (troubleshooting area) and verified that
    the local web browser (IIS) and Cold Fusion ARE running. Next step
    takes me to "Change ColdFusion user account" which starts with
    "Open Control Panel and select ColdFusion 8 App Server and click
    Startup". I don't see that choice in MyComputer/ControlPanel. Not
    even sure if this is going to ba another dead end anyway!!!
    HELP! This shouldn't be this difficult! I'm not using some
    weird version of SQL!

    To use the default SQL drivers bundled with CF you need to
    use SQL authentication (which is disabled by default I think) in
    SQL Server 2005. If you enable SQL (mixed mode) authentication and
    create a user you can then add the data source in the CF admin.
    Alternatively, in order to use integrated windows
    authentication with SQL server your CF service needs to run as
    specific user. (It sounds like you've already done this) and you
    will need to use Microsoft's JDBC driver
    Driver download (MS JDBC Driver)
    http://www.microsoft.com/downloads/details.aspx?familyid=C47053EB-3B64-4794-950D-81E1EC91C 1BA&displaylang=en
    Connecting with Integrated authentication (MS JDBC Driver)
    http://msdn2.microsoft.com/en-us/library/ms378428.aspx#Connectingintegrated

Maybe you are looking for

  • Help, Mac Pro wouldn't start now stuck on grey screen

    Hi, My Mac Pro computer wouldn't start up properly. Sometimes I would press the button 30 times and still it wouldn't start. I have taken it to a Authorised Apple shop and first of all had a new graphics board replaced. A week later the same problem,

  • Content Conversion Doubt

    Hi Experts I need to do content conversion in the sender file adapter for the following Data type Dt_Details > X >Y (Subelement of X) >Z (Subelement of Y) > A >B >C My doubt is that is it possible to to do content conversion for a structure that has

  • Mail notifications not working in Notification Centre iOS5

    Hi I am using an iPhone 4 and recently updated to iOS5. Most of my notifications in the new Notification Centre work fine, except my Mail. Whenever I send a test email, it never pops up as a banner at the top of the screen, as it would like an ordina

  • BW Reporting and R/3 Data

    Hi, I have deleted some data from a table in R/3. But when i am quering that Table in BW. I am still getting  records which are deleted from R/3. Please help me out.

  • TS3750 100 page limit on photo books

    How do we plead and beg Apple to get with the times and be more competitive with other photo book companies. The 100 page (50 sheet) limit is so 5 years ago!!!  For those of us who create large albums like an annual family yearbook, this is not enoug