403 http code appears when I go to a certain websiteHow to use wget or other tool to download a file, for which the link is hidden(activates on-click only)wget with wildcards in http downloadswhy would curl and wget result in a 403 forbidden?How to download files without full URL?How to get all files of a certain type from a virtual web path?WGET encountering 403 when trying to access filter - nginxCurl and Google Imageusing curl and shell script to restart apachecURL delete remote folder but ignore some filesHow do I use wget to get a file with a specific name?

What do *foreign films* mean for an American?

When Schnorr signatures are part of Bitcoin will it be possible validate each block with only one signature validation?

Proving a statement about real numbers

Finitely many repeated replacements

What is the purpose of "me" in "Je me suis trompé dans mon calcul."?

Do I really need to have a scientific explanation for my premise?

Is it a Cyclops number? "Nobody" knows!

For which categories of spectra is there an explicit description of the fibrant objects via lifting properties?

School performs periodic password audits. Is my password compromised?

Does Christianity allow for believing on someone else's behalf?

Doesn't allowing a user mode program to access kernel space memory and execute the IN and OUT instructions defeat the purpose of having CPU modes?

Street obstacles in New Zealand

How do electrons receive energy when a body is heated?

Why is a very small peak with larger m/z not considered to be the molecular ion?

What are you allowed to do while using the Warlock's Eldritch Master feature?

I can't die. Who am I?

What are some noteworthy "mic-drop" moments in math?

Doubts in understanding some concepts of potential energy

Vocabulary for giving just numbers, not a full answer

Do cubics always have one real root?

Trig Subsitution When There's No Square Root

In the late 1940’s to early 1950’s what technology was available that could melt ice?

QQ Plot and Shapiro Wilk Test Disagree

Why couldn't the separatists legally leave the Republic?



403 http code appears when I go to a certain website


How to use wget or other tool to download a file, for which the link is hidden(activates on-click only)wget with wildcards in http downloadswhy would curl and wget result in a 403 forbidden?How to download files without full URL?How to get all files of a certain type from a virtual web path?WGET encountering 403 when trying to access filter - nginxCurl and Google Imageusing curl and shell script to restart apachecURL delete remote folder but ignore some filesHow do I use wget to get a file with a specific name?













0















I wrote a PHP script to a particular site using a home computer for debugging. Script worked properly, when I tested it on a home computer. The script has stopped working when I deploy the script on the server (CentOS).



I thought, that I made a mistake when writing the script, and created this issue.



Chuan Ma suggested that the website administration blocked server IP. I wrote to the admins and they said that they do not block the IP.



My problem is that I can not go to the site using the server. I tried several tools for getting html of the site.



  1. I have tried to use the browser. I deployed on my server this script and went to the site as a real user. When I visit the site using the browser, I get an error (http code 403).



  2. I have tried curl from the command line.



    server:~# curl http://4pda.ru/
    <html>
    <head><title>403 Forbidden</title></head>
    <body bgcolor="white">
    <center><h1>403 Forbidden</h1></center>
    <hr><center>nginx</center>
    </body>
    </html>



  3. I tried the utility wget.



    server:~# wget http://4pda.ru --quiet -O -
    server:~#


I do not know what to do now. I would welcome any advice.










share|improve this question
















