PDA

View Full Version : WebServer Puppy


Cuc Tu
02-18-2010, 04:19 PM
Hi All,

I got WebServer Puppy running and wonder what I need to do so that http://localhost shows my site home page rather than the test page?

I put default.htm in the htdocs folder and it was added as a link in the test page. Does it need to be called index.htm or some other configuration?

Paul Komski
02-19-2010, 07:11 AM
I have replied to this issue at http://www.pcguide.com/vb/showpost.php?p=445424&postcount=16

By default it displays the whole wwwroot folder and the files/folders inside it and doesn't designate a default file to load which means that you need to select or use links with a full path to the file you want to load.

PS
The files for your web should be placed directly in the www folder; that is the folder that Hiawatha looks to for files to render when called from a browser.

Cuc Tu
02-19-2010, 07:27 PM
Thanks Paul. I should also have mentioned that I'm using the Apache version (there are two packages), which is configured to use the httpd folder. It seems the file absolutely had to be named index.html, too.

Paul Komski
02-20-2010, 01:47 AM
The defaults are index.html and index.php

This default configuration is to be found at /opt/lampp/etc/httpd.conf (which is the main Apache configuration file).

Open with Bluefish to see line numbering.

DocumentRoot is at line 181
DirectoryIndex is at line 244

PS
If you, with care, make correct and appropriate configuration changes then just stop and restart the Webserver from Menu >> Lamp Control Panel and refresh or reopen the browser.

I, for example, changed the DirectoryRoot to a new folder made at /opt/lampp/htdocs/aaa and added index.htm to the DirectoryIndex and then placed an index.htm file inside aaa. Bingo - once everthing restarted.

lrussell
08-04-2011, 10:07 AM
Do you possibly still have a copy of this os? I can't find it anywhere on the web! :(