TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

shtml

Page: 1 Reply
Mar 30th 2001#804 Report
Member since: Mar 27th 2001
Posts: 15
i was wondering if there was a way that i could view the content of an .shtml file in which i use <!--#include virtual="blabla.txt"--> when i view it on my computer?

is there a kind of local server that i can install that allows me to do so?

Thanx in advance

-GoGeTa
Reply with Quote Reply
Mar 30th 2001#806 Report
Member since: Mar 18th 2001
Posts: 1690
I would say download, install and configure apache to use html files using ssi. You will need to edit httpd.conf in the apache/conf directory... For help on that check out www.apache.org for docs on setting up apache on windows. Once thats running, you should be able to check .ssi files using that.
Reply with Quote Reply
Mar 30th 2001#807 Report
Member since: Mar 27th 2001
Posts: 15
Well ive got some program called easy php installed on my system, it allows me to view php files on my computer... so i guess all i have to do is edit some file... caus if i remember well, it installed apache at the same time... im pretty new to that php apache thing, i want to learn this damn thing, but i dont have time to sit here for hours and read

so i got this thing installed tell me what file i should have to modify and how and ill check it out
Reply with Quote Reply
Mar 30th 2001#811 Report
Member since: Mar 27th 2001
Posts: 15
AddType application/x-httpd-php .phtml .pwml .php3 .php4 .php .php2 .shtml


this is what i got in httpd.conf, i added the .shtml at the end

nothing changed, i can view shtml file, but the content of the include virtual command doesnt show on the page

i really need this caus its always good to see how it looks before uploading
Reply with Quote Reply
Mar 31st 2001#844 Report
Member since: Mar 18th 2001
Posts: 32
You have to make sure the handler is installed for SSI. Not sure if the php viewer you are talking about does this. Here are the lines out of our server for shtml:

#
# To use server-parsed HTML files
#
AddType text/html .shtml
AddHandler server-parsed .shtml
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum