On foot" and "by foot" both mean to walk or to travel by walking. They are interchangeable and can be used to describe the mode of transportation a person is using. For example, you might say, "I traveled to the store on foot" or "I traveled to the store by foot." Both of these sentences mean that you walked to the store.