robot

How to restrict access to files in a folder in codeigniter

天涯浪子 提交于 2019-12-04 11:53:26
Hello I have used codeigniter to develop my website but when my website is searched in google , google shows up links to the files (pdf) in a particular folder and user can view these files (pdf) directly without login. I want to restrict google to directly show the links to these files. ex: www.mywebsite/myfolder/myfile Please guide me how can I accomplish this. Thank you. Arjun Raj A little modification from the previous answer : Place the .htaccess in your file folder with the content order deny, allow deny from all This will deny all access to that particular folder. For accessing the

Precedence of X-Robots-Tag header vs robots meta tag

被刻印的时光 ゝ 提交于 2019-12-03 11:30:39
I've placed the following Header in my vhost config: Header set X-Robots-Tag "noindex, nofollow" The goal here is to just disable search engines from indexing my testing environment. The site is Wordpress and there is a plugin installed to manage per-page the meta robots settings. For example: <meta name="robots" content="index, follow" /> So my question is, which directive will take precedence over the other since both are being set on every page? d-stroyer I am not sure if a definitive answer can be given to the question, as the behavior may be implementation-dependent (on the robot side).

Google: Disable certain querystring in robots.txt

佐手、 提交于 2019-12-03 08:19:44
问题 http://www.site.com/shop/maxi-dress?colourId=94&optId=694 http://www.site.com/shop/maxi-dress?colourId=94&optId=694&product_type=sale I have thousands of URLs like the above. Different combinations and names. I also have duplicates of these URLs which have the query string product_type=sale I want to disable Google from indexing anything with product_type=sale Is this possible in robots.txt 回答1: Google supports wildcards in robots.txt. The following directive in robots.txt will prevent

Python for Naoqi (dynamic module not initialized properly)

空扰寡人 提交于 2019-12-02 05:31:49
问题 Hi guys I am having a problem with Python and Naoqi for Pepper robot. I've set the right path to NaoqiSDK and when I run "import naoqi" I get this error: >>> import naoqi Traceback (most recent call last): File"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 548, in <module> main() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 530, in main known_paths = addusersitepackages(known_paths) File "/Library/Frameworks/Python

Python for Naoqi (dynamic module not initialized properly)

只愿长相守 提交于 2019-12-02 02:25:31
Hi guys I am having a problem with Python and Naoqi for Pepper robot. I've set the right path to NaoqiSDK and when I run "import naoqi" I get this error: >>> import naoqi Traceback (most recent call last): File"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 548, in <module> main() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 530, in main known_paths = addusersitepackages(known_paths) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 266, in addusersitepackages user_site =

How to Verify whether a Robot is Entering Information

回眸只為那壹抹淺笑 提交于 2019-12-02 01:28:39
问题 I have a web form which the users fill and the info send to server and stored on a database. I am worried that Robots might just fill in the form and I will end up with a database full of useless records. How can I prevent Robots from filling in my forms? I am thinking maybe something like Stackoverflow's robot detection, where if it thinks you are a robot, it asks you to verify that you are not. Is there a server-side API in Perl, Java or PHP? 回答1: There are several solutions. Use a CAPTCHA.

How to Verify whether a Robot is Entering Information

你说的曾经没有我的故事 提交于 2019-12-01 22:13:09
I have a web form which the users fill and the info send to server and stored on a database. I am worried that Robots might just fill in the form and I will end up with a database full of useless records. How can I prevent Robots from filling in my forms? I am thinking maybe something like Stackoverflow's robot detection, where if it thinks you are a robot, it asks you to verify that you are not. Is there a server-side API in Perl, Java or PHP? There are several solutions. Use a CAPTCHA. SO uses reCAPTCHA as far as I know. Add an extra field to your form and hide it with CSS (display:none). A

Java.awt.Robot keyPress and keyRelease not working at all

徘徊边缘 提交于 2019-12-01 11:21:31
Whenever I try using the java.awt.Robot keyPress or keyRelease, it gives me the error message pid(25807)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!! . No matter how simple I make the code, it keeps giving this error message. This is my code: package com; import java.awt.AWTException; import java.awt.Robot; import java.awt.event.InputEvent; import java.awt.event.KeyEvent; public class JavaRobotExample { public static void main(String[] args) throws AWTException { Robot robot = new Robot(); robot.keyPress

Java.awt.Robot keyPress and keyRelease not working at all

和自甴很熟 提交于 2019-12-01 07:58:43
问题 Whenever I try using the java.awt.Robot keyPress or keyRelease, it gives me the error message pid(25807)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!! . No matter how simple I make the code, it keeps giving this error message. This is my code: package com; import java.awt.AWTException; import java.awt.Robot; import java.awt.event.InputEvent; import java.awt.event.KeyEvent; public class JavaRobotExample { public

Pepper robot default image

情到浓时终转凉″ 提交于 2019-11-30 22:51:57
So i followed the guide from Pepper robot portal. That i must add Domain: com.aldebaran.system.tablet Key: MainActivity Value: image (default: opengl for the "bubble" view) Domain: com.aldebaran.system.tablet Key: MainResourceURL Value: http://198.18.0.1/apps/app-uuid/path/to/image This to robot preferences, not including the html folder. I did this but it just shows black image. Tried some variations also but it just is not working. Your database entries are correct. You must create an application in Choregraphe containing a folder named 'html' with the picture in. Your file path might look