Web Hosting Talk







View Full Version : SSI question


certify
08-10-2001, 08:14 PM
What do I need to do to enable my server to parse cmd


<!--#exec cmd="/full/path/to/rate.pl restaurant"-->

(SH)Saeed
08-10-2001, 08:25 PM
In your httpd.conf, there are a couple of commented (with # infront) lines where you need to remove the # to activate SSI for .shtml files. You shouldn't have any problem finding these, if you're using pico, press CTRL-W and search for ".shtml".

certify
08-10-2001, 08:45 PM
SSI parsing works fine, it just that it won't work if I use <!--#exec cmd=

(SH)Saeed
08-10-2001, 09:01 PM
Oh.. Then try this..

<!--#exec cgi="/full/path/to/rate.pl restaurant"-->

wave
08-12-2001, 02:54 PM
Try this:

<!--#exec cgi="/full/path/to/rate.pl restaurant" -->

Notice the space between " and -->. Leaving out the space would cause problem sometimes.