HTML - Blocking External Redirects
I have uploaded a file containing a timesheet for my users to be able to access and print off to fill in their hours. But I dont want anyone else accessing it because the timesheet contains phone/fax numbers, email address's etc.
How can I make it so that only redirected traffic will be able to access/see it? e.g www. mywebsite.com /files/ timehseet.htm Access granted? If redirect= 'www. mywebsite.com /forum/index.234234q3434' then YES Else then NO If that makes sense. I am pretty sure I have to add somthing in .htaccess but not sure what. And do I make the htaccess file in the folder of the file in question? e.g www. mywebsite /files/.htaccess ?? Similar TutorialsI am completely re-structuring my website - same content but different directory structure and page names. I have completed stage 1, the duplication of content, and am now doing stage 2, removing the content from the old pages (so Google no longer sends searches there) and replacing it with manual redirects. Stage 3 will be to remove the old content. But it isn't happening exactly as I would like - it seems Google retains some old indexing even after it has a new sitemap and has trawled the site. So I fear that the redirect pages may take some time to disappear off Google's index, and when I remove the redirect pages people will still try to go there, which will be frustrating for them. My question is this. Is there a way to set up the following: (1) Anyone going to my site and finding a page doesn't exist is picked up by an error routine which directs them to an error page? (2) Provide on the error page an auto re-direct to the new home page? I'm sure the latter can be done, but I would appreciate a pointer on how to do it please. (1) is done in some software, and I think I've seen it done on the web, but I haven't a clue how. Any ideas please? Thanks. I Really Need to ban this person from my website, she gets reminded of things when she visits mine and puts it on hers and she even rips off my layouts etc., how can i ban this person from visiting my website? Thanks for all your help I've searched & searched, googled, etc., but no go. I'm looking for some type of list that shows the isp's for the entire country of china. I have a factory there and am producing a new product, but do not want them to copy it. Where can I find a list that shows the isp's there? Or, how can I block that entire country? Thanks in advance. people who are html smart, I run a yacht club in Milwaukee and I've built a private web-site for our members. I am a better sailor then I am a web-developer and I have one question. My site allows members to post notes. I don't want anyone to be able to post links. I need a bit of code that kills a link after it has been posted. I don't want their post itself to be blocked or the link wordage to be blocked but I want the link to become dead. In other words, someone posts: ....so all you have to do is click here to go to the site... I need code that makes it so if someone clicks 'click here' it takes them nowhere or it does nothing. So it just makes their link a sentence and not a link. If someone can provide me that code I'll give you a free dinner at my club (assuming you get to Milwaukee ever). Thanks, Brett wi_yacht_club@yahoo.com I have got a problem with one user or maybe several from a specific country who harrasing my site. I wont to block him. Im blocking his different ip:s but then he gets another from the same country. so I want to block the whole country. Is this possible? How do I do block a whole country from entering my site? Thanks a lot Perik ok so i made it when u click page X it loads page Y page X = password page page Y = password protected page i have made it so in page X you need to type a password, and if you type it correctly it loads page Y, this works perfect and there is no problem my problem is anyone can just copy and paste in the page Y link in the address bar and it will load the page, i want to block the page when you don't type in the correct password in page X thanks Hi guys, I would like to block visitors from certain websites and if possible display a message that my website is no longer available. Please help me with this. It's crucially important. Thanks in advance This is a parental control feature? How do you make a page (my home page) that will recognize that the person is on a mobile device (mostly ipod/iphone but regular phones too) and redirect to a wap page? Like wap.dawgtalk.com? Can this be done in a html page? And how do you do it? http://oasisenergyconsultants.com/test.html I have 2 major problems right now: 1. my image is blocking/overlapping the numbers of a numbered list 2. my image has a border around it I can't remove. typically I add border="0", but that doesn't seem to be working this time. as you can see, the border is very visible. I'm hoping someone can give me some pointers to fix these 2 problems.. thanks Hi everyone, I have a Flash movie embeded in HTML document and I'm using 100% width and height so that users can resize the flash to fit their screens. BUT on small screens (iBook 12") 1024 x 768 the movis is too small and unreadable. The Flash movie original size is 766 x 780. Is there a way to keep the resizing but to block it when it gets down to a ceratin size??? I would love to know the answer. Please any help would be gratefully recieved. Thanks for your time in advance, Martin Hi folks. I suspect this a total noob type question but I can't find anything in DW help or by searching so here goes. I have a page with frames. In one of the frames I want an external URL to be displayed rather than content from the mother site, if that makes any sense. I don't mean asa a link, I mean the actual content to be displayed. How do I do that? Something like... TopFrame = ./top.html LeftFrame = ./left.html BottomFrame = someother.domain/fred.html And they all get shown when the page is loaded. Ta muchly for your help! Simon. I have managed to get an external style sheet to work on 7 of my 8 pages. I cannot figure out why it will not work on the 8th page. The code was copied and then modified to fit the new page so there should be no reason it shouldn't work. http://ironhillsclan.com the forum page (rules.html) is the only on that doesn't work. Any ideas? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Dagorhir | Iron Hills Clan: Forum Rules</title> <link rel="stylesheet" type="text/css" href="style.css"/> <meta name="keywords" content="iron,hills,dagorhir,larp,sword,fighting,clan,ragnarok,battle,forum,rules"/> <meta name="description" content="These are the rules for our fourm, please abide by them for the sake of all."/> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Language" content="EN-GB"> <script type="text/javascript"> function show_confirm() { var r=confirm("By choosing yes you agree that you have read, understand, and will abide by the terms of use."); if (r==true) { location.href = "phpBB3/index.php" } else { location.href = "index.html" } } </script> </head> <body> ... </body> </html> Is it possible to log the amount of times an external link has been clicked on your site? Could anyone please tell me the code to call an external html file? I need to refresh my memories! Hi there, I am looking for a way that if a user clicks on a button on my website it will autofill a search field on a website that I have no control over. I have been told that I just need to add the url http://www.externalsite.com?fieldname=123456789 This doesn't seem to work. Can anyone help with this? I want to be able to transfer all the code in my menu to an external stylesheet. The menu can be seen at www.brand-newhomes.co.uk/page135.htm Thus far I have: Made a file called "menustyle.css" and uploaded it to the root of my server. I then pasted the link:- <link rel="stylesheet" href="menustyle.css" type="text/css"> into the head code and no menu is displayed. I then cut and pasted the rest into a file and called it " stylesheet.js " and uploaded it to the root in my server. I then linked to this as <link rel="stylesheet" href="stylesheet.js" type="text/javascript"> into the body code. It didnt work. What have I done wrong? I have an html application consisted of a number of html files, js files and css files. Is it possible to have an external property file where I can keep the name of the server so as to use a variable for the urls? For example to have something there like nameOfTheUrl=andreana and in the html file to have something like http://nameOfTheUrl/content/index.html My server has java but it is not a servlet container so I can not use jsp. Hi, I am having some difficulty with the "datascr" tag for marquee and a few others, including div. Would anyone please upload 2 files the first being html with a maruqee or a div with exertnal data using the datascr="#asdasdf" formatdatas="text" tags. Because I have tried numerous times WITH NO SUCCESS!!!! I tried just about everything and it desen't cath the external file. Thanks in advance. |