bumped to the homepage by Community 2 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.



















    0















    I wrote a PHP script to a particular site using a home computer for debugging. Script worked properly, when I tested it on a home computer. The script has stopped working when I deploy the script on the server (CentOS).



    I thought, that I made a mistake when writing the script, and created this issue.



    Chuan Ma suggested that the website administration blocked server IP. I wrote to the admins and they said that they do not block the IP.



    My problem is that I can not go to the site using the server. I tried several tools for getting html of the site.



    1. I have tried to use the browser. I deployed on my server this script and went to the site as a real user. When I visit the site using the browser, I get an error (http code 403).



    2. I have tried curl from the command line.



      server:~# curl http://4pda.ru/
      <html>
      <head><title>403 Forbidden</title></head>
      <body bgcolor="white">
      <center><h1>403 Forbidden</h1></center>
      <hr><center>nginx</center>
      </body>
      </html>



    3. I tried the utility wget.



      server:~# wget http://4pda.ru --quiet -O -
      server:~#


    I do not know what to do now. I would welcome any advice.










    share|improve this question
















    bumped to the homepage by Community 2 hours ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      0












      0








      0








      I wrote a PHP script to a particular site using a home computer for debugging. Script worked properly, when I tested it on a home computer. The script has stopped working when I deploy the script on the server (CentOS).



      I thought, that I made a mistake when writing the script, and created this issue.



      Chuan Ma suggested that the website administration blocked server IP. I wrote to the admins and they said that they do not block the IP.



      My problem is that I can not go to the site using the server. I tried several tools for getting html of the site.



      1. I have tried to use the browser. I deployed on my server this script and went to the site as a real user. When I visit the site using the browser, I get an error (http code 403).



      2. I have tried curl from the command line.



        server:~# curl http://4pda.ru/
        <html>
        <head><title>403 Forbidden</title></head>
        <body bgcolor="white">
        <center><h1>403 Forbidden</h1></center>
        <hr><center>nginx</center>
        </body>
        </html>



      3. I tried the utility wget.



        server:~# wget http://4pda.ru --quiet -O -
        server:~#


      I do not know what to do now. I would welcome any advice.










      share|improve this question
















      I wrote a PHP script to a particular site using a home computer for debugging. Script worked properly, when I tested it on a home computer. The script has stopped working when I deploy the script on the server (CentOS).



      I thought, that I made a mistake when writing the script, and created this issue.



      Chuan Ma suggested that the website administration blocked server IP. I wrote to the admins and they said that they do not block the IP.



      My problem is that I can not go to the site using the server. I tried several tools for getting html of the site.



      1. I have tried to use the browser. I deployed on my server this script and went to the site as a real user. When I visit the site using the browser, I get an error (http code 403).



      2. I have tried curl from the command line.



        server:~# curl http://4pda.ru/
        <html>
        <head><title>403 Forbidden</title></head>
        <body bgcolor="white">
        <center><h1>403 Forbidden</h1></center>
        <hr><center>nginx</center>
        </body>
        </html>



      3. I tried the utility wget.



        server:~# wget http://4pda.ru --quiet -O -
        server:~#


      I do not know what to do now. I would welcome any advice.







      centos wget curl http






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 23 '17 at 12:39









      Community

      1




      1










      asked Jun 28 '13 at 6:55









      DenisDenis

      11314




      11314





      bumped to the homepage by Community 2 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 2 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















          2 Answers
          2






          active

          oldest

          votes


















          0














          403 forbidden means that the webserver is configured to not allow you to do what you're trying to do. In most cases, it's either of the following:



          • The script does not have execute permissions on the server (i.e. it's uploaded with -rw-r--r-- instead of -rwxr-xr-x, or maybe -rwx------

          • The script is in a directory that the server does not have access to due to the directory/file permissions

          • The server is configured to not allow access to files in that directory (in this case, you need to look at the server's httpd.conf)

          Edited with yet another potential reason



          Another reason can be that the server is configured with mod_security, which may require a full set of HTTP headers. This is a protection against a lot of crack/dos attacks often used by script kiddies. If this is the case, make sure that your script sends the HTTP header



          User-Agent: A suitable name for your script


          If that doesn't help, you need to ask the server administrator for the site that's failing your script and ask them what their HTTP logs say.






          share|improve this answer

























          • I'm sorry, I want to clarify whether I have understood you. I have a server (VDS, CentOS). Using this server, I want to get the html code of a website. I use CURL (PHP) for this task. When I want to get, for example, the html code of the Google page, everything works correctly. When I want to get the html code of the site 4pda.ru, I get a 403 http response code. That is, the script works correctly in the general case, but it does not work for the site 4pda.ru.

            – Denis
            Jun 28 '13 at 8:00











          • OK, then I completely misunderstood you - I thought you meant that you were trying to access your own script. I think I may have an idea though; let me edit my answer.

            – Jenny D
            Jun 28 '13 at 8:55












          • I've edited my answer now. I have seen that particular issue several times as the place I work with is using mod_security, and about every three months I get some script developer asking me why their script doesn't work for our site.

            – Jenny D
            Jun 28 '13 at 9:01











          • Jenny D, thanks for the new answer. Unfortunately, I am sending identical user request headers. You're probably right, I have to again talk to the administrator.

            – Denis
            Jun 28 '13 at 9:10











          • Darn. It might be some other header they're requesting though - but yes, at this point all we have is guesses. I hope you get a good answer from your sysadmin!

            – Jenny D
            Jun 28 '13 at 9:13


















          0














          Try this with the needed URL (I write google as an example):



          wget --header="User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/600.1.17 (KHTML, like Gecko) Version/8.0 Safari/600.1.17" 'https://www.google.es'





          share|improve this answer























          • Why would the website require a particular user agent?

            – RalfFriedl
            Oct 10 '18 at 18:42











          • To skip a header check in same cases like https. The goal is to obtain the same content as what you see in a normal Web browser

            – Carlos AG
            Oct 10 '18 at 18:57











          • But the question already says "When I visit the site using the browser, I get an error (http code 403)."

            – RalfFriedl
            Oct 11 '18 at 7:20











          • HTTP 403 is returned when the client is not permitted access to the resource for some reason besides authentication. For instance: cookies, etc.

            – Carlos AG
            Oct 13 '18 at 17:57











          • Possible causes: en.wikipedia.org/wiki/…

            – Carlos AG
            Oct 13 '18 at 17:58










          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f80983%2f403-http-code-appears-when-i-go-to-a-certain-website%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          403 forbidden means that the webserver is configured to not allow you to do what you're trying to do. In most cases, it's either of the following:



          • The script does not have execute permissions on the server (i.e. it's uploaded with -rw-r--r-- instead of -rwxr-xr-x, or maybe -rwx------

          • The script is in a directory that the server does not have access to due to the directory/file permissions

          • The server is configured to not allow access to files in that directory (in this case, you need to look at the server's httpd.conf)

          Edited with yet another potential reason



          Another reason can be that the server is configured with mod_security, which may require a full set of HTTP headers. This is a protection against a lot of crack/dos attacks often used by script kiddies. If this is the case, make sure that your script sends the HTTP header



          User-Agent: A suitable name for your script


          If that doesn't help, you need to ask the server administrator for the site that's failing your script and ask them what their HTTP logs say.






          share|improve this answer

























          • I'm sorry, I want to clarify whether I have understood you. I have a server (VDS, CentOS). Using this server, I want to get the html code of a website. I use CURL (PHP) for this task. When I want to get, for example, the html code of the Google page, everything works correctly. When I want to get the html code of the site 4pda.ru, I get a 403 http response code. That is, the script works correctly in the general case, but it does not work for the site 4pda.ru.

            – Denis
            Jun 28 '13 at 8:00











          • OK, then I completely misunderstood you - I thought you meant that you were trying to access your own script. I think I may have an idea though; let me edit my answer.

            – Jenny D
            Jun 28 '13 at 8:55












          • I've edited my answer now. I have seen that particular issue several times as the place I work with is using mod_security, and about every three months I get some script developer asking me why their script doesn't work for our site.

            – Jenny D
            Jun 28 '13 at 9:01











          • Jenny D, thanks for the new answer. Unfortunately, I am sending identical user request headers. You're probably right, I have to again talk to the administrator.

            – Denis
            Jun 28 '13 at 9:10











          • Darn. It might be some other header they're requesting though - but yes, at this point all we have is guesses. I hope you get a good answer from your sysadmin!

            – Jenny D
            Jun 28 '13 at 9:13















          0














          403 forbidden means that the webserver is configured to not allow you to do what you're trying to do. In most cases, it's either of the following:



          • The script does not have execute permissions on the server (i.e. it's uploaded with -rw-r--r-- instead of -rwxr-xr-x, or maybe -rwx------

          • The script is in a directory that the server does not have access to due to the directory/file permissions

          • The server is configured to not allow access to files in that directory (in this case, you need to look at the server's httpd.conf)

          Edited with yet another potential reason



          Another reason can be that the server is configured with mod_security, which may require a full set of HTTP headers. This is a protection against a lot of crack/dos attacks often used by script kiddies. If this is the case, make sure that your script sends the HTTP header



          User-Agent: A suitable name for your script


          If that doesn't help, you need to ask the server administrator for the site that's failing your script and ask them what their HTTP logs say.






          share|improve this answer

























          • I'm sorry, I want to clarify whether I have understood you. I have a server (VDS, CentOS). Using this server, I want to get the html code of a website. I use CURL (PHP) for this task. When I want to get, for example, the html code of the Google page, everything works correctly. When I want to get the html code of the site 4pda.ru, I get a 403 http response code. That is, the script works correctly in the general case, but it does not work for the site 4pda.ru.

            – Denis
            Jun 28 '13 at 8:00











          • OK, then I completely misunderstood you - I thought you meant that you were trying to access your own script. I think I may have an idea though; let me edit my answer.

            – Jenny D
            Jun 28 '13 at 8:55












          • I've edited my answer now. I have seen that particular issue several times as the place I work with is using mod_security, and about every three months I get some script developer asking me why their script doesn't work for our site.

            – Jenny D
            Jun 28 '13 at 9:01











          • Jenny D, thanks for the new answer. Unfortunately, I am sending identical user request headers. You're probably right, I have to again talk to the administrator.

            – Denis
            Jun 28 '13 at 9:10











          • Darn. It might be some other header they're requesting though - but yes, at this point all we have is guesses. I hope you get a good answer from your sysadmin!

            – Jenny D
            Jun 28 '13 at 9:13













          0












          0








          0







          403 forbidden means that the webserver is configured to not allow you to do what you're trying to do. In most cases, it's either of the following:



          • The script does not have execute permissions on the server (i.e. it's uploaded with -rw-r--r-- instead of -rwxr-xr-x, or maybe -rwx------

          • The script is in a directory that the server does not have access to due to the directory/file permissions

          • The server is configured to not allow access to files in that directory (in this case, you need to look at the server's httpd.conf)

          Edited with yet another potential reason



          Another reason can be that the server is configured with mod_security, which may require a full set of HTTP headers. This is a protection against a lot of crack/dos attacks often used by script kiddies. If this is the case, make sure that your script sends the HTTP header



          User-Agent: A suitable name for your script


          If that doesn't help, you need to ask the server administrator for the site that's failing your script and ask them what their HTTP logs say.






          share|improve this answer















          403 forbidden means that the webserver is configured to not allow you to do what you're trying to do. In most cases, it's either of the following:



          • The script does not have execute permissions on the server (i.e. it's uploaded with -rw-r--r-- instead of -rwxr-xr-x, or maybe -rwx------

          • The script is in a directory that the server does not have access to due to the directory/file permissions

          • The server is configured to not allow access to files in that directory (in this case, you need to look at the server's httpd.conf)

          Edited with yet another potential reason



          Another reason can be that the server is configured with mod_security, which may require a full set of HTTP headers. This is a protection against a lot of crack/dos attacks often used by script kiddies. If this is the case, make sure that your script sends the HTTP header



          User-Agent: A suitable name for your script


          If that doesn't help, you need to ask the server administrator for the site that's failing your script and ask them what their HTTP logs say.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jun 28 '13 at 9:00

























          answered Jun 28 '13 at 7:43









          Jenny DJenny D

          10.6k22746




          10.6k22746












          • I'm sorry, I want to clarify whether I have understood you. I have a server (VDS, CentOS). Using this server, I want to get the html code of a website. I use CURL (PHP) for this task. When I want to get, for example, the html code of the Google page, everything works correctly. When I want to get the html code of the site 4pda.ru, I get a 403 http response code. That is, the script works correctly in the general case, but it does not work for the site 4pda.ru.

            – Denis
            Jun 28 '13 at 8:00











          • OK, then I completely misunderstood you - I thought you meant that you were trying to access your own script. I think I may have an idea though; let me edit my answer.

            – Jenny D
            Jun 28 '13 at 8:55












          • I've edited my answer now. I have seen that particular issue several times as the place I work with is using mod_security, and about every three months I get some script developer asking me why their script doesn't work for our site.

            – Jenny D
            Jun 28 '13 at 9:01











          • Jenny D, thanks for the new answer. Unfortunately, I am sending identical user request headers. You're probably right, I have to again talk to the administrator.

            – Denis
            Jun 28 '13 at 9:10











          • Darn. It might be some other header they're requesting though - but yes, at this point all we have is guesses. I hope you get a good answer from your sysadmin!

            – Jenny D
            Jun 28 '13 at 9:13

















          • I'm sorry, I want to clarify whether I have understood you. I have a server (VDS, CentOS). Using this server, I want to get the html code of a website. I use CURL (PHP) for this task. When I want to get, for example, the html code of the Google page, everything works correctly. When I want to get the html code of the site 4pda.ru, I get a 403 http response code. That is, the script works correctly in the general case, but it does not work for the site 4pda.ru.

            – Denis
            Jun 28 '13 at 8:00











          • OK, then I completely misunderstood you - I thought you meant that you were trying to access your own script. I think I may have an idea though; let me edit my answer.

            – Jenny D
            Jun 28 '13 at 8:55












          • I've edited my answer now. I have seen that particular issue several times as the place I work with is using mod_security, and about every three months I get some script developer asking me why their script doesn't work for our site.

            – Jenny D
            Jun 28 '13 at 9:01











          • Jenny D, thanks for the new answer. Unfortunately, I am sending identical user request headers. You're probably right, I have to again talk to the administrator.

            – Denis
            Jun 28 '13 at 9:10











          • Darn. It might be some other header they're requesting though - but yes, at this point all we have is guesses. I hope you get a good answer from your sysadmin!

            – Jenny D
            Jun 28 '13 at 9:13
















          I'm sorry, I want to clarify whether I have understood you. I have a server (VDS, CentOS). Using this server, I want to get the html code of a website. I use CURL (PHP) for this task. When I want to get, for example, the html code of the Google page, everything works correctly. When I want to get the html code of the site 4pda.ru, I get a 403 http response code. That is, the script works correctly in the general case, but it does not work for the site 4pda.ru.

          – Denis
          Jun 28 '13 at 8:00





          I'm sorry, I want to clarify whether I have understood you. I have a server (VDS, CentOS). Using this server, I want to get the html code of a website. I use CURL (PHP) for this task. When I want to get, for example, the html code of the Google page, everything works correctly. When I want to get the html code of the site 4pda.ru, I get a 403 http response code. That is, the script works correctly in the general case, but it does not work for the site 4pda.ru.

          – Denis
          Jun 28 '13 at 8:00













          OK, then I completely misunderstood you - I thought you meant that you were trying to access your own script. I think I may have an idea though; let me edit my answer.

          – Jenny D
          Jun 28 '13 at 8:55






          OK, then I completely misunderstood you - I thought you meant that you were trying to access your own script. I think I may have an idea though; let me edit my answer.

          – Jenny D
          Jun 28 '13 at 8:55














          I've edited my answer now. I have seen that particular issue several times as the place I work with is using mod_security, and about every three months I get some script developer asking me why their script doesn't work for our site.

          – Jenny D
          Jun 28 '13 at 9:01





          I've edited my answer now. I have seen that particular issue several times as the place I work with is using mod_security, and about every three months I get some script developer asking me why their script doesn't work for our site.

          – Jenny D
          Jun 28 '13 at 9:01













          Jenny D, thanks for the new answer. Unfortunately, I am sending identical user request headers. You're probably right, I have to again talk to the administrator.

          – Denis
          Jun 28 '13 at 9:10





          Jenny D, thanks for the new answer. Unfortunately, I am sending identical user request headers. You're probably right, I have to again talk to the administrator.

          – Denis
          Jun 28 '13 at 9:10













          Darn. It might be some other header they're requesting though - but yes, at this point all we have is guesses. I hope you get a good answer from your sysadmin!

          – Jenny D
          Jun 28 '13 at 9:13





          Darn. It might be some other header they're requesting though - but yes, at this point all we have is guesses. I hope you get a good answer from your sysadmin!

          – Jenny D
          Jun 28 '13 at 9:13













          0














          Try this with the needed URL (I write google as an example):



          wget --header="User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/600.1.17 (KHTML, like Gecko) Version/8.0 Safari/600.1.17" 'https://www.google.es'





          share|improve this answer























          • Why would the website require a particular user agent?

            – RalfFriedl
            Oct 10 '18 at 18:42











          • To skip a header check in same cases like https. The goal is to obtain the same content as what you see in a normal Web browser

            – Carlos AG
            Oct 10 '18 at 18:57











          • But the question already says "When I visit the site using the browser, I get an error (http code 403)."

            – RalfFriedl
            Oct 11 '18 at 7:20











          • HTTP 403 is returned when the client is not permitted access to the resource for some reason besides authentication. For instance: cookies, etc.

            – Carlos AG
            Oct 13 '18 at 17:57











          • Possible causes: en.wikipedia.org/wiki/…

            – Carlos AG
            Oct 13 '18 at 17:58















          0














          Try this with the needed URL (I write google as an example):



          wget --header="User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/600.1.17 (KHTML, like Gecko) Version/8.0 Safari/600.1.17" 'https://www.google.es'





          share|improve this answer























          • Why would the website require a particular user agent?

            – RalfFriedl
            Oct 10 '18 at 18:42











          • To skip a header check in same cases like https. The goal is to obtain the same content as what you see in a normal Web browser

            – Carlos AG
            Oct 10 '18 at 18:57











          • But the question already says "When I visit the site using the browser, I get an error (http code 403)."

            – RalfFriedl
            Oct 11 '18 at 7:20











          • HTTP 403 is returned when the client is not permitted access to the resource for some reason besides authentication. For instance: cookies, etc.

            – Carlos AG
            Oct 13 '18 at 17:57











          • Possible causes: en.wikipedia.org/wiki/…

            – Carlos AG
            Oct 13 '18 at 17:58













          0












          0








          0







          Try this with the needed URL (I write google as an example):



          wget --header="User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/600.1.17 (KHTML, like Gecko) Version/8.0 Safari/600.1.17" 'https://www.google.es'





          share|improve this answer













          Try this with the needed URL (I write google as an example):



          wget --header="User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/600.1.17 (KHTML, like Gecko) Version/8.0 Safari/600.1.17" 'https://www.google.es'






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Oct 10 '18 at 18:35









          Carlos AGCarlos AG

          101




          101












          • Why would the website require a particular user agent?

            – RalfFriedl
            Oct 10 '18 at 18:42











          • To skip a header check in same cases like https. The goal is to obtain the same content as what you see in a normal Web browser

            – Carlos AG
            Oct 10 '18 at 18:57











          • But the question already says "When I visit the site using the browser, I get an error (http code 403)."

            – RalfFriedl
            Oct 11 '18 at 7:20











          • HTTP 403 is returned when the client is not permitted access to the resource for some reason besides authentication. For instance: cookies, etc.

            – Carlos AG
            Oct 13 '18 at 17:57











          • Possible causes: en.wikipedia.org/wiki/…

            – Carlos AG
            Oct 13 '18 at 17:58

















          • Why would the website require a particular user agent?

            – RalfFriedl
            Oct 10 '18 at 18:42











          • To skip a header check in same cases like https. The goal is to obtain the same content as what you see in a normal Web browser

            – Carlos AG
            Oct 10 '18 at 18:57











          • But the question already says "When I visit the site using the browser, I get an error (http code 403)."

            – RalfFriedl
            Oct 11 '18 at 7:20











          • HTTP 403 is returned when the client is not permitted access to the resource for some reason besides authentication. For instance: cookies, etc.

            – Carlos AG
            Oct 13 '18 at 17:57











          • Possible causes: en.wikipedia.org/wiki/…

            – Carlos AG
            Oct 13 '18 at 17:58
















          Why would the website require a particular user agent?

          – RalfFriedl
          Oct 10 '18 at 18:42





          Why would the website require a particular user agent?

          – RalfFriedl
          Oct 10 '18 at 18:42













          To skip a header check in same cases like https. The goal is to obtain the same content as what you see in a normal Web browser

          – Carlos AG
          Oct 10 '18 at 18:57





          To skip a header check in same cases like https. The goal is to obtain the same content as what you see in a normal Web browser

          – Carlos AG
          Oct 10 '18 at 18:57













          But the question already says "When I visit the site using the browser, I get an error (http code 403)."

          – RalfFriedl
          Oct 11 '18 at 7:20





          But the question already says "When I visit the site using the browser, I get an error (http code 403)."

          – RalfFriedl
          Oct 11 '18 at 7:20













          HTTP 403 is returned when the client is not permitted access to the resource for some reason besides authentication. For instance: cookies, etc.

          – Carlos AG
          Oct 13 '18 at 17:57





          HTTP 403 is returned when the client is not permitted access to the resource for some reason besides authentication. For instance: cookies, etc.

          – Carlos AG
          Oct 13 '18 at 17:57













          Possible causes: en.wikipedia.org/wiki/…

          – Carlos AG
          Oct 13 '18 at 17:58





          Possible causes: en.wikipedia.org/wiki/…

          – Carlos AG
          Oct 13 '18 at 17:58

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f80983%2f403-http-code-appears-when-i-go-to-a-certain-website%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          -centos, curl, http, wget

          Popular posts from this blog

          Word for a person who has no opinion about whether god existsWord for having a definite opinion while simultaneously withholding judgment?What's the opposite of “newcomer? Is ”veteran" OK?What do you call an “atheist” who might believe in an afterlife?What's a word for someone who wants to voice opinions but not have them challenged?Word for someone who dismisses contrary opinions as irrational?Somone who thinks they are overly special/out of the ordinaryIs there a word, phrase or idiom for “a person who is incapable of thinking about the future”?The belief that a god is human-likeA word for a non-famous person/thing you have heard a lot aboutAdjective for a person who enjoys taking care of their appearance

          What was this official D&D 3.5e Lovecraft-flavored rulebook?What was this set of RPG tools called?As a first-time DM should I let my players play complex character classes and roles?Nymph's Kiss and the RelationshipWhat was the name of this Cleric Prestige Class that shapes metal with its bare hands?Are the 3.5e Dragonlance books third party or official works?What's up with the domain Vile Darkness?What was this 80s book about RPGs?What was the name of this Werewolf band?What book had Rituals to “upgrade” animal companions to keep them viable at higher levels?What was this RPG that had rules for player-owned businesses?

          2017 IndyCar Series Contents Series news Teams and drivers Schedule Season summary Footnotes References External links Navigation menu"INDYCAR: Initial 2018 bodywork concepts unveiled"the original"IndyCar confirms switch to Performance Friction brakes in 2017""AJ Foyt Racing will switch to Chevy"the original"Carlos Munoz, Conor Daly will drive for AJ Foyt Racing""Zach Veach's Indy 500 Debut Confirmed with Foyt""No mass exodus from Honda after Ganassi switch""Ex-F1 driver Sato joins Andretti Autosport for 2017 IndyCar season""IndyCar's Ryan Hunter-Reay, sponsor DHL paired through 2020""hhgregg and Andretti Autosport announce partnership for key races in 2016""INDYCAR: Rossi re-signs with Andretti"the original"McLaren Formula 1 - Fernando Alonso to race at Indy 500 with McLaren, Honda and Andretti Autosport""Shank will finally take part in Indy 500 with Harvey, Andretti | MotorSportsTalk""Andretti adds Jack Harvey to Indy 500 field""Ganassi switches to Honda power for 2017""INDYCAR: Chilton returns to Ganassi"the original"IndyCar silly season: Who's going where in 2017?""INDYCAR: Kanaan, NTT Data return to Ganassi"the original"Kimball to remain at Ganassi for 2017""Coyne confirms Bourdais for 2017 IndyCar season""Davison to sub for Bourdais in Indy 500"the original"Gutierrez confirmed for Detroit IndyCar debut""Gutierrez returns with Coyne for rest of 2017 season""Vautier to drive for Coyne at Texas"the original"INDYCAR: Coyne confirms Jones for 2017"the original"Pippa Mann returns to Coyne for Indy 500""Karam, Dreyer & Reinbold teaming up again for Indianapolis 500""Pigot to return to Ed Carpenter Racing""Hildebrand confirmed as full-time Ed Carpenter driver""Veach to replace injured Hildebrand at Barber"the originalNew Team Harding Racing Enters Chaves for 101st Indianapolis 500"Juncos Racing Announces Entry in 101st Running of the Indianapolis 500 :: Juncos Racing""Juncos confirms Pigot for Indy 500""Saavedra confirmed in Juncos' second 500 entry"the original"Lazier confirms Indy 500 run after son's USF2000 debut"the original"Claman DeMelo to race for RLLR at Sonoma"the original"Rahal signs Servia and ace engineer for 2017""IndyCar: Aleshin returns with Schmidt"the original"Aleshin replaced by Saavedra for Toronto""Jack Harvey will pilot SPM No. 7 car at Watkins Glen, Sonoma""Jay Howard confirmed in Tony Stewart's supported SPM Indy entry""INDYCAR: Newgarden to wave the flag at Penske"the original"Pagenaud opts for No. 1 in 2017"the original"Penske confirms Newgarden for 2017""Montoya to stay with Team Penske in 2017""Target leaving IndyCar after 27 seasons with Chip Ganassi""Cavin: IndyCar could see complete driver/team shakeup in 2017""End of the road for KV Racing?""KV Racing confirms closure, equipment sold to Juncos""Juncos confirms IndyCar Series entry"the original"Juncos readies IndyCar program, aims for '17 500"the original"Harding Racing to add Texas, Pocono to schedule"the original"Sato signs with Andretti Autosport for 2017""INDYCAR: Aleshin in Doubt at SPM"the original"Long Beach notebook: JR Hildebrand breaks hand""Hildebrand cleared to return at Phoenix"the original"Bourdais to undergo surgery on multiple fractures""Aleshin loses Schmidt Peterson IndyCar ride""Saavedra in at SPM for Pocono, Gateway"the original"Bourdais to make return at Gateway"the original"The IndyCar Grand Prix no longer is sponsored by Angie's List""2017 IndyCar Series rulebook""2017 Verizon IndyCar Series Official Rulebook"Official websiteeeeee