![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Feb 2002
Location: South Lake Tahoe, CA
Posts: 1,099
|
.htaccess question
how do i change the default document, it's something like
DirectoryIndex something.html or DefaultIndex something.html but i can't remember the exact phrasing.....can someone please help me thanks yan
__________________
HIGH QUALITY ADULT AND NON-ADULT DESIGN/MARKETING WORK SINCE 1997!! Yan - ICQ # 4790444 - Phone: 530-544-7058 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Aug 2002
Location: Orlando, Florida
Posts: 2,051
|
Hope this helps:
Directory Index One of the more useful features of ".htaccess" files is the ability to change which default document you want to use. If the first page you want visitors to your site to see is titled "firstpage.pl", then you can instruct the Web server to display any pages named "firstpage.pl" before it returns anything else, when your site is accessed in the form of http://www.mydomain.com. To do this, you'll use a "DirectoryIndex" directive like this: DirectoryIndex firstpage.pl index.html index.htm The filenames are listed in order of precedence. In other words, if no firstpage.pl, and index.html exist, the Web server will display index.htm as your default page. |
![]() |
![]() ![]() ![]() ![]() ![]() |