[prev in list] [next in list] [prev in thread] [next in thread] 

List:       msqlperl
Subject:    How to run mSQL 2.0 Bookmark Demo (use Lite Statements in HTML comment)
From:       "Rossant Olivier" <rossant () xl ! pronet ! fr>
Date:       1997-02-19 19:52:04
[Download RAW message or body]

Thanks a lot for people who give me relevant info on Apache SSI.

I have a more precise question to ask :

I am trying to run the msql demo application  "Bookmark" (it comes with msql 2)and it doesn't work. 
I think it's because SSI is not properly configured : The lite interpreter isn't called, and any 
dynamic HTML substitution is done.

I don't know how to configure Apache to use Lite interpreter with html page
like bookmarks.html.(See Below)

As suggested by Alex Coutsogiannopaulos I have tried to add 
  - in Access.conf : XBitHack Full
  - in srm.conf  :   AddType text/x-server-parsed-html .shtml
                     AddType text/x-httpd-cgi .cgi


In other words, MY QUESTION IS : How configure Apache Server to use the lite interpreter (lite) when it 
deals with pages like this bookmarks ? (See below)
And How to specifie the path for lite executable ?

<head>
<title>The Bookmark Database</title>
</head>
<BODY background="/bookmarks/wood.gif">
<center><H1><i>
<img src=/bookmarks/mark-big.gif >The Bookmark Database</i></H1>
</center>
<! 	$sock = msqlConnect();
	if ($sock < 0){
		fatal("Error : $ERRMSG\n");
	}
	if (msqlSelectDB($sock,"bookmarks") < 0){
		fatal("Error : $ERRMSG\n");	}
	if ($parent == "/")	{
		$prefix = "";
	}	else	
	{
		$prefix = "/";
	}
>




Thank you very much for Help !!


-- 
--------------------------------------------------------------------------------

                                          /)                     (\ 
                                         / )                     ( \    
                                       _( (_    _           _    _) )_   
   _____________                      (((\ \>  /_>         <_\  </ /)))  
        ________)                     (\\\\ \_/ /           \ \_/ ////) 
       (                               \       /             \       /  
        \ rossant@xl.pronet.fr          \    _/               \_    /       
         o                              /   /                   \   \      
                                       /   /                     \   \

--------------------------------------------------------------------------------
----------------------------------------------------------------------
To unsubscribe from this list send a message containing "unsubscribe"
to msqlperl-request@franz.ww.tu-berlin.de

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic