Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorfloyd47
    • CommentTimeAug 12th 2009
     
    Hello folks!
    I have installed Plogger before at a different host I use without an issue whatsoever.
    This time however, I have run into a little problem that surely has a simple solution - I am just not seeing it.

    I installed Plogger in a directory called "gallery" - Then I placed the include at the very top of the page, along with the other two files in their respective places.
    The gallery will not appear on the html page. However, I can view the gallery if I enter the the absolute url.
    Now, I discovered that if I rename the page with a php extension - the gallery appears. Why does it not appear on the html page as it does on my previous installation?
    I would really like to maintain the html page extension - is there a way to do this?

    Thanks for shedding some light upon the subject for me, and thank you for a great gallery script!
    •  
      CommentAuthorsidtheduck
    • CommentTimeAug 17th 2009
     
    floyd47,

    Most of the time PHP only renders .php file extensions. If you want it to parse .html files, you may be able to add the following code in a root level .htaccess file (if your server allows it):

    PHP 4:
    # Use PHP to parse .html files
    AddHandler application/x-httpd-php .php .html .htm


    PHP 5:
    # Use PHP5 to parse .html files
    AddHandler application/x-httpd-php5 .php .html .htm


    You may have to talk to your webhost to make sure which one works for you.
    • CommentAuthorfloyd47
    • CommentTimeAug 22nd 2009
     
    That did the trick!
    Thank you so much for your help - I appreciate it!