Welcome to WebmasterWorld Guest from 54.162.152.232

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

help with .htaccess

point doc root to /index.html

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

Preferred Member

10+ Year Member

joined:July 27, 2000
posts:426
votes: 0


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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 21, 1999
posts:2141
votes: 0


Try using:
DirectoryIndex index.html
7:45 pm on Oct 27, 2002 (gmt 0)

Preferred Member

10+ Year Member

joined:July 27, 2000
posts:426
votes: 0


Yeah, I tried using DirectoryIndex index.html as well...Not sure what the problem is
7:51 pm on Oct 27, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
posts:25430
votes: 0


roscoepico,

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

Jim

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members