|
Size: 1440
Comment:
|
← Revision 7 as of 2013-09-18 06:09:33 ⇥
Size: 2159
Comment: converted to 1.6 markup
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| = Setting up control Webshopper = |
= Setting up Control Web Shopper = |
| Line 7: | Line 6: |
| * For the checkout portion of the website, they will need a SSL certificate | |
| Line 8: | Line 8: |
| 1. Install a HTTP server {{{ | 1. Install a HTTP server {{{ |
| Line 10: | Line 11: |
| 1. Copy files from {{{/u/ccdev/std/internet/cgi/}}} to {{{/var/www/html/}}} {{{ | 1. Copy files from {{{/u/ccdev/std/internet/cgi/}}} to {{{/var/www/html/}}} {{{ |
| Line 13: | Line 15: |
| 1. Create the INTERNET terminal and ensure it is in the correct company and location | 1. Create and configure the INTERNET terminal. Ensure it is in the correct company. |
| Line 16: | Line 19: |
| 1. Install SSL module for web server {{{ | 1. Install SSL module for web server {{{ |
| Line 18: | Line 22: |
| 1. Generate SSL certificate {{{ | 1. Install the SSL certificate provided by a trusted third party. As a temporary measure, you can generate your own SSL certificate 1. {{{ |
| Line 23: | Line 30: |
| Line 26: | Line 32: |
| Line 32: | Line 37: |
| 1. {{{ | {{{ yum install ImageMagick}}} 1. Place link to stock images in webshopper folder {{{ |
| Line 34: | Line 42: |
| 1. Edit {{{/etc/httpd/conf/httpd.conf}}} to reflect the domain name {{{ ServerName <DOMAIN_NAME>:80 }}} |
1. Edit {{{/etc/httpd/conf/httpd.conf}}} to reflect the domain name {{{ ServerName <DOMAIN_NAME>:80}}} 1. Configure some of the webshopper related options 1. {{{coaad}}} -> Location for Internet Stock 1. {{{coaad}}} -> Sell available stock from internet Location 1. {{{coaad}}} -> Sell available stock from all Location 1. Setup [[http://en.wikipedia.org/wiki/Robots.txt|robots.txt]] so that Google (and other search engines) do not randomly create large orders 1. '''!! '''__'''TEST'''__''' !!''' ---- . CategoryWebShopper |
Setting up Control Web Shopper
- Ensure customer has
- A static IP
- Registered domain name
- Appropriate DNS settings
- For the checkout portion of the website, they will need a SSL certificate
- Ensure customers firewall allows inbound HTTP and HTTPS connections to server (May also need to setup port forwarding)
- Install a HTTP server
yum install httpd
Copy files from /u/ccdev/std/internet/cgi/ to /var/www/html/
cp /u/ccdev/std/internet/cgi/* /var/www/html/
Enable ability for web server to run CGI scripts. In Apache, enable the "Options ExecCGI" option in /etc/httpd/conf/httpd.conf
- Create and configure the INTERNET terminal. Ensure it is in the correct company.
Setup correct environment variables in /var/www/html/header.cgi
Set the "Internet Location" in coaad
- Install SSL module for web server
yum install mod_ssl
- Install the SSL certificate provided by a trusted third party.
As a temporary measure, you can generate your own SSL certificate
cd /etc/pki/tls/certs/ make <CUSTOMER>.key make <CUSTOMER>.csr make <CUSTOMER>.crt #Edit the SSLCertificateKeyFile and SSLCertificateFile to point to the newly generated files vi /etc/httpd/conf.d/ssl.conf service httpd restart
- Ensure that the NET_SALES debtor exists
- Ensure NET_SALE salesperson exists
Ensure ImageMagick is installed on server
yum install ImageMagick
- Place link to stock images in webshopper folder
ln -s /u/cc/<COMPANY>/images/ /var/www/html/
Edit /etc/httpd/conf/httpd.conf to reflect the domain name
ServerName <DOMAIN_NAME>:80
- Configure some of the webshopper related options
coaad -> Location for Internet Stock
coaad -> Sell available stock from internet Location
coaad -> Sell available stock from all Location
Setup robots.txt so that Google (and other search engines) do not randomly create large orders
!! TEST !!
