Adding domain to url

When I type in an address say, cnet I want Firefox to add the .com and go to cnet.com and not go to bing searching for cnet.

Hi,
I think there is an easier way to do it, avoiding the use of class maps and instead using the legacy firewall (CBAC). This is a quick example
ip urlfilter exclusive-domain deny youtube.com
ip urlfilter exclusive-domain deny facebook.com
ip urlfilter allowmode on
Ip inspect name FW http urlfilter
Int fa 0/0 --->This is the facing interntet interface
ip inspect FW out
That way, facebook and youtube will be blocked and the rest of the sites will be permitted... I think this is an easy way if you dont have Zone based firewall configured.
Hope it helps.
Mike

Similar Messages

  • Random letters added to my url - any ideas?

    Hi Guys
    On this particular site we started seeing funny random letters and numbers added to our urls - we did not touch these pages in quite a while and it only started about a week ago.  Even if you change the url in "SEO" etc... it automatically adds it.
    Any ideas?
    See http://tonipizza.co.za/Tonis_Pizza_Menu.html#.UbIe3JU56YU
    it should read http://tonipizza.co.za/Tonis_Pizza_Menu.html
    Support says it might be one of our scripts that "broke"  -- but sounds like a bit of a stretch to me.  Again, we have not touched code on this  page for a loooong time.
    Thanks
    Casper

    Hey Casper,
    There's some sort of conflict with a content holder you have placed within the page.  When you remove it the url restores back to normal. 
    I would look into this script in the "add this" content holder which most likely is affecting the output of the url.
    Kind regards,
    -Sidney

  • Pushing JSON from ICF Service to cross domain service URL

    Hi Experts,
    I have a scenario where i need to push JSON to cross domain service URL through Http response in SAP ICF service.
    I am using interface-IF_HTTP_EXTENSION to push json to other service.
    Regards,
    Sid

    Hi Daniel,
    Thanks for your faster reply.But it not addressing my issue so i have given sample code for your better understanding.
    METHOD if_http_extension~handle_request.
    * Variables
      DATA: l_verb      TYPE string,
            l_path_info TYPE string,
            l_resource  TYPE string,
            l_param_1   TYPE string,
            l_param_2   TYPE string.
    * Retrieving the request method (POST, GET, PUT, DELETE)
      l_verb = server->request->get_header_field( name = '~request_method' ).
    * Retrieving the parameters passed in the URL
      l_path_info = server->request->get_header_field( name = '~path_info' ).
    CLEAR: ls_contact,ls_response,l_rc.
    *     Retrieve form data
          ls_contact-email     = server->request->get_form_field('empno').
          ls_contact-firstname = server->request->get_form_field('name').
          ls_contact-lastname  = server->request->get_form_field('phone_no').
      CREATE OBJECT lo_json_serializer
        EXPORTING
          DATA = ls_contact. " Data to be serialized
    * Serialize ABAP data to JSON
      CALL METHOD lo_json_serializer->serialize.
    * Get JSON string
      CALL METHOD lo_json_serializer->get_data
        RECEIVING
          rval = lv_json.
    * Sets the content type of the response
      CALL METHOD server->response->set_header_field( name = 'Content-Type'
        value = 'application/json; charset=iso-8859-1' ).
    * Returns the results in JSON format
      CALL METHOD server->response->set_cdata( data = lvjson ).
    Note: I want to send the JSON (lv_json) to cross domain service URL(http:localhost:8080/new/data) using post method.
    ENDMETHOD.
    Regards,
    Sid

  • Adding domain objects

    Hello,
    I'm working with an application where we have many, many, many domain objects that could be added to a "header". In my business/service interface I don't like to write 50+ of addX(...), addY(...), addZ(...) etc. methods.
    Every domain object extends a domain object base class. In my business/service interface I've added one single method for adding domain objects to make the interface somewhat smaller:
    public void add(DomainObject[] someDomainObjects);
        ...The elements of the domain object array are of different kind, but all extends the domain object base class. I'd like to implement class and method that have a strategy for determining what kind of domain object the current one is in the given array and invoke the correct add(...) method for that particular domain object.
    The most simple way of doing it is to have a very big if-else using instanceof to determine what kind of domain object it is, but it doesn't feel like a very nice design.
    Example:
    public class MyBusinessObject {
        public void add(DomainObject[] someDomainObjects) {
            // Iterate over all domain objects in the array
            for (DomainObject domainObject : someDomainObjects) {
                // Determine what kind of domain object it is and create the correct DAO
                if (domainObject instanceof X) {
                    DomainObjectXDao xDao = new DomainObjectXDao();
                    // Save the current domain object
                    xDao.save((X) domainObject);
                } else if (domainObject instanceof Y) {
                    DomainObjectYDao yDao = new DomainObjectYDao();
                    // Save the current domain object
                    yDao.save((Y) domainObject);
                } else if (domainObject instanceof Z) {
                    DomainObjectZDao zDao = new DomainObjectZDao();
                    // Save the current domain object
                    zDao.save((Z) domainObject);
                } else if (...) {
    }Is there any design pattern for making this a more nice design?
    If anyone could contribute with their good knowledge I'd be very glad!
    Regards, Andreas Eriksson

    Map the DomainObject types to their respective DAOs and look them up as you loop through them in the add method, e.g.:
    public class MyBusinessObject {
      private Map daos = new HashMap();
        daos.put(X.class, new XDomainTypeDAO());
        daos.put(Y.class, new YDomainTypeDAO());
        daos.put(Z.class, new ZDomainTypeDAO());
      public void add(DomainObject[] objs) {
        for (DomainObject obj : objs) {
          Class type = obj.getClass();
          DAO dao = (DAO) daos.get(type);
          if (dao == null) {
            throw new IllegalArgumentException(
              "No DAO configured for DomainObject type " + type);
          dao.save((DomainObject) obj);
    }You'd have to create a DAO interface (or abstract base class) which defines a save method with the signature public void save(DomainObject obj). Then each DAO would have to implement this method and cast the passed domain object to the expected type.
    To take things further, you could introduce a DAOProvider interface to hide where the MyBusinessObject obtains the DAOs from (rather than have it maintain the map), e.g.:
    public interface DAOProvider {
      DAO daoFor(Class domainType);
    // A really simple implementation - assmes that DAOs are thread-safe
    public class SimpleDAOProvider implements DAOProvider {
      private Map daos = new HashMap();
        daos.put(X.class, new XDomainTypeDAO());
        daos.put(Y.class, new YDomainTypeDAO());
        daos.put(Z.class, new ZDomainTypeDAO());
      public DAO daoFor(Class domainType) {
         DAO dao = (DAO) daos.get(type);
         if (dao == null) {
           throw new IllegalArgumentException(
             "No DAO configured for DomainObject type " + domainType);
        return dao;
    }The advantage of this is you can alter the strategy for handing out DAOs, e.g. pass the same instance back each time, or dynamically instantiate a new instance, etc. Of course, you need a way for the MyBusinessObject to get hold of a DAOProvider instance (inject it? Have it use a factory?)

  • Pinterest still blocked, even after adding to custom URL exception

    Hi,
    In WSA I have a custom URL list for exception which are allowed from Proxy.
    I have added pinterest.com in the exceptions list. For some users website work perfectly fine via proxy, but the users which are using the global policy cannot open this website. In global policy that custom URL is allowed, even policy trace with that AD users shows that URL is allowed via custom URL list but user gets proxy error denied?
    Is there something I am missing in configuration?
    Regards,
    Sakun Sharma

    Hi Sakun,
    the best way to troubleshoot this kind of issue is to grep/tail logs from WSA, policy trace is not always accurate. So :
    - connect to your WSA via ssh and type the 'grep' command;
    - at the following prompt select 'accesslogs'
    - at the prompt Enter the regular expression to grep insert the ip address of a user that cannot display the website
    - at the prompt Do you want this search to be case insensitive? [Y]> press enter
    - at the prompt Do you want to search for non-matching lines? [N]> press enter
    - at the prompt Do you want to tail the logs? [N]> type 'y' and press enter
    - at the prompt Do you want to paginate the output? [N]> press enter
    then from the client with ip address you inserted before try to connect to pinterest, on WSA you will see the logs, to stop log collection press CTRL+C . Post here the output of the logs.
    Regards,

  • Adding gx_session_id in URL

    GXHC_GX_jst=fc71750f662d6164&GXHC_gx_session_id_=25ba7f292cf98b40
    adding above line to all the URLS, and it causing problems, how can I get
    rid of above line in URL.
    --Raj                                                                                                                                                                                                                                                                                                                                                           

    This is generated to keep the session id alive between request on a
    non-cookie enabled browser, and also in all browsers for the first request,
    becouse iAS don't know that the browser accept cookies or not for the the
    first time.
    You can turn it off change the following registry value, (you must think
    that if you turn it off, only support cookie enabled browsers work's fine):
    /Aplication Server/6.0/CCS0/HTTPAPI.
    There is a key NoCookie value, whose default value is 0.
    ..- If you set this value to 2, it never parses the outbound html, thereby
    disabling support for non-cookie browsers completely.
    ..- If you set this value to 1, it doesn't pass a cookie back. This is
    useful for testing non-cookie behavior.
    You can use the program kregedit. This program allow to change the iAS
    registry.
    "Rajashekar Narsina" <[email protected]> escribio en el mensaje
    news:9gqtmp$[email protected]..
    GXHC_GX_jst=fc71750f662d6164&GXHC_gx_session_id_=25ba7f292cf98b40
    adding above line to all the URLS, and it causing problems, how can I get
    rid of above line in URL.
    --Raj

  • APEX: Internet domain mapping / URL rewrite for Apps in the cloud

    Hello,
    I have registered for a trial access since first day in which the cloud was launched ... But, did not get access till now ... If I were to buy it, am I going to get access right away ??
    Is Oracle Cloud going to offer Internet domain name mapping to a specific APEX application ???
    Is Oracle Cloud u going to offer URL rewrite where APEX URL is not Search Engine friendly.... e.g:
    This site: http://www.enkitec.com/ was built on APEX, but as you can see the URL was rewritten ????
    Best Regards,
    Fateh

    Hi,
    According to your post, my understanding is that the rule was not processing for SharePoint 2013 result page.
    Please make sure you add the reverse rewriting rule correctly.
    For more information, you can refer to:
    Add the reverse rewriting rules (in the HTML)
    Setting up a Reverse Proxy using IIS, URL Rewrite and ARR
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Best way of adding networking site URLs in Address Book?

    If I want to add links to friend's MySpace, Facebook, LiveJournal, Blogger, etc. to their Cards in Address Book, is there a good way of doing this?
    It appears a Custom label can only be added to an individual card, then has to be re-added to other cards. Is there some way to add it for all cards? Do custom labels cause problems with MobileMe or exporting address cards?
    What's the difference between "Home" and "Home Page," which appear as two of the default options for URLs?

    Go to Preferences in Address Book.
    Select Template
    From Drop Down - Add Field, select URL.
    You will see URL appear in the template below with tiny up/down arrow. Click on that and add Custom name.
    S.

  • Trouble adding a web url link to an existing file: 1046: Type was not found or was not a compile-time constant:

    Hi There,
    We're trying to add a simple link to an existing Flash file. There looks to be at least 7 separate .as files and a separate swf that loads the main swf which all seems overly complex for what is essentially a page with six buttons on it.
    However, we need to add a URL to some of the text. So we converted the text to a button, added an instance name of <ssbpurchasetickets_btn> then added the following Actionscript into the actions layer on the frame the text/button appears:
    ssbpurchasetickets_btn.addEventListener(MouseEvent.CLICK, ssbButtonPurchase);
    function ssbButtonPurchase(event:MouseEvent):void
    navigateToURL(new URLRequest("http://www.url.com/tickets.html"));
    When we publish the file we get the following error which seems to cascade into a whole bunch more errors:
    Description: 1046: Type was not found or was not a compile-time constant: MouseEvent.
    Source: function ssbButtonPurchase(event:MouseEvent):void
    We added "ssb" onto the button and functions to ensure there were no conflicts but the same thing occurred. If we copy the button into a new file everything works so it must be conflicting with something in the main files.
    Any help would be MUCH appreciated!!!!
    Cheers

    Thanks for the reply Ned,
    The file is set to use AS3 and I'm pretty sure the original should be set to AS3 as the .as files look like AS3 syntax to me - here's a sample:
    protected function handleWwrdButtonClick(e:ButtonEvent):void {
    Browser.open(globalVar.xml.wwrd.item[0].@url, globalVar.xml.wwrd.item[0].@target);
    OmnitureTracker.trackFeaturedContentClick('http://www.url.com/movies/international', 'wwrd_button');
    timer.stop();
    timer.removeEventListener(TimerEvent.TIMER, onTimer);
    I'm wondering if all the Actionscript has be placed into one of the .as files as there isn't any Actionscript in the Flash project - a part from the odd stop()
    Really stuck on this one (I'm not an expert at all) so any help in deciphering the project would be much appreciated.
    Cheers

  • I have created URL like sub domain. but URL which i have rewrite like sub-domain in that page This webpage is not available error showing.

    Is that any one Help me, here,
     i have created URL like aarti.domain.com using a particular code which i have add here,
    sub-domain URL is creating but This webpage is not available i am getting this error in sub-domain URL page.
    This is a code by which i have created a URL like sub-domain. its creating URL but page is not showing with data. 
    Any one can tell me whats Wrong here. 
    and how i can show data in my sub-domain url.
    Your solution will help me To solve This Big Issue.
    <rewrite>
    <rules>
    <rule name="Redirect to Subdomains" stopProcessing="true">
    <match url="^xyzPage.aspx$" />
    <conditions>
    <add input="{QUERY_STRING}" pattern="^barvalue=(.+)$" />
    </conditions>
    <action type="Redirect" url="http://{C:1}.{HTTP_HOST}" appendQueryString="false" />
    </rule>
    </rules>
    </rewrite>

    Please post questions related to ASP.NET and web development in the ASP.NET forums (http://forums.asp.net ).

  • Edge Inspect not working for domain.dev URL's running locally on my laptop, displays error message.

    "An error occured
    Web page not availiable".
    This, printed on a white screen, on my iphone5 (OSX and iOS all running latest updates, latest Adobe Edge Inspect, freshly downloaded) is all I see when I try to visit any of the sites I run on my laptop with Apache.
    I set up my domains as "http://foobar.dev"  (where '.dev' is the TLD on my localhost for things ... local).
    I can view any public internet sites, and they will show up on Edge Inspect on my phone, with no problem.
    I've tested this with turning off the firewall on my computer... (but I'm surprised thats how edge works, but what ever).
    Any guides? tricks? help?
    Thanks.

    Edge Inspect doesn't do anything different to read the website off your computer than a normal browser does. We send a URL to the connected devices and expect them to be able to load that address into the WebView/UIWebView components in the Edge Inspect app on the devices.The reason you're seeing an issue with Edge Inspect and your http://foobar.dev site is the same reason why you wouldn't/shouldn't expect to type that URL into a browser on another machine and be able to view the website... there's no external DNS server to talk to that knows where that address is actually located.
    So, Edge Inspect might be doing less than you thought is was in those terms. The main focus of Edge Inspect really is:
    1. Managing the connection from your computer to multiple connected devices
    2. Translating localhost, 127.0.0.1, and <machinename>.local urls
    3. Keeping multiple devices in sync
    4. Simplifying things like cache clearing and screenshots on all your devices
    5. Providing a simple interface into weinre for remote inspection
    Definitely read more on xip.io. It's a public website, yes. We don't have anything to do with it, but it does provide a nice workflow for using virtual hosts with Edge Inspect.
    Mark
    Message was edited by: Mark Rausch to clarify the 1st paragraph

  • Accessing files of domain throw URL

    Hi All,
    I have a requirement i.e
    Some files are there on the location */bea102/user_projects/domains/cms_domain/report/*.
    I want to access those file throws Http URL.
    How can I do this.
    Please help me.
    Regards
    Arvind

    Hi
    if you want weblogic server to be able to serve files you have the following options
    a. The files should be part of your web-app. This means physically copying the files to your webapp so that there are part of your EAR.
    b. http://download.oracle.com/docs/cd/E13222_01/wls/docs100/webapp/weblogic_xml.html#wp1039396 - use the proprietary virtual directory mapping feature
    c. Create a servlet that reads files from the file system
    and as already suggested if these are static files and you have a webserver fronting weblogic then use that.
    Note also that if you want to read from filesystems and you have a cluster , you will have to work out how files are shared
    regards
    deepak

  • Domain in URL

    Hello,
    system administrator has made available a SAP system for development. I am checking that everything is availabe and when I try to execute BSP pages and WebDynpro applications I get a short dump with the following message:
    the URL does not contain a complete domain name (sapserver instead of sapserver.<domain>.<ext>)
    What should I do to set the correct URL ??
    Thanks

    Hi,
    The URL of a BSP application has the following structure (default configuration):
    <Prot>://<Host>.<domain>.<extension>:<Port>/sap/bc/bsp/<namespace>/<application name>
    The protocol Prot is http or https (if configured).
    Host is the name of the application server that should execute the application.
    Domain and the Extension comprises several hosts under a common name, although they can either be made up of an individual host or a network.
    The Port number can be omitted if the default port 80 (http) or 443 (https) is used.
    Hope this ans will help you.
    Thanks,
    Deepika

  • Adding text to URL

    I'm making a script that adds "&fmt=22" (The YouTube high quality &addon), and I need to know what to do in applescript to relay the edited url (Example: www.youtube.com/watch?v=hLE0DpKnJsA&fmt=22) back to safari.
    Here's what I have already:
    Get current webpage from Safari
    Run Applescript (I need help with this one)
    Display webpages (Safari)
    Anyone care to help?

    The original script I gave you works fine on Tiger as well as Leopard for me, so I have no idea why it's not working. However, here is an alternative: let me know if it works for you.
    tell application "Safari"
    set wp to URL of document 1 as string
    end tell
    set wp2 to wp & "&fmt=22" as string
    set the clipboard to wp2
    tell application "Safari" to activate
    tell application "System Events"
    tell process "Safari"
    click menu item "New Window" of menu "File" of menu bar 1
    click menu item "Paste" of menu "Edit" of menu bar 1
    click menu item "Reload Page" of menu "View" of menu bar 1
    end tell
    end tell

  • Adding variable to url

    Hi
    I have a list of website links which user can click on.. On click, I want to call a JSP (http://localhost:8080/abc/faces/urlprofile.jsp) which can display data related to the website.
    To do this, I want the website's url to be appended to my url i.e. (http://localhost:8080/URLtopia/faces/urlprofile.jsp) so that I can fetch data related to that website from database.
    For example : if the website is google.com, I want the call to be http://localhost:8080/URLtopia/faces/urlprofile.jsp?google.com
    How can I do this ?
    Thanks
    Mudit

    This gives out error : Body of scriptlet element must not contain any XML elements
    <jsp:scriptlet>
    try {
    String k=(#{param.desti});
    Result Set rs;
    String q="select * from url where url.title=k;
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Rman backup strategy

    hi, just wanted to hear some thoughts from some pros.. platform: oracle 9i on windows i switch from user-managed backups to rman recently. My full nightly backups are abt 20GB in size on completion. we backup to tape, but i want to keep some disk bac

  • Financial Reports import into excel using Smart View - error

    All, I have encountered an error message when trying to use R&A Import. The message is Oracle Hyperion Smart View for Office, Fusion Edition "Excel cannot insert the sheets into the destination workbook, because it contains fewer rows and columns tha

  • Tables are not being deployed completely from Dictionary

    hi, I created a Dictionary project and a table with two columns in it. Then i rebuilt the project and created the .SDA archive. After that, i went to the navigator view and left clicked on the previusly created SDA archive and selected deploy. Deploy

  • Problems converting / importing PSE9 catalog into LR4

    Im having problems converting / importing my PSE 9 photos into LR4.  I went through the "File / Upgrade PS..." without success.  It seems to work...ie LR4 closes down and then creates a new catalog but then a box appears saying that the photos could

  • Wi-fi woes

    I'm running Lion 10.8.5 on a slightly older MacBook Pro (13-inch, Mid 2010) and have been having occasional problems with the Wifi not being to detect any wireless networks, particularly after the laptop wakes up from sleep mode. Sometimes I get an e