How to disable coldfusion for an apache virtual host

Is it possible to disable CF on an per virutal host basis.
Because i am using a context_root of / (default for cfusion
eh), all access for images, html, even things I have setup to use
mod_proxy to go elsewhere are first run past CF. I wish it was
posible to specify file mappings in the httpd.conf but can't find a
way to do that. But i have some virtual hosts which have no need
for CF, is there any way to just shut it off?
The only thing I can think of is to remove the mod_jrun
specifications which define cf outside of the virutal host configs,
but that means a lot more specs per virutal hosts.

This might be a weird (or maybe unmanagable, because I don't
know how many sites you have) way to do it, but how about this:
since Apache has the AddHandler directive that can be used inside
VirtualHost sections, you could -not- enable the mime type
extension you use for CF by default, and then only enable it via
AddHandler on the VirtualHosts where you need CF.
That way, you'd only have one more spec per VirtualHost and
you wouldn't have to go back and change anything when you wanted to
add/remove any of them, whether they run CF or not. This is theory,
of course, but I will try it on my Linux box now and see if I can
get it to work.
&laz;

Similar Messages

  • PlsqlCGIEnvironmentList for multiple apache virtual host

    a question that's still related to the following thread
    APEX Charts - Error XML Loading falied
    APEX Charts - Error XML Loading falied
    Hi,
    I have multiple apache virtual host for my apex instance. I have trouble loading the flash chart in my virtual hosts.
    I followed the instruction on the above link, it works.
    PlsqlCGIEnvironmentList HTTP_HOST=<my friendly URL>:80
    My question is what if I have multiple virtual hosts?
    Has anyone done this before?
    Thanks.
    -Joel

    Hi Jari,
    You mean these parameter
    PlsqlCGIEnvironmentList SERVER_NAME=external.server.com
    PlsqlCGIEnvironmentList SERVER_PORT=80
    How are those different from HTTP_HOST and what if I have multiple host (virtual)?
    Cheers,
    -Joel

  • How to configure Apache Virtual Hosts?

    Hi, I was wondering, how does configure Apache virtual hosts for Mac OS X Client 10.4.5? At this time, I have added
    NameVirtualHost *:80
    <VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot /Library/WebServer/Documents/janus
    ServerName janus.php.test
    ErrorLog /private/var/log/httpd/janus.php.com-error_log
    CustomLog /private/var/log/httpd/janus.php.com-access_log common
    </VirtualHost>
    Finally, when I try to use the name in the browser, I get the following error message:
    Safari can’t find the server.
    Safari can’t open the page “http://janus.php.test/” because it can’t find the server “janus.php.test”.
    Well, I must go and thanks in advance.
    Peace,
    -Conrad

    If you want to use the fqdn you defined and can/do not want to register it as a Internet Domain you can add it to the hosts file in /etc/hosts if you are comfortable using terminal and the shell
    open a terminal
    and use the following commands
    cd /etc
    sudo vim hosts
    (you will be prompted for your password here, enter it and hit return)
    in vim scroll to the last line which will look like
    ::1 localhost
    type
    i
    (you are now in insert mode)
    type the following line
    192.168.0.15 janus.php.test
    (replace the ip address with the ip address of the host in question)
    hit Control-C
    type
    :w (vim will confirm in the last line)
    type
    :q
    you are back at the terminal
    test your new hosts file by typing
    ping janus.php.test
    Hope this helps
    Mike

  • How can I connect to multiple WLS instances from a single Apache virtual host

    Configuration : WebLogic 5.1 SP8 & Apache
    I need to be able to have a configuration that looks something like this.
    www.company.com/x -> WL cluster01
    www.company.com/y -> WL cluster02
    In all the examples that I have been able to find they alway defines the the WL
    connection for the entire virtual host, but I need to be able to do it on a location
    basis is that possible?
    Thanks
    Jens Schutt

    httpd.conf:
    <VirtualHost 172.17.9.24:443>
    DocumentRoot "/www/X"
    ServerName qawebivesta.qa.livecapital.com
    ErrorLog /usr/local/apache/logs/qaweb1.error_log
    TransferLog /usr/local/apache/logs/qaweb1.access_log
    SSLEngine on
    SSLCipherSuite
    ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
    SSLCertificateFile /usr/local/apache/conf/ssl.crt/server.crt
    SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/server.key
    <Files ~ "\.(cgi|shtml|phtml|php3?)$">
    SSLOptions +StdEnvVars
    </Files>
    <Directory "/usr/local/apache/cgi-bin">
    SSLOptions +StdEnvVars
    </Directory>
    SetEnvIf User-Agent ".*MSIE.*" \
    nokeepalive ssl-unclean-shutdown \
    downgrade-1.0 force-response-1.0
    Debug ON
    DebugConfigInfo ON
    <Location /ivesta/>
    SetHandler weblogic-handler
    WebLogicHost qawlgc1
    WebLogicPort 7001
    </Location>
    <Location /TMPPhase2>
    SetHandler weblogic-handler
    WebLogicHost qawlgc1
    WebLogicPort 11001
    </Location>
    </VirtualHost>
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /TMPPhase2 works fine, but when I try to access /ivesta I get a 404 from WebLogic
    "https://qawebtmp.qa.livecapital.com/ivesta/index.jsp?__WebLogicBridgeConfig
    Weblogic Apache Bridge Configuration parameters:
         WebLogic Cluster List:
              General Server List:
                   Host: 'qawlgc1' Port: 11001
              DefaultFileName: ''
              PathTrim: ''
              PathPrepend: ''
              ConnectTimeoutSecs: '10'
              ConnectRetrySecs: '2'
              HungServerRecoverSecs: '300'
              MaxPostSize: '-1'
              DynamicServerList: ON
              StatPath: false
              CookieName: WebLogicSession
              Idempotent: ON
              FileCaching: ON
              DisableCookie2Server: OFF
              QueryFromRequest: OFF
              Build date/time: Jun 25 2001 15:09:34
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    This should have been connecting to my 7001 instance not the 11001.
    Thanks
    Jens
    "Eric Gross" <[email protected]> wrote:
    What do you mean the wrong port? Post the complete output from
    WebLogicBridgeConfig as well as the URL you used.
    Also, paste the weblogic relative portions from your httpd.conf
    Thanks,
    Eric
    "jens" <[email protected]> wrote in message
    news:[email protected]...
    I also used ?__WebLogicBridgeConfig to verify that it did pick up thewrong port.
    Here is my build date for mod_wl.so in SP10
    Build date/time: Jun 25 2001 15:09:34
    Thanks
    Jens
    "Eric Gross" <[email protected]> wrote:
    Make sure you are using the latest plugin. As well, add parameter:
    DebugConfigInfo=ON and make a request with a query paramater of
    ?__WebLogicBridgeConfig and you should then see the build date/time.
    We can
    then see if you are indeed using the latest plugin.
    It is not a possibility to get the source.
    Regards,
    Eric
    "jens" <[email protected]> wrote in message
    news:[email protected]...
    And the solution where you put the WebLogic parm under location
    the
    last
    location
    over rule the previous.
    I have also tried to upgrade my plug-in from SP8 to SP10 but that
    didn't
    make
    any difference either.
    Is it possible to get the source code for the plug-in, I'm afraid
    that
    it
    don't
    follow put's all it's parm's a the vhost level no matter where in
    the
    conf
    file
    they are placed.
    HELP
    Jens
    "Eric Gross" <[email protected]> wrote:
    Yu is correct.
    Here is another way to do it as well:
    MatchExpression /x
    WebLogicCluster=server1:port,server2:port|PathTrim=/x
    MatchExpression /yWebLogicCluster=server3:port,server4:port|PathTrim=/y
    The general syntax for this would be:
    MatchExpression exp name=value|name=value
    Where exp=Mime type(*.jsp) or exp=/x(path)
    The next argument in the list is a pipe(|) delimited list ofname=value
    pairs (ie: WebLogicHost, WebLogicPort, WebLogicCluster, PathTrim,
    PathPrepend, etc..).
    Hope this helps.
    Regards,
    Eric
    "Yu Tian" <[email protected]> wrote in message
    news:[email protected]...
    Hi Jens,
    I think you can proxy by ppath.
    <Location /x>
    SetHandler weblogic-handler
    WebLogicCluster cluster1
    </Location>
    <Location /y>
    SetHandler weblogic-handler
    WebLogicCluster cluster2
    </Location>
    thanks
    Yu
    "Jens" <[email protected]> wrote in message
    news:[email protected]...
    Configuration : WebLogic 5.1 SP8 & Apache
    I need to be able to have a configuration that looks something
    like
    this.
    www.company.com/x -> WL cluster01
    www.company.com/y -> WL cluster02
    In all the examples that I have been able to find they alway
    defines
    the
    the WL
    connection for the entire virtual host, but I need to be able
    to
    do it
    on
    a location
    basis is that possible?
    Thanks
    Jens Schutt

  • How to disable iMessage for a single contact?

    Hello apple communites, I have a simple and hopefully simple to answer question..
    I am curious as to how to disable iMessaging for a single contact.  My sister when she got her phone number originally had an iPhone, she has since gotten an android and kept the same phone number.  However I am running into issues with text messages to her, my phone still thinks she has an iPhone and continues to send every text as an iMessage, resulting in a failed message.  I can easily hit the "send again as a text message" option and the message/picture sends as normal.  I however find this a bit fustrating, and have tried everything I can think of to attempt to disable this.  However all the online tutorials I can find regarding disabling iMessage turns the feature off completly, I don't wish to do that. 
    I have attempted to completely delete, (including all existing all texts and call history), and then re-add the contact, but that does not work either, my iPhone still attempts to send messages to my sister as an iMessge. Any help, if any, would be appreciated. Thanks in advance.

    Your sister needs to disable iMessage on her iPhone if the iPhone is still available if she hasn't already done so.
    If she has, does she have iMessage enabled with the same Apple ID on another iOS device or on a Mac as was used to activate iMessage on her iPhone?

  • How to disable click for open a app mobile? i have picture.

    how to disable click for open a app mobile?
    How i do?
    why adobe captivate need to click for open app.
    i need to open auto.
    thank you

    Swiping down from the midle of the screen will open the search window on its upper section.

  • How to disable debugger for sapscript forms.

    How to disable debugger for sapscript forms.
    Once activated in se71-Utilities-Activate debugger I do not know how to disable it

    Thank you Rich
    I assigned you points for good answer on my preavious mail)
    . Actually my real problem is a transported the SAP script form “znalepke2” , printer definition ”nale”
    and device type “zststartsp” of a thermal printer.
    On original system (ak1) the printout is ok but on target system(ak2)
    not.
    Lateron I transported also :
    R3TR SCPD 1403(as the device type uses this character set)
    R3TR TABU TSP08 (All entries)
    R3TR TABU TSP1D(All entries)
    R3TR TABU TSP1T(All entries)
    I used also report  RSTXSCRP to traport form and device types. L
    Lately I discovered that when I performe printout preview I get also eronneous printout If I ssue an printout preview in language "EN" on system "ak1"(only on system ak1 and form preview in "SL" is oK. What steps you suggest me to solve the prolem
    Thank you in advance

  • How to disable cache for a particular Report in obiee 10g?

    HI
    My name is Rani .Learning obiee10g ifaced 1 interview in that they asked me like how u disable cache for a particular report?

    In the advanced tab of the report, under prefix you need to mention:
    SET VARIABLE DISABLE_CACHE_HIT=1;
    Refer below link
    http://tipsonobiee.blogspot.com/2009/06/step-by-step-to-bypass-all-caches.html
    Thanks

  • How to disable IPv6 for loopback adapter (lo0)

    I was wondering if anyone knows how to disable IPv6 for the loopback (lo0) adpater. I know how to do it for other adapters using the Network preferences pane, but lo0 doesn't appear there...
    Thanks,
    - alan

    I need to temporary disable ipv6 address of lo0 (which by the way is not 127.0.0.1 but ::1) for testing development purpose..

  • How to disable iMessage for certain contacts

    I was wondering how to disable iMessage for certain contacts!

    Try deleting the phone number from the persons contact and then re-entering it as a new number.
    You don't have to delete the entire contact.
    Worked for me.

  • How to disable iMessage for an old Apple ID which is only used for AppStore?

    How to disable iMessage for an old Apple ID which is only used for AppStore?
    I used my old Apple ID for iMessage and AppStore Apps. Now I'm using my iCloud Account (second Apple ID) on my Mac as iCloud and iMessage Account.
    New Apple ID - iCloud & iMessage (**** thing that I can't use my okd Apple ID for iMessage and another for iCloud) on new Mac
    Old Apple ID - AppStore, iMessage days ago
    So now how to disable the iMessage function for my old Apple ID which isn't used anymore?
    Thank you!

    Yeah the problem is that I want to be reachable by:
    *new apple id
    *mobile number
    Earlier:
    *old apple id
    *mobile number
    Problem - if I set in Settings => Messages => Receive at:
    *new apple id
    *mobile number
    Others still can see my old apple id as "iMessage" although it isn't used a iMessage anymore. So how to disbale iMessage function for that?

  • Grid Control how to disable alert for Tablespace UNDO is 99 percent  full

    I am new to Grid control and want to know how to disable alert for UNDO tablespace full.
    Target Name=xxxx
    Target type=Database Instance
    Host=xxx
    Occurred At=Dec 24, 2010 1:21:00 AM EST
    Message=Tablespace UNDOTBS1 is 99 percent full
    Metric=Tablespace Space Used (%)
    Metric value=99
    Tablespace Name=UNDOTBS1
    Severity=Critical
    Acknowledged=No
    Notification Rule Name=Database E-Mail Notifications
    Notification Rule Owner=SYSMAN

    You should post in the grid control foruma.
    But just go to databases, select your database, metric and policy settings, find the tablespace metric, edit and exclude the undo tablespace.

  • Struggling with Apache Virtual Hosts

    Hi Folks,
    I'm having trouble getting Apache virtual hosts to function
    on my work PC.
    PHP works. The PHP info page loads fine. I just can't get any
    virtual hosts
    to function. Get "Cannot find server or DNS Error."
    The identical configuration on my home machine works fine.
    Some details
    below.
    Windows HOSTS file:
    127.0.0.1 localhost
    127.0.0.1 mvhms
    Apache 2.0 virtual host settings in httpd.conf file:
    # Use name-based virtual hosting.
    NameVirtualHost *:80
    # Edited by Phil 3/15/2007
    <VirtualHost *:80>
    DocumentRoot c:/htdocs
    ServerName localhost
    </VirtualHost>
    <VirtualHost *:80>
    DocumentRoot c:/htdocs/mvhms
    ServerName mvhms
    </VirtualHost>
    Any help greatly appreciated. Thanks.
    Phil
    Work PC is on a LAN
    Windows XP Pro
    Apache 2.0.59
    PHP 5.1.6
    Reference: PHP for Dreamweaver 8

    Hi Bev,
    I tried various local IP addresses with no luck.
    However, I do think it may be a local LAN or HOSTS file
    issue. If I remove
    the proper references from my home HOSTS file, I get the
    identical behavior
    as my work machine.
    Is there a Windows HOSTS file bypass or Group Policy setting
    that our IT
    department may have changed?
    Phil
    "bsoliman" <[email protected]> wrote in
    message
    news:etcioa$839$[email protected]..
    > You're welcome, Phil.
    >
    > Hmmm, in that case then I'm stumped too. If the exact
    same setup is
    > working
    > for you at home, then I have a sneaking suspicion that
    it has something to
    > do
    > with being on a LAN. Unfortunately, that's just a gut
    instinct and I
    > couldn't
    > tell you what the acutal problem might be. Hopefully
    someone else will
    > come
    > along that can help you out.
    >
    > This is a total shot in the dark: Why not try changing
    127.0.0.1 to your
    > machine's IP address on the LAN? I'm obviously grabbing
    at straws here,
    > but I
    > figure trying something (no matter how farfetched) is
    better than sitting
    > around feeling aggravated while waiting for help :-)
    >

  • How to disable MOH for "on Hold" button.

    CUCM 6.1
    When on a conference call if a user presses "on Hold" button, music is played for all participants and nobody can hear anything. How can I disable music on hold for all users?
    Please note, I could disable MOH for conferencing. But this is different issue. This is e.g. when everyone is in a conference (no matter what conference system, it could be ready talk, meeting place,...)and a participant receives another call and wants to answer the other call, in this situation I don't want any MOH played for other participants.
    Thanks,
    rdianat

    I first tried "suppress MOH for conference" by service--> service parameters -->select server --> select callmanager --> go to "clusterwide parameters(Feature-General) --> change the "Suppress MOH to conference Bridge" to true"
    This did not work. The reason is that these users are accessing an internet coferencing system like "ready talk" and not a cisco conferencing system, so for Cisco this does not appear to be a conference but it is like a regular call.
    I only have two callmanagers which also serve as MOH servers.
    Media Resources-->Music On-Hold Server -->Set Run Flag to "NO"
    This is explained in "MOH FAQ" from cisco.
    http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_qanda_item09186a0080094766.shtml#q21
    The other way of doing this is not to assign any MOH server to the MRG or create a device pool without any MOH. (Media Resource Group set to NONE)
    Although the above disabled the MOH, still the TOH "Tone on Hold" which is beep-beeps played every 10 seconds was annoying. So I increased the interval to 20 seconds by the same instructions in "MOH FAQ" how to disable / change TOH. Go to same page explained above but to "clusterwide Parameters(Device-General) and change "Tone on Hold Timer" Value to 20.
    rdianat

  • How to disable iMessage for a specific contact/How to unregister iMessage from former device

    I switched from an iPhone 4 to a Galaxy S3. When my wife who still has an iPhone 4 tries to text me it still sends the message as an iMessage and I NEVER receive the text on my Galaxy S3. It still shows the little blue bubble next to my name when starting a new text thread. So I checked with about 4 other iPhone users that text me on a regular basis and I'm not receiving any of their messages either.
    If the iPhone users turn off iMessage the text comes right through. However I dont expect all the iPhone users on my contact list to turn off the iMessage feature just so they can text me.
    I no longer have my old iPhone. I traded it in at Best Buy so there's no way of going back in the phone to change any settings. The iPhone was wiped of all data and settings anyway before I traded it in.
    I took my wifes iPhone and deleted my contact. Then I added it back. Still shows my name as iMessage. I took my e-mail address out of my contact entry on her phone and it still shows my name as iMessage.
    I logged into "Apple Support - My Support Profile" to try to unregister my device as suggested in another forum but I can't get past the "enter your purchase date" page. It was a refurbished iPhone and the date I purchased the device didn't work. Theres no way I'll ever get the original purchase date since I wasn't the original buyer of that iPhone.
    Any suggestions?? This is an urgent matter as I NEED to receive text messages from my wife and other iPhone users. My wife is willing to turn off iMessage on her iPhone but I don't expect everyone else to.
    I need to find out how to unreigster my old iPhone completely from iMessage.... or find out how to disable a specific contact on my wife's iPhone from using iMessage.

    If you still have an iPhone handy and have the SIM card you used for the phone, then temporarily put your SIM into the other phone and go into Settings and turn of iMessage. If not, the only alternative that I know of is the Support profile, However, you may what to search the More Like This section on the right side of the thread to see if any of the entries there have a green checkmark meaning they are answered.

Maybe you are looking for