homepage Welcome to WebmasterWorld Guest from 54.166.105.24
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
help with .htaccess
point doc root to /index.html
roscoepico




msg:1518078
 7:00 pm on Oct 27, 2002 (gmt 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

 

DaveAtIFG




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

Try using:
DirectoryIndex index.html

roscoepico




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

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

jdMorgan




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

roscoepico,

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

Jim

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved