Landing Page Primer Tutorial

Landing Page Primer Tutorial

Landing Page Primer Tutorial

There are (at the very least) a couple of useful “equivalence” file naming ideas regarding web applications …

  • the equivalence of .jpeg and .jpg extensions … the same content can be pointed at two different ways, effectively, by a server-side programming in PHP or ASP.Net, for example … as we talked about with the “Did you know?” of FFmpeg Image Optimization Primer Tutorial
  • the hierarchical “equivalence” of .htm and .html … default Apache/PHP(/MySql) web servers have order of priority “index.htm” then “index.html” then “index.php”, IIS (hosting ASP.Net) web servers have order of priority “default.htm” then “default.html” then “default.aspx” then “default.asp” (where a URL source filename is not specified as in the RJM Programming landing page URL of //www.rjmprogramming.com.au)

For many years we’ve allowed the RJM Programming landing page URL of //www.rjmprogramming.com.au point at Apache web server [DocumentRoot]/index.html (by not having a [DocumentRoot]/index.htm exist) … that looked like …

… but as of 2/2/2016 we’ve set out to make changes which we’ll keep you up to date with. And we used this hierarchy of “.htm” and “.html” to our advantage by now having the RJM Programming landing page URL of //www.rjmprogramming.com.au point at (the newly existant) Apache web server [DocumentRoot]/index.htm which in turn calls [DocumentRoot]/index.html in an HTML iframe element, as you can see from the 2/2/2016 live run. This arrangement may change over time. This is all work in progress.

We encased the HTML iframe element above in an HTML div element and added one of our //www.rjmprogramming.com.au/ephemeral images as an HTML body element background image. So as we leave it on 2/2/2016 the RJM Programming landing page looks like …

As we continue in this series of tutorials we don’t pretend to be experts on aesthetics but we will show you some HTML and Javascript (no PHP, deliberately (read Linux sudo nohup Watchdog Primer Tutorial to get this in context, for us)) functionality ideas that could supplement some great graphical design ideas you have to start something yourself, perhaps.

Before we leave today’s pretty simple start to all this (also shown at WordPress 4.1.1’s Landing Page Primer Tutorial), we want to share with you, (perhaps in your role) as a web server administrator, where to find …

  • on Apache/PHP(/MySql) where is the “.htm” “.html” “.php” hierarchy (order) defined in CentOS WHM httpd.conf configuration file …

    <IfModule dir_module>
    DirectoryIndex index.htm index.html index.php
    </IfModule>

    … but please note the default in MAMP local web server, for instance, is …

    <IfModule dir_module>
    DirectoryIndex index.html index.php
    </IfModule>


    … not recognising .htm extension at all
  • on Apache/PHP(/MySql) where is DocumentRoot defined in (MAMP local web server) httpd.conf configuration file …
    DocumentRoot "/Applications/MAMP/htdocs"
  • a MAMP specific definition in httpd.conf statement that makes its default port be 8888 rather than the usual 80 is …
    Listen 8888

If this was interesting you may be interested in this too.

This entry was posted in eLearning, Software, Tutorials and tagged , , , , , , , , , , , , . Bookmark the permalink.

3 Responses to Landing Page Primer Tutorial

  1. Thanks a bunch for sharing this with all people you actually know what you are talking approximately! Bookmarked. Please additionally discuss with my site =). We will have a link trade arrangement among us!

  2. I think if you clean up some of the grammar mistakes you will have a very well written blog post. better than a lot of m ystuff regardless.

  3. Robert Knox says:

    I am also writing to make you know what a incredible experience my wife’s girl enjoyed visiting your webblog. She discovered a wide variety of details, which included what it’s like to have an amazing coaching nature to have other people without problems know just exactly some specialized topics. You truly surpassed visitors’ expectations. I appreciate you for displaying the invaluable, safe, educational not to mention cool guidance on your topic to Mary.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>