![]() |
![]() |
![]() |
||||
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: Sep 2001
Location: Somewhere in the middle of the Fucking Desert.
Posts: 125
|
What do I got to do?
What do I gotta do to make index.shtml automatically popup in a browser in a given directory in the same way index.html would?
Thanks. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
Add the .shtml extension to your httpd.conf file (if running Apache) either before the other 2 extensions, or after them and then get rid of any other index.*** files in the root.
Then format c: ------------------ ****<A HREF="http://www.xanobyte.com" TARGET=_blank> ![]() PRE-MADE & CUSTOM SITES</A> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
Whoops.... you said ANY directory... okay... same thing... add the extension to the httpd.conf file, and make sure your .shtml extensioned index file is the only index in the specified directory.
Then format c: |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Aug 2001
Location: In a Bunker
Posts: 868
|
Create an .htaccess file in the directory and put the following in it:
DirectoryIndex index.shtml AddType text/html .shtml AddHandler server-parsed .shtml If it does not work then you probably need a properly configured server from EnergyHosting ![]() ------------------ Create Your Own Hosting Plan! Pay-As-You-Go Hosting FREE Trial! Limited Time Specials EnergyHosting - Energizing your business |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Sep 2001
Location: Somewhere in the middle of the Fucking Desert.
Posts: 125
|
Gotcha,
Thanks Amp. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Sep 2001
Location: Somewhere in the middle of the Fucking Desert.
Posts: 125
|
RK,
No shit, I'm always bugging my host to change something that isn't configured right. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
It may already be set up for those extensions... if you upload one with an .shtml extension or even just rename one to .shtml, you can test it quick and see if it'll work... if not... then the begging process begins.
![]() Then format c: |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
Most ARE set up to handle server side includes.... unless it's a freehost... I don't really know if they allow it or not. Maybe oscar or somebody can enlighten us with some o' that good knowledge. I'm sure it couldn't hurt to ask. But either way...
format c: |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: May 2001
Location: De,Oh,Lei
Posts: 1,295
|
You can avoid parsing *.shtml with AddHandler and just config
for XBitHack. This saves from having to add the extra suffix to pages w/includes. It's also httpd.conf or .htaccess configurable. httpd.conf Options +Includes XBitHack on .htaccess AllowOverride Options Options +Includes XBitHack on If your the paranoid type... httpd.conf Options +IncludesNOExec XBitHack on .htaccess AllowOverride Options Options +IncludesNOExec XBitHack on edited out 1 too many options [This message has been edited by Wilber (edited 12-09-2001).] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Confirmed User
Join Date: Aug 2001
Location: In a Bunker
Posts: 868
|
Quote:
------------------ Create Your Own Hosting Plan! Pay-As-You-Go Hosting FREE Trial! Limited Time Specials EnergyHosting - Energizing your business [This message has been edited by RK (edited 12-09-2001).] |
|
![]() |
![]() ![]() ![]() ![]() ![]() |