• Re: VSCode, Liveserver and Chrome

    From Kristjan Robam@kristjanrobam1983@outlook.com to comp.lang.php on Sat Oct 14 04:00:00 2023
    From Newsgroup: comp.lang.php

    Check out:
    futureplacewheretobetogether.medianewsonline.com futuremeetupplace.medianewsonline.com
    futurechatplace.medianewsonline.com gettingtoknowyourfutureplace.medianewsonline.com thegettogetherplace.medianewsonline.com
    themeetupplace.medianewsonline.com gettingtoknowyourfuturehusband.medianewsonline.com gettingtogether.medianewsonline.com
    gettingknownnewpeople.medianewsonline.com forthosewhofeellonely.medianewsonline.com forlonelypeopletogettogether.medianewsonline.com lonelypeoplegettingtogetherplace.medianewsonline.com meetupingforlonelyones.medianewsonline.com meetupingforthelonely.myartsonline.com meetupingforthelonelyones.medianewsonline.com gettingtogetherplaceforthelonely.medianewsonline.com lonelypeoplemeetupplace.medianewsonline.com
    gettintogether.web1337.net
    forgettingtogether.10001mb.com
    gettingtogether.10001mb.com
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    On Monday, August 19, 2019 at 10:10:25rC>PM UTC+3, Lew Pitcher wrote:
    Call Me Tom wrote:

    <lew.p...@digitalfreehold.ca> wrote:

    Call Me Tom wrote:

    I'm using VS Code for creating my PHP files. I'm trying to get
    liveserver to work with PHP files.It works fine with an HTML file. I
    have installed the live server extension in chrome and the live reload >>> button is on. When I go live in VSC all I get in Chrome is a
    directory listing. I am using a default XAMPP installation.

    What is the actual server address that should be entered in Chrome?
    Any other suggestions would be appreciated.

    Apparently, some variation of http://localhost/ or http://127.0.0.1/

    At least, according to the XAMPP FAQ

    Thanks Lew. I tried both of those and all I get is a directory
    listing.
    See other post.
    Plus, you might also look at the faq question

    "What are "Automatic start pages" for the WWW directories?"
    The standard filename for the Apache function "DirectoryIndex" is "index.html" or "index.php". Every time you are just browsing to a
    folder (e.g. "http://localhost/xampp/"), and Apache can find such a
    file, Apache is displaying this file instead of a directory listing.

    Note that last line

    HTH
    --
    Lew Pitcher
    "In Skills, We Trust"
    --- Synchronet 3.21d-Linux NewsLink 1.2