Re: Apache suffix mapping for .tpl

This WebDNA talk-list message is from

1995


It keeps the original formatting.
numero = 10003
interpreted = N
texte = >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-extStep3: Modify sendmail.cf Go to Trusted section in /etc/sendmail.cf and add the line: TnobodyStep4: Modify /WebCatalog/WebCatalogCtl Modify the directory in WebCatalogCtl to the place where you put the WebCatalog binary applicationStep5: 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 followingStep1: 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 nowStep3: 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 futureNOTE: ===== ** 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 scriptThank 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 Associated Messages, from the most recent to the oldest:

    
  1. Re: Apache suffix mapping for .tpl (WebDNA Support 2000)
  2. Re: Apache suffix mapping for .tpl (Bob McPeak 2000)
  3. Re: Apache suffix mapping for .tpl (WebDNA Support 2000)
  4. Re: Apache suffix mapping for .tpl (Bob McPeak 2000)
  5. Re: Apache suffix mapping for .tpl (Bob McPeak 2000)
  6. Re: Apache suffix mapping for .tpl (WebDNA Support 2000)
  7. Re: Apache suffix mapping for .tpl (jpeacock@univpress.com 2000)
  8. Apache suffix mapping for .tpl (Robert McPeak 2000)
  9. Re: Apache suffix mapping for .tpl (WebDNA Support 1995)
>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-extStep3: Modify sendmail.cf Go to Trusted section in /etc/sendmail.cf and add the line: TnobodyStep4: Modify /WebCatalog/WebCatalogCtl Modify the directory in WebCatalogCtl to the place where you put the WebCatalog binary applicationStep5: 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 followingStep1: 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 nowStep3: 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 futureNOTE: ===== ** 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 scriptThank 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 WebDNA Support

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:

and passing to a cart (1997) Undocumented date issues? (1998) Sku numbers (1997) Question from a Neebie (2000) autosensing lanague selection (1997) MATH PROBLEM (1997) PSC recommends what date format yr 2000??? (1997) [purgeDatabase], [replaceChars] and others ... (1997) How do you TEAM Code? (2004) 'does not contain' operator needed ... (1997) [WebDNA] SEARCH question (2011) Looping Search (2006) Online reference (1997) Links to show shopping cart. (1998) WebCat2b12 forgets serial # (1997) taxrate - off by 1 cent (1997) [showif] and equality (1998) Protect Tag and Groups (1998) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) [WebDNA] Announcing the new features for the next WebDNA version (2015)