| View previous topic :: View next topic |
| Author |
Message |
kjell
Joined: 01 Jun 2003 Posts: 2
|
Posted: Sun Jun 01, 2003 12:39 pm Post subject: Can i changes to index.shtml |
|
|
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 |
|
 |
PHPWebScripts Richard - Admin
Joined: 13 Jan 2003 Posts: 5691
|
Posted: Sun Jun 01, 2003 1:05 pm Post subject: |
|
|
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 |
|
 |
kjell
Joined: 01 Jun 2003 Posts: 2
|
Posted: Sun Jun 01, 2003 2:27 pm Post subject: Now it works on html but... |
|
|
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 |
|
 |
PHPWebScripts Richard - Admin
Joined: 13 Jan 2003 Posts: 5691
|
Posted: Sun Jun 01, 2003 2:35 pm Post subject: |
|
|
| I think it's too specific question, I will email you. |
|
| Back to top |
|
 |
|