Skip to content

Instantly share code, notes, and snippets.

@ShubhamPy
Created December 21, 2020 18:08
Show Gist options
  • Save ShubhamPy/0ec312475f53a5bb17f20edd75498b8a to your computer and use it in GitHub Desktop.
Save ShubhamPy/0ec312475f53a5bb17f20edd75498b8a to your computer and use it in GitHub Desktop.

Revisions

  1. ShubhamPy created this gist Dec 21, 2020.
    15 changes: 15 additions & 0 deletions webrootFiles.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    First, find directory names for the webroot. This would typically be www or public or something like that. How can we recognize these? By the files they contain. If a directory contains favicon.ico or index.html or robots.txt, it is pretty likely to be a webroot. Especially for robots.txt, because that only works if it is served on the root of the server.
    .gitignore or README.md

    Some Directories paths:

    public
    web
    static
    app
    assets
    templates
    docs
    dist
    www
    src