Apache DirectoryIndex and VirtualHost problem. Plz Help!!

Apache DirectoryIndex and VirtualHost problem. Plz Help!!

Post by Mark » Thu, 07 Sep 2000 05:28:33



And by the way, if I recall correctly, this is one of those cases where
you cannot simply restart Apache.  You have to fully stop it, then
start it before it all takes effect.

Mark



Quote:> Hello,
>     I've setup my apache server without a glitch. It runs smoothly,
but now
> I want to add a VirtualHost.  It works fine : both adresses are
accesible
> from the web and the server handles the accesses correctly.  Except
for one
> thing.  In one of my virtual hosts, I want the directory index to be
> index.shtml.  I added the line
> DirectoryIndex index.shtml index.html
> in the default context.  It didn't work: the virtual host using
index.shtml
> returns a 404 saying it can't find index.html.  So I added the line
in the
> virtual host section, didn't work either!  I then added the line in
the
> Directory section describing the root of that virtual host and it
still
> didn't work!  What's going on?!?!

>     Please help me!
>         Phil

--
Please reply to this newsgroup as my Deja mail
is used as a spam catcher only!

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Apache DirectoryIndex and VirtualHost problem. Plz Help!!

Post by Mark » Thu, 07 Sep 2000 05:26:42




Quote:> Hello,
>     I've setup my apache server without a glitch. It runs smoothly,
but now
> I want to add a VirtualHost.  It works fine : both adresses are
accesible
> from the web and the server handles the accesses correctly.  Except
for one
> thing.  In one of my virtual hosts, I want the directory index to be
> index.shtml.  I added the line
> DirectoryIndex index.shtml index.html

Did you put that in srm.conf?  That's where it's at in mine....

Mark

--
Please reply to this newsgroup as my Deja mail
is used as a spam catcher only!

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

1. plz plz plz help.

it seems that i cannot get my eth0 to come up on my laptop. after reviewing
the boot log i can see that my pcmcia services are working fine and the
correct driver is installed

here is a snip of the boot log

Dec 28 16:11:03 c1319937-a pcmcia: Starting PCMCIA services:
Dec 28 16:11:03 c1319937-a pcmcia:  modules
Dec 28 16:11:03 c1319937-a kernel: Linux PCMCIA Card Services 3.1.19
Dec 28 16:11:03 c1319937-a kernel:   kernel build: 2.2.16-22 #1 Tue Aug 22
16:49:06 EDT 2000
Dec 28 16:11:03 c1319937-a kernel:   options:  [pci] [cardbus] [apm]
Dec 28 16:11:03 c1319937-a kernel: PCI routing table version 1.0 at 0xfbda0
Dec 28 16:11:03 c1319937-a kernel:   00:03.0 -> irq 11
Dec 28 16:11:03 c1319937-a kernel:   00:03.1 -> irq 11
Dec 28 16:11:03 c1319937-a kernel: Intel PCIC probe:
Dec 28 16:11:03 c1319937-a kernel:   TI 1225 rev 01 PCI-to-CardBus at slot
00:03, mem 0x68000000
Dec 28 16:11:03 c1319937-a kernel:     host opts [0]: [ring] [serial pci &
irq] [pci irq 11] [lat 32/32] [bus 32/34]
Dec 28 16:11:03 c1319937-a kernel:     host opts [1]: [ring] [serial pci &
irq] [pci irq 11] [lat 32/32] [bus 35/37]
Dec 28 16:11:03 c1319937-a kernel:     ISA irqs (scanned) = 3,4,7,9,10 PCI
status changes
Dec 28 16:11:03 c1319937-a pcmcia:  cardmgr.
Dec 28 16:11:03 c1319937-a rc: Starting pcmcia:  succeeded
Dec 28 16:11:03 c1319937-a cardmgr[468]: starting, version is 3.1.19
Dec 28 16:11:04 c1319937-a cardmgr[468]: watching 2 sockets
Dec 28 16:11:04 c1319937-a kernel: cs: IO port probe 0x0c00-0x0cff:
excluding 0xcf8-0xcff
Dec 28 16:11:04 c1319937-a kernel: cs: IO port probe 0x0800-0x08ff:
excluding 0x800-0x84f
Dec 28 16:11:04 c1319937-a kernel: cs: IO port probe 0x0100-0x04ff:
excluding 0x280-0x287 0x378-0x37f 0x4d0-0x4d7
Dec 28 16:11:04 c1319937-a kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Dec 28 16:11:04 c1319937-a cardmgr[468]: initializing socket 0
Dec 28 16:11:04 c1319937-a kernel: cs: memory probe 0xa0000000-0xa0ffffff:
clean.
Dec 28 16:11:04 c1319937-a cardmgr[468]: socket 0: 3Com 589 Ethernet
Dec 28 16:11:04 c1319937-a cardmgr[468]: executing: 'modprobe 3c589_cs'
Dec 28 16:11:04 c1319937-a kernel: eth0: 3Com 3c589, io 0x300, irq 3,
hw_addr 00:60:97:CC:CA:9A
Dec 28 16:11:04 c1319937-a kernel:   8K FIFO split 5:3 Rx:Tx, auto xcvr
Dec 28 16:11:04 c1319937-a cardmgr[468]: executing: './network start eth0'
Dec 28 16:11:05 c1319937-a checkpc[480]: Get_local_host: hostname
'c1319937-a.grlnd1.tx.home.com' bad
Dec 28 16:11:05 c1319937-a pumpd[509]: starting at (uptime 0 days, 0:00:41)
Thu Dec 28 16:11:05 2000
Dec 28 16:11:05 c1319937-a lpd[514]: Get_local_host: hostname
'c1319937-a.grlnd1.tx.home.com' bad
Dec 28 16:11:05 c1319937-a lpd: 2000-12-28-16:11:05.467 Get_local_host:
hostname 'c1319937-a.grlnd1.tx.home.com' bad

plz help me with this prob.
many thanks.

2. unix security

3. DirectoryIndex and <VirtualHost>, Bug?

4. gslp - any documentation?

5. whee is FETCH?

6. Help Compiling Apache 1.2.0 on Linux 2.0.27 == Help VirtualHost Cgi Directory

7. Opinions Wanted: Solaris 2.4 vs. AIX vs. HP/UX vs AT&T Sys5v4

8. Apache Newbie / Problem with DirectoryIndex

9. Help! Apache not seeing VirtualHost

10. Apache VirtualHosts with DHCP??? PLEASE HELP

11. Apache VirtualHost help?

12. Apache and VirtualHost - HELP!