PHP WEB SCRIPTS    Support Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can i changes to index.shtml

 
Post new topic   Reply to topic    PHP Web Scripts Forum Index -> Link Up Gold Support & Discussion
View previous topic :: View next topic  
Author Message
kjell



Joined: 01 Jun 2003
Posts: 2

PostPosted: Sun Jun 01, 2003 12:39 pm    Post subject: Can i changes to index.shtml Reply with quote

Hello
Have 2 lic.. adwww.net datamusic.org
I have a ?
Do you think I can changes index.html to
index.SHTML
I work with amazon.com and XML and have it running on datamusic.org. But if I will have some result from amazon on my index page I need to have ext. shtml
I have try with HTMl but the server not response the include file
<!--#include virtual="/cgi-bin/amazon_products_feed.cgi?input_mode=videogames&input_id=471280" -->
I moust have ext .shtml and it works great.. I will not try to change the index before I ask what do you think.
Ok it works with Iframe but the include is best..
With include I can have diffrent product on index page and always update from XML
Greatings
Kjell
_________________
kk
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 5691

PostPosted: Sun Jun 01, 2003 1:05 pm    Post subject: Reply with quote

You of course can change the extension but I think easier for you may be this - create a text file and place the following inside:

AddType text/html .html
AddHandler server-parsed .html

AddType text/html .shtml
AddHandler server-parsed .shtml


Please note that there must be at least one blank line at the end of the file.

Save it, upload to your server and rename it to ".htaccess" (without quotes, the first character is a dot). Then pages with html extension should be able to include files like shtml files.
Back to top
View user's profile Send private message
kjell



Joined: 01 Jun 2003
Posts: 2

PostPosted: Sun Jun 01, 2003 2:27 pm    Post subject: Now it works on html but... Reply with quote

Thanks
I have now the text file upload and it work ok vid html and include thanks..
But when I have the script on the index.html in linkgold it will not work..
I have test it on other html page and there it now runs on html page..
http://datamusic.org/tibroorg/kk.html
I think I moust changes permission on some file or libary for link gold
I have the same script on linkgold index and http://datamusic.org/tibroorg/kk.html what do you think
Kjell
_________________
kk
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 5691

PostPosted: Sun Jun 01, 2003 2:35 pm    Post subject: Reply with quote

I think it's too specific question, I will email you.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PHP Web Scripts Forum Index -> Link Up Gold Support & Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group