[thelist] Apache / Xitami / PWS woes - 3 Qs

Adrian Kearns adriank at reactor.co.nz
Tue May 30 00:53:57 2000


George!

Hi, don't know if anyone has helped yet

Before you do anything, you'll be glad to know that apache looks like
its working.
I too run apache on win95.
do the 'start apache' off the start buton.
The window will dissapear - normal.
open a browser and type 'localhost' into the address bar.
This should hook into apache and away you go.

If it doesn't, you'll have to edit the httpd.conf file in a text editor.
It's no big deal.
Once it's running just go back into the httpd.conf file and put in the 
right document root for you.

word of advise.  on the .conf file they use a hash to comment out code.
So when you want to change the exisiting code, don't erase it, just
comment it out 
and write bellow.  saved my ass once or twice.

You'll have to restart apache if you alter the httpd.conf file, apache 
only reads it on start up.

Took me while to get apache running but was well worth the effort.
 here a couple of basics to make sure of in the httpd.conf file:

### Section 2: 'Main' server configuration

   Port 80

   ServerName localhost

   DocumentRoot "C:/plunger/reactor"

   <Directory />
       Options FollowSymLinks
       AllowOverride None
   </Directory>

   <Directory "C:/plunger/reactor">

       Options Indexes FollowSymLinks MultiViews Includes

       AllowOverride None

       Order allow,deny
       Allow from all
   </Directory>

DirectoryIndex index.html index.shtml home.html home.shtml

AddType text/html .shtml
   AddHandler server-parsed .shtml

Hoope this helps.

adrian K