Skip to main content

Blocking view-source: protocol

Comments

2 comments

  • quietFinn
    "view-source" is use by the browser, it has nothing to do with the web server, so you can't block it in .htaccess
    0
  • cPRex Jurassic Moderator
    What @quietFinn said - once the code is loaded in the browser, the request to Apache/the webserver has already completed, and then the view source command is just the browser letting you read the raw data of what is being displayed. It doesn't make an additional request to the server to do so.
    0

Please sign in to leave a comment.