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 09-09-2003, 08:15 AM   #1
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
.shtml quick simple question

i've renamed my indexfile from index.html in to index.shtml but now when i try access my site i get the dysplaing of my directory structure (links to all the files from the root directory)
why is not loading the index.shtml file? what should i do to see the index.shtml and not the list of the files from directory?
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-09-2003, 08:27 AM   #2
psili
Confirmed User
 
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
in your virtual host, put

DirectoryIndex index.shtml index.html

cuz you're apache conf file settings default to index.html
__________________
Your post count means nothing.
psili is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-09-2003, 08:28 AM   #3
strobi
Confirmed User
 
Join Date: Nov 2002
Location: Belgium
Posts: 7,383
format c:
strobi is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-09-2003, 08:33 AM   #4
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
Quote:
Originally posted by psili
in your virtual host, put

DirectoryIndex index.shtml index.html

cuz you're apache conf file settings default to index.html
thanks
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-09-2003, 08:39 AM   #5
sweet7
Confirmed User
 
Join Date: May 2003
Posts: 1,792
Quote:
Originally posted by psili
in your virtual host, put

DirectoryIndex index.shtml index.html

cuz you're apache conf file settings default to index.html
What he said, except the virtual host, I no understand. Change your settings in your conf file or speak to your admin. He/She will take care of it.
__________________
ICQ: 282814268
sweet7 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-09-2003, 08:56 AM   #6
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
Now the index.shtml is working but the SSI code are not working.. how do i make to work the SSI code?
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-09-2003, 09:07 AM   #7
Babaganoosh
♥♥♥ Likes Hugs ♥♥♥
 
Babaganoosh's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
Quote:
Originally posted by alex79
Now the index.shtml is working but the SSI code are not working.. how do i make to work the SSI code?
What is the code you are trying to use?
__________________
I like pie.
Babaganoosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-09-2003, 09:08 AM   #8
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
Quote:
Originally posted by Armed & Hammered


What is the code you are trying to use?
the code from TTT script:

PHP Code:
<!--#include file="ttt-in.php" --> 
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-09-2003, 09:10 AM   #9
Babaganoosh
♥♥♥ Likes Hugs ♥♥♥
 
Babaganoosh's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
This may sound like a stupid question but is the path to the file correct? If so, try include virtual instead of include file.
__________________
I like pie.
Babaganoosh 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.