Re: Apache suffix mapping for .tpl
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 29512
interpreted = N
texte = WebDNA Support wrote:> > >I've been working with WebCat and Apache server for a> >total of 3 days and I'm stuck on suffix mapping.> >Can somebody show me the exact directive to use, the exact text after> >the directive, and what file to modify in Apache in order to setup> >suffix mapping for .tpl.> > What OS, and what version of installer did you use (the latest from> our ftp site is 3.0.8), and the most automatic installer is for> RedHat Linux 6.x> > >I'd also like to know how to test to see if my mapping stuck.> >What do I do, reboot and open a .tpl file with my browser? If the page> >opens, everything's there, and I can't see any webdna tags, then the> >mapping worked, right? Or is there something else? Do I have to do an> >addhandler? I'm confused! What's new?> > Yes, hitting any .tpl file will show you if it worked, because the> WebDNA will be changed to just plain HTML as it gets executed.> Here's the text from the file called INSTALL which comes with the> Linux RedHat Scripted installer:> > WebCatalog installation instructions> ====================================> > IMPORTANT NOTE:> This version of WebCatalog is built for RedHat Linux 6.0. If you> have different version of Linux, please contact Smith Micro> Software, Inc. to obtain the correct one.> > After unzip & untar the WebCatalogPkg-x.xxxx.tar.gz, you should follow> the steps below to install the WebCatalog application.> > INSTALL WEBCATALOG MANUALY> ===========================> Step1:> Copy all the contents of directory WebCatalog into your Apache> Document Root.> > Step 2: Modify
/httpd.conf> Switch to LoadModule section and add the line:> LoadModule webcatalog2_module> /mod_webcatalog2.so> Switch to AddModule section and add the line> AddModule mod_webcatalog.C> Switch to AddHandler section and add the line> AddHandler webcatalog2-handler .tpl> Note: in AddHandler section you can also map your own file extensions to> webcatalog2-handler such as> AddHandler webcatalog2-handler .your-own-ext> > Step3: Modify sendmail.cf> Go to Trusted section in /etc/sendmail.cf and add the line:> Tnobody> > Step4: Modify /WebCatalog/WebCatalogCtl> Modify the directory in WebCatalogCtl to the place where you put> the WebCatalog binary application> > Step5:> Restart sendmail daemon using /etc/rc.d/init.d/sendmail restart> Restart apache daemon> Start WebCatalog using /WebCatalog/WebCatalogCtl start> You can use Webcatalog now> > INSTALL WEBCATALOG USING SCRIPT install_WebCatalog.sh> ============================================> install_WebCatalog.sh is written to install ( or upgrade) WebCatalog> automaticaly. You must provide the paths of Apache-DocumentRoot to install> WebCatalog databases server. If you know all of that infomation, you> can go ahead run install_WebCatalog.sh on the top-level of directory,> and follow the instruction there. Make sure you have the permission to> write into DocumentRoot directory (such as you should change> to root before you running install_WebCatalog.sh )> > **** After you are done installing, you also need to do the following> > Step1: Restart sendmail daemon using /etc/rc.d/init.d/sendmail restart > > Step2: Restart apache daemon> Start WebCatalog daemon using> /WebCatalog/WebCatalogCtl start > and then, you can use Webcatalog now> > Step3: The script will create the uninstall_WebCatalog.sh script> under WebCatalog folder to help you uninstall the WebCatalog package> later. You MUST save the file uninstall_WebCatalog.sh in somewhere> for using it to uninstall WebCatalog in the future> > NOTE:> =====> ** If you are using the built-in Apache which comes with RedHat 6.0,> you will find the place of all directory as below:> Document Root: /home/httpd/html> Server Root: /home/httpd/cgi-bin> Configuration Root: /etc/httpd/conf> Module Root: /etc/httpd/modules> ** About the install/uninstall script:> For the first time, install_WebCatalog.sh will install the WebCatalog> package into your system, and also modify your configuration files> > For upgrade WebCatalog, install_WebCatalog.sh will save all your> configuration files, and globals WebCatalog database files.> > If you installed WebCatalog into your system, please browse to URL> http://yourserver.com/WebCatalog/Release_Notes> to see more infomation about legal license and install/uninstall script> > Thank you for using WebCatalog.> > Technical Support **********************************> Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)> 16855 West Bernardo Drive, #380 | -------------------------> San Diego, CA 92127 | Software & Site Development> WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com> Fax: (858) 675-0372 **********************************> > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Associated Messages, from the most recent to the oldest:
WebDNA Support wrote:> > >I've been working with WebCat and Apache server for a> >total of 3 days and I'm stuck on suffix mapping.> >Can somebody show me the exact directive to use, the exact text after> >the directive, and what file to modify in Apache in order to setup> >suffix mapping for .tpl.> > What OS, and what version of installer did you use (the latest from> our ftp site is 3.0.8), and the most automatic installer is for> RedHat Linux 6.x> > >I'd also like to know how to test to see if my mapping stuck.> >What do I do, reboot and open a .tpl file with my browser? If the page> >opens, everything's there, and I can't see any webdna tags, then the> >mapping worked, right? Or is there something else? Do I have to do an> >addhandler? I'm confused! What's new?> > Yes, hitting any .tpl file will show you if it worked, because the> WebDNA will be changed to just plain HTML as it gets executed.> Here's the text from the file called INSTALL which comes with the> Linux RedHat Scripted installer:> > WebCatalog installation instructions> ====================================> > IMPORTANT NOTE:> This version of WebCatalog is built for RedHat Linux 6.0. If you> have different version of Linux, please contact Smith Micro> Software, Inc. to obtain the correct one.> > After unzip & untar the WebCatalogPkg-x.xxxx.tar.gz, you should follow> the steps below to install the WebCatalog application.> > INSTALL WEBCATALOG MANUALY> ===========================> Step1:> Copy all the contents of directory WebCatalog into your Apache> Document Root.> > Step 2: Modify /httpd.conf> Switch to LoadModule section and add the line:> LoadModule webcatalog2_module> /mod_webcatalog2.so> Switch to AddModule section and add the line> AddModule mod_webcatalog.C> Switch to AddHandler section and add the line> AddHandler webcatalog2-handler .tpl> Note: in AddHandler section you can also map your own file extensions to> webcatalog2-handler such as> AddHandler webcatalog2-handler .your-own-ext> > Step3: Modify sendmail.cf> Go to Trusted section in /etc/sendmail.cf and add the line:> Tnobody> > Step4: Modify /WebCatalog/WebCatalogCtl> Modify the directory in WebCatalogCtl to the place where you put> the WebCatalog binary application> > Step5:> Restart sendmail daemon using /etc/rc.d/init.d/sendmail restart> Restart apache daemon> Start WebCatalog using /WebCatalog/WebCatalogCtl start> You can use Webcatalog now> > INSTALL WEBCATALOG USING SCRIPT install_WebCatalog.sh> ============================================> install_WebCatalog.sh is written to install ( or upgrade) WebCatalog> automaticaly. You must provide the paths of Apache-DocumentRoot to install> WebCatalog databases server. If you know all of that infomation, you> can go ahead run install_WebCatalog.sh on the top-level of directory,> and follow the instruction there. Make sure you have the permission to> write into DocumentRoot directory (such as you should change> to root before you running install_WebCatalog.sh )> > **** After you are done installing, you also need to do the following> > Step1: Restart sendmail daemon using /etc/rc.d/init.d/sendmail restart > > Step2: Restart apache daemon> Start WebCatalog daemon using> /WebCatalog/WebCatalogCtl start > and then, you can use Webcatalog now> > Step3: The script will create the uninstall_WebCatalog.sh script> under WebCatalog folder to help you uninstall the WebCatalog package> later. You MUST save the file uninstall_WebCatalog.sh in somewhere> for using it to uninstall WebCatalog in the future> > NOTE:> =====> ** If you are using the built-in Apache which comes with RedHat 6.0,> you will find the place of all directory as below:> Document Root: /home/httpd/html> Server Root: /home/httpd/cgi-bin> Configuration Root: /etc/httpd/conf> Module Root: /etc/httpd/modules> ** About the install/uninstall script:> For the first time, install_WebCatalog.sh will install the WebCatalog> package into your system, and also modify your configuration files> > For upgrade WebCatalog, install_WebCatalog.sh will save all your> configuration files, and globals WebCatalog database files.> > If you installed WebCatalog into your system, please browse to URL> http://yourserver.com/WebCatalog/Release_Notes> to see more infomation about legal license and install/uninstall script> > Thank you for using WebCatalog.> > Technical Support **********************************> Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)> 16855 West Bernardo Drive, #380 | -------------------------> San Diego, CA 92127 | Software & Site Development> WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com> Fax: (858) 675-0372 **********************************> > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Bob McPeak
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Silly Question (1997)
Summing fields (1997)
[WebDNA] php/mySQL version of WebDNA Speed Test? (2009)
[applescript] support in 4.5 for OS X -- really? (2002)
XML values to database records (grep?) (2000)
Help formatting search results w/ table (1997)
[WebDNA] Problem with Sendmail (2015)
So many lookers, hey smith micro (2003)
Timeout question .. (2003)
[CART] (1997)
SSL (1998)
[OT] Search Engine Tips (2003)
RE: protect tag on NT (1997)
Simple way to create unique SKU (1997)
WebCat2b13MacPlugIn - [include] (1997)
cybercash on OSX - was Executing remote AppleScript (2000)
Search returns all, not 20 (1997)
Append again (1999)
WebCatalog on OSX and %CPU (2003)
[WebDNA] [listallcontexts] ??? (2016)