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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 12-09-2001, 02:58 PM   #1
Unchilled
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.
Unchilled is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-09-2001, 03:00 PM   #2
Amputate Your Head
There can be only one
 
Amputate Your Head's Avatar
 
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>
Amputate Your Head is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-09-2001, 03:01 PM   #3
Amputate Your Head
There can be only one
 
Amputate Your Head's Avatar
 
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:
Amputate Your Head is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-09-2001, 03:05 PM   #4
RK
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
RK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-09-2001, 03:05 PM   #5
Unchilled
Confirmed User
 
Join Date: Sep 2001
Location: Somewhere in the middle of the Fucking Desert.
Posts: 125
Gotcha,

Thanks Amp.
Unchilled is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-09-2001, 03:07 PM   #6
Unchilled
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.
Unchilled is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-09-2001, 03:09 PM   #7
Amputate Your Head
There can be only one
 
Amputate Your Head's Avatar
 
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:
Amputate Your Head is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-09-2001, 03:17 PM   #8
Amputate Your Head
There can be only one
 
Amputate Your Head's Avatar
 
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:
Amputate Your Head is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-09-2001, 04:28 PM   #9
Wilber
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).]
Wilber is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-09-2001, 04:52 PM   #10
RK
Confirmed User
 
Join Date: Aug 2001
Location: In a Bunker
Posts: 868
Quote:
Originally posted by Wilber:
.htaccess
AllowOverride Options
Options +Includes
XBitHack on

.htaccess
AllowOverride Options
Options +IncludesNOExec
XBitHack on
Have you ever used the above? It seems incorrect.

------------------
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).]
RK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.