A. You should not be getting the 'It Works' message.
B. You can't 'browse' really using Windows Explorer - it has to be a Web Browser like IE or Firefox or Chrome... They are the only objects designed to parse and render and the source (for anything dynamic) has to be a webserverr of soem sort.
C. and - In part -that would be because on the Index order. When localhost is in the browser address bar, by default XAMPP will serve index.php which is the XAMPP Welcome page. (also, In Apache, if you have an index.html file in a folder it 'turns off' directory folder browsing)
- Code: Select all
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
DirectoryIndex index.php index.pl index.cgi index.asp index.shtml index.html index.htm \
default.php default.pl default.cgi default.asp default.shtml default.html default.htm \
home.php home.pl home.cgi home.asp home.shtml home.html home.htm