While FrontPage can be used to create your web site, there is one issue that needs to be corrected before you create a FrontPage web with the cgi-bin directory and files in it. The files inside the cgi-bin must be uploaded in ASCII mode so that they work once the are on the remote server. This is really the only issue associated with trying to integrate the QuikStore files directly into a FrontPage web.
By default, FrontPage sends the files to the server in Binary Mode. This is bad for cgi-scripts and their associated files. All files that go under the cgi-bin directory should be uploaded in ASCII mode. The QuikStore program will not run if the files are uploaded in Binary Mode.
There are two ways to correct this:
- If your cgi-bin directory on the server is inside your document root directory, all you need to do is edit one of the FrontPage configuration files after the new FrontPage web is created. We recommend that you define a FrontPage web right inside the "c:\quikstore\server_files" directory. This way all of the other built-in QuikStore Wizards will still be able to work with the necessary files.
Note: Before editing this file, it's always a good idea to make a back-up of the file.
Open up NotePad or some other text only editor and go to the directory where you created your new "web". Under this directory, there is a directory named "_vti_pvt". Inside this directory you will find several files. Look for a file named "service.cnf". Spelled exactly like that, not service(s).cnf. Open that file and find the line starting with vti_textextensions.
Note: If this line is not there, just add it to the bottom of the file.
Here's what it looks like in the service.cnf file in a new web:
What we want to do is add a few file extensions to make sure our QuikStore files get uploaded in ascii mode:
Make sure the final "." is at the end and save the file. The next time you publish your site, it will publish the QuikStore files in the correct FTP transfer mode.
Note: You should always use the built-in Installation Wizard in QuikStore the first time the files are sent to the server so the directory/file permissions get set correctly. Once you do this, you can use FrontPage to create/edit the entire site.
- If your cgi-bin directory is not inside your document root on the server, you can upload the files inside the cgi-bin directory using the built-in QuikStore Installation and Publishing Wizard and modify the other files on your site using FrontPage. This way the cgi-bin files will never be uploaded incorrectly and should work fine.
FrontPage can also be used to create your product pages. The QuikCode Wizard has been designed to integrate right into the FrontPage editor. When the "Use With MS FrontPage" checkbox on the QuikCode Wizard main form is checked, it will automatically insert your product code <form> into the WYSIWYG view in the FrontPage editor. Please see the QuikCode Wizard section of the help files for more details on how this works...
In summary, FrontPage will work just fine with QuikStore, just be sure to update the service.cnf file before you upload the files in the cgi-bin using FrontPage. It's easy to do...
More Related Links: