Forum Moderators: phranque

Message Too Old, No Replies

help with .htaccess

point doc root to /index.html

         

roscoepico

7:00 pm on Oct 27, 2002 (gmt 0)

10+ Year Member



How do I go about pointing the doc root to /index.html using .htaccess? I can do it in http.conf with a line in the virtual
host like

DocumentRoot /www/domain.com/index.html

but can't get it to work using .htaccess

thanks

DaveAtIFG

7:31 pm on Oct 27, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try using:
DirectoryIndex index.html

roscoepico

7:45 pm on Oct 27, 2002 (gmt 0)

10+ Year Member



Yeah, I tried using DirectoryIndex index.html as well...Not sure what the problem is

jdMorgan

7:51 pm on Oct 27, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



roscoepico,

What happens when you use DirectoryIndex index.html? What is the result when you access "/"?

Jim