Welcome to WebmasterWorld Guest from 54.167.82.170

Forum Moderators: Ocean10000 & incrediBILL & 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 jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member



roscoepico,

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

Jim

 

Featured Threads

Hot Threads This Week

Hot Threads This Month