Redirect based on IP source address?

I have a site I don't want our competitors to see! By tracking code, I managed to get their source IP addresses.

After looking around, there is a solution to my problem of .php but my host is not well suited to the .php files (even if it's a treatment).

My pages are in .shtml (to deal with the drop-down menus css correctly) and I understand that this attachment code, if put at the top of the page before anything, will work.

I managed to get a http://www.donbur.co.uk/gb/newindex.php job, but finds it difficult to get this code to work elsewhere.

The problem is, when I try to put this code in one or other model as an inclusion, it won't process correctly or page will not be displayed at all.

I have to use the .php files or add in a .shtml document php script.

Really confused now... Help

Thanks for the constructive advice...

Quote:

> After looking around, there is a solution to my problem of .php but my host is not well
> suitable for .php files (even if it's a treatment).

What does that mean? Your hosting plan includes php support it or not?

You can not just put a php script on any page. It must be a .php page, or you will need to reconfigure the server to analyze the other pages for php. But if your hosting plan does not support php then it will not work in all cases.

My host is BT Internet and they claim not to treat the .php files that's why our site main .php is hosted elsewhere; However, it seems that, even if it's hard (to clarify: don't) with main complete scripts, it does not seem to treat simple

It was suggested on another forum that the .shtml files are set to be recognized by .php in the cpanel, but our host will not do that...

Our competitors are not particularly intelligent or up to date and it was pretty effective; However, I am inclined to the best judgement and close this topic.

Tags: Dreamweaver

Similar Questions

  • Firefox has detectedthe server redirects the request to an address in a way that will never end

    Firefox has detected that the server redirects the request for this address in a way that will never end it is verbatim it's never happened before

    We have the same problem. Ours is a little out of the ordinary that we have a web application that displays pages based on a configuration of a database for the "namesake" page is created over and over again that our users make their way through our investigations.

    Is there a method on the side Server things, what can be done to stop this error from appearing? We tried some experiments as alternating in the title of the page, redirect between two different pages but FF still think it is to see the same page over and over again.

    We would love to be able to support FF for our clients and their customers (those who take our surveys) and it is a crucial issue at the moment for some of our customers worldwide.

    Any help would be greatly appreciated.

    Thank you
    ~ Dave Carr
    800, Inc. service.
    [email protected]

  • Firefox has detected that the server redirects the request for this address in a way that will never end.

    This week (01/10/12) I registered on youtube and now I can't log back in here or in my gmail account. I tried every fix-it/single remedy offered the FF forum but nothing works.

    Any other work, all the sites that I frequent load fine, is youtube doing something on purpose for FF users? I can get the page youtube videos and see, but I can't log on, every time I click the sign in button, I get:

    "The page is not redirecting properly".

    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
    

    This problem can sometimes be caused by disabling or refusing to accept cookies. »

    I hate to be a conspiracy theorist, I can connect to youtube without problem on IE, but I hate this browser. I use windows 7 and 15 FF. Can someone find it?

    Looks like it's a firefox issue, because that never happened on IE, Safari or Opera on me.
    You think not that a simple patch can solve this problem. I have to delete individual cookies every day.

  • I deleted my account on a site I'm going and it keeps saing that Firefox has detected that the server redirects the request for this address in a way that doesn't

    He repeated to me that Firefox has detected that the server redirects the request for this address in a way that will never end.

     This problem can sometimes be caused by disabling or refusing to accept
       cookies.
    

    Have you tried to clear the cache and cookies?

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools > Options > privacy > Cookies: "show the Cookies".

    See also:

  • Firefox has detected that the server redirects the request for this address in a way that will never end. I followed your instructions and nothing works. This just started happening today.

    I was watching www.ustream.tv/decoraheagles for months. I started using Firefox about a month ago. Earlier today, when I tried connecting to the site, I received the message "Firefox has detected that the server redirects the request for this address in a way that will never end."
    I went on your site and follow the instructions. This Web site was not in the blocked sites. He told me how to add it, and I did.
    She still refuses to open this site.
    Internet Explorer WILL open this site.

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > storage (Cache) offline: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools > Options > privacy > Cookies: "show the Cookies".
  • message from Firefox: "page isn't redirecting properly" Firefox has detected that the server redirects the request for this address in a way that will never end. * Why this mess

    "The page isn't redirecting properly?

    i receive this warning on a daily basis. it seems to occur whenever i open a message  in gmail or try to send a message. anybody have a clue about this? thanks!
    

    Firefox has detected that the server redirects the request for this address in a way that will never end.

       *   This problem can sometimes be caused by disabling or refusing to accept
             cookies.
    

    See http://kb.mozillazine.org/The_page_is_not_redirecting_properly

  • What source address should the NI9862 module CAN be used to send messages j1939?

    I am developing an application that will write and read on vehicle ECU road. I CAN NI9862 module and drivers XNET. I can read an ECU data. I can write a CAN bus frames but the ECU under test does not appear to read the message. I don't get any acknowledgement of bit type and the SHIELD in question (a dashboard) does not change its messages in anyway, nor change the gauges or witnesses.

    Complicating this is the fact that the ecu is 'Brand X' and it is PGNs belong to someone. I tried to send the message of inquiry PGN (PGN59904) but get no response from the ECU. I use the 255 (global) as my source address.

    Is there a source given for the NI9862 in J1939 address?

    Thank you

    There is no specific source for the NI9862 address. It can be used to simulate one of the 256 available addresses. If you try to simulate a test off-board tool, usually has an address of 0xFA.

    I'm afraid that if you do not know the PGNs he expects or addresses that it expects to see, you will have great difficulty to operate.

    Good luck

    Bob Young

  • SQL query to find the total number of source based nonsource passangersbetween source and destination station and passenger station on the same chekindate

    Hello

    SQL query to find the total number of source based nonsource passangersbetween source and destination station and passenger station on the same chekindate.

    Please help on this script and let me know if you need more details.

    ---

    You use a SELECT statement.  Let me know if you need more details.

  • [View 5.3] Connection to security through Blast Server redirected to the Local IP address private view Desktop in Google Chrome

    Hello

    I am currently facing a questions in my test harness which happens when I connect to public IP address on server security by the breath. No problem if I connect using view Client.

    Using the breath, I can log on, select a desktop view, then the url of the Web page showing my ip Server security for about 10 seconds and then I was redirected to the private IP address of NAT from the desktop view target and of course I couldn't connect.

    vd.png

    Note: The local private ip address redirection does not happens if I configured to connect to show the connection to the server through breath.

    I have:

    • Self-signed SSL installed without warnings
    • activated the tunnel to connect to the server
    • Tunneling on server security enabled
    • disabled all firewall for testing purposes
    • locally defined in the host file to resolve my domain name full of security server static IP used in my office. (vsecurity.icliq.com in this case)
    • required ports are configured with port forwarding in my router from office

    security.png

    I hope someone could throw some light on this issue. Thank you


    Eddy

    Yes, the option of Blast Secure Gateway is used to ensure that Blast connections are routed from your browser by the server security (or connect to the server). That's what you want to access remotely. If you do not select this option, Blast connections will be direct to your virtual desktop. This is for internal connections.

    It goes the same for PCoIP and PCoIP Secure Gateway.

    Mark

  • Assign a static IP address via DHCP based on the Mac address of the virtual machine

    Hi all

    It is especially a feature request, as I'm sure that it is not currently possible to do what I want to do...

    I would like to be able to assign static IP addresses to VM without having to manually configure the network settings of the virtual machine directly. I want to be able to do it from the DHCP settings in the virtual network Editor.

    Most of the routers DHCP allow this. They give an IP address through DHCP based on the MAC address of the client. This means that the customer is concerned that he receives a regular IP DHCP address, but it is never change.

    DHCP is the default option for all OS this makes things much easier to manage, as IP addresses is assigned in the same way, in one place for all DHCP clients, regardless of the client operating system, and without having to manually keep track of which the IP is assigned to which customers etc..

    Also AFAIK at least for Ubuntu, you cannot assign a static IP address without having to also statically assign to the DNS server. It is only the IP address I need to be static, so I prefer not to have to worry about manually assign the DNS server.

    I can just kind of fudge making the really long DHCP lease duration, but the maximum is 99 days only, so finally addresses are going to change, that would mean a whole bunch of reconfiguration for VM services, etc..

    Does anyone know if the workstation 9 has this ability? I am currently on version 8, but I would probably upgrade this function only if she can do it.

    If there is no way to do what I want to directly through the virtual network Editor, can anyone recommend a way to do this, perhaps using Guest only network and then, by running a kind of services to the 3rd party NAT and DHCP on the host?

    Thank you

    Eugene

    There is no GUI option to get what you are looking for, but you can do it manually. Please take a look at Re: assign a static IP to guest with network adapter NAT Virt? where I posted an example.

    André

  • Hive - Source address and Destination or a set of addresses

    I have a financial client who has a question on the Source address and Destination or a set of addresses.

    They must provide a Source address and destination or a set of addresses, with a mask of network. Oracle has the IP address and Netmask (s) they would need for booty? And they would be the Source or the Destination?

    The INVESTIGATION period would come from the server of the hive? The Bank would need specific IPs or a range of IP addresses that will be used. So if all the Beehive exists in 123.456.789.xxx, they would be able to enter like this, but it is best to identify each IP separately.

    Also, assuming that the Bank and Oracle are in communication, that can be at the Source and that can be the Destination?

    If this isn't something that we can provide them, I may need something - an explanation--give them that could soothe their needs.

    Any help on this would be greatly appreciated.

    Brent

    Brent,

    Communication between the Bank and the Beehiveonline would normally be via the IP 156.151.25.7, which is the VIP for BeehiveOnline. It would be the two-way channel for communications over https, webDAV and the owners of o and OBEO protocols.

    The only time where we all change is if you use FTPS and because we put passive channels in place data transfer channel is given to one of the Middle-thirds to handle the traffic directly Bank to Oracle would be so throuigh 156.151.25.7 until the connection is established, and then the middle of the year-groups will manage traffic between the 2 extremities-this means that the traffic is two-way on one of the 3 the ip 156.151.31.35, 156.151.31.36, 156.151.31.37 addersses

    I hope this will satisfy the Bank.

    Phil

  • SFR - no policy of the 'rate of bandwidth limit' based on the source IP address

    Hello security experts.

    I can't find the policy of depending on source IP bandwidth rate limiting or a device of the type (in the case of mobile devices android or apple) on SFR because it was easily configurable with the CX on ASA5515-X module.

    Anyone know if I can put it on Firesight and SFR sensor ASA5515-X?

    Thanks in advance.

    Kind regards

    Remi

    Remi,

    Unfortunately the limit speed of bandwidth / traffic shaping is not currently available for devices of firepower.

    You can speak to your sales representative to discuss the future roadmap of the produ

    CT in more detail.

    The function is in the road map and will come with the future software release 6.X.

    Best regards

    Veronika

  • Based on the sources, the routing of calls on VCS - E

    Hello

    We have now several customers, who can dial only an IP address. Is there a way to do a based ip source routing?

    Example:

    source ip address: 1.1.1.1. dest ip: 10.10.10.10 (VCS-E)--> translated destination: [email protected] / * /

    source ip address: 2.2.2.2. dest ip: 10.10.10.10(VCS-E)--> translated destination: [email protected] / * /

    source ip address: 3.3.3.3. dest ip: 10.10.10.10(VCS-E)--> translated destination: [email protected] / * /

    Translated destinations are known by the VCS-E.

    Best regards

    Daniel

    Maybe you're using the CPL, take a look at the start on pg 345 VCS Admin Guide .

    What endpoints they use and how they are deployed that restrict them to compose only via IP address?

  • MRM - 'monitor source address is not configured "?

    Greetings,

    I try to use MRM, but the "manager" doesn't seem to know its source, despite the research address as it does.

    I tried several source interfaces.

    Mrm - ip TEST Manager

    Serial0/0.1 225.0.0.1 Workgroup Manager

    senders 1

    2 receptors

    -----------------------------------------

    R3 #sh ip mrm manager TEST

    Manager:test/1.0.0.1 is not running

    Beacon interval/holdtime / ttl:60/86400/32

    Group: 225.0.0.1, UDP port test-package/status-report: 16384 / 65535

    Test mailers:

    5.5.5.5

    Receivers of tests:

    1.1.1.1

    -----------------------------------------

    R3 #mrm TEST start

    Source monitor address is not configured

    -----------------------------------------

    ???!!!! Another interface (loopback)

    -----------------------------------------

    R3 #sh ip mrm manager TEST

    Manager:test/3.3.3.3 is not running

    Beacon interval/holdtime / ttl:5/86400/32

    Group: 239.0.0.1, UDP port test-package/status-report: 50000 / 50001

    Test mailers:

    5.5.5.5

    Receivers of tests:

    1.1.1.1

    R3 #mrm TEST start

    Source monitor address is not configured

    -----------------------------------------

    I tried this on various 3640 s running enterprise 12.3 and a 12.2 (32) running of 2500. All have the same result.

    You missed this command, I think.

    "R1(config-mrm-manager) # 2 sender-list of recipients 1.

    While the Cisco IOS CLI parser accepts the command entered without the pair of keywords-argument access-list-list of senders, this pair of keyword-argument is not optional. For a test MRM work, you must specify the sources that the Test receiver should monitor using the sender-list of keyword argument and access list.

    This should solve the problem.

    HTH-Cheers,

    Swaroop

    ========================================

    ]

    R1 #sh ip mrm in

    R1 #sh ip interface of mrm

    State of the address of the interface Mode

    FastEthernet0/0 10.1.1.1 - receiver to Test upward

    R1 #mrm TEST1?

    start the start IP MRM test

    stop the test to stop IP MRM

    R1 #mrm TEST1 beginning

    R1 #mrm TEST1 beginning

    R1 #.

    R1 #.

    R1 #sh

    00:06:23: test of IP MRM 'TEST1' begins...

    % Of type 'show?' for a list of subcommands

    R1 #.

    R1 #.

    R1 #.

    R1 #sh ip Manager mrm

    Manager:Test1/10.1.2.1 is running, expiration: 1d00h

    Beacon interval/holdtime / ttl:60/86400/32

    Group: 239.1.1.1, UDP port test-package/status-report: 16384 / 65535

    Test mailers:

    10.1.1.2 n - Ack

    Receivers of tests:

    10.1.2.2 n - Ack

    R1 #sh ip Manager mrm

    Manager:Test1/10.1.2.1 is running, expiration: 1d00h

    Beacon interval/holdtime / ttl:60/86400/32

    Group: 239.1.1.1, UDP port test-package/status-report: 16384 / 65535

    Test mailers:

    10.1.1.2 n - Ack

    Receivers of tests:

    10.1.2.2 n - Ack

    R1 #.

    !

    Manager of mrm IP TEST1

    Manager group 239.1.1.1 FastEthernet1/0

    senders 1

    receivers 2-list 1

    !

    access-list 1 permit 10.1.1.2

    access-list 2 allow 10.1.2.2

    !

    !

    R1 #sh cdp nei

    Ability code: R - router, T - bridge Trans, B - road Source bridge

    S - switch, H - host, I - IGMP, r - Repeater

    Device ID Local Intrfce Holdtme Port platform capability ID

    R2 Fas 0/0 135 R 3620 Fas 0/0

    R3 Fas 1/0 172 R 3620 Fas 0/0

    R1 #.

    R1 #.

    R1 #sh ip int brie

    Interface IP-Address OK? Method status Prot

    Commissioner of official languages

    10.1.1.1 FastEthernet0/0 YES manual up up

    10.1.2.1 FastEthernet1/0 YES manual up up

    Loopback0 1.1.1.1 YES manual up up

    R1 #.

    ----------------------------

  • How do I see the IP Source address of a customer using ACE One-armed-mode of loading balance HTTP proxy request

    I use a device of 4710 Ace deployed in armed mode, use Source TAR to balancing HTTP request to a couple of Proxy servers.

    Everything works well, but the thing is that I do not see the client IP addresses on the Proxy logs, so I can't keep track of them.

    Interfaces and the Nat configs are:

    interface vlan 200

    Description of server-side-VLAN

    Bridge-Group 5

    NAT-pool 5 10.1.1.5 10.1.1.5 netmask 255.255.255.0 pat

    entered service VIP policy

    interface vlan 300

    Client-Side-VLAN description

    Bridge-Group 5

    interface bvi 5

    IP 10.1.1.3 255.255.248.0

    Interface Client-Server virtual description

    IP route 0.0.0.0 0.0.0.0 10.1.1.1

    and the policy looks like this

    Policy-map multi-game VIP

    class port 80

    Balancing vip continues

    policy of balancing port 80

    NAT Dynamics 5 vlan 200

    The resource assignment:

    Sticky ip-netmask 255.255.255.255 address two CLASSES of RESOURCES

    Timeout 5

    Serverfarm Service80

    Any suggestions will be appreciated,

    Thank you

    Hello

    You can use X-forwarded-for to insert the IP address of the client in the header Http. take a look at the link below:

    http://www.Cisco.com/en/us/products/HW/modules/ps2706/products_configura...

    Let me know if you have any questions.

    Kind regards
    Kanwal

    Sent by Cisco Support technique iPhone App

Maybe you are looking for