Welcome to WebmasterWorld Guest from 23.22.46.195

Forum Moderators: Ocean10000 & incrediBILL & phranque

help with .htaccess

point doc root to /index.html

   
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

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

WebmasterWorld Senior Member 10+ Year Member



Try using:
DirectoryIndex index.html
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
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

My Threads

Hot Threads This Week

Hot Threads This Month