• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Web Browser Bahavior Q?

Ichinisan

Lifer
I understand that, when a file is not specified at the end of a URL, a web browser will automatically download "index.htm" or "index.html"

However, I recently built a petition using www.petitiononline.com and noticed that I could type the URL differently than the one I was instructed to link to:
www.petitiononline.com/npc/petition.html
http://www.petitiononline.com/npc/

I assumed that the browser must have been downloading "index.htm" or "index.html", but neither work when manually specified at the end of the URL.

I'm just wondering how the browser knows to download "petition.html"...does it do a directory-listing and download the first HTML file it finds? I didn't think HTML had that capability.
 
I understand that, when a file is not specified at the end of a URL, a web browser will automatically download "index.htm" or "index.html"

You misunderstand. It's the webserver that decides what file is provided when one isn't specified.
 
Back
Top