Home > The Wizards > Publishing Wizard
Publishing Configuration




Remote/Local
 

Click on the Remote or Local radio button to define if you are publishing your shop on the Internet or locally.




Remote Host
 

The name of your server or website, such as www.yourserver.com.

Do NOT use http:// at the beginning.




Base Directory
 

This is the destination directory on your server or web site, to which you want to publish the shop.
Since you are publishing via the so called FTP protocol, your Internet address will not help you here. Instead you need to know the correct FTP directory path leading to your Internet directory on your server or website.
You service provider will be able to help you with this FTP path, if you are unsure.
You can also look for it with the help of the Browse button next to the Base Directory field.
You must upload into a directory, which can be visited with HTML browsers - normally the one containing your index.html file.
Even better is to create a subdirectory in that directory, called for example shop, to keep the shop files separated from the rest of the site.
This can easily be done with the Create Directory button, which comes up, when you use the Browse button to locate your directory on the server.




User Name
 

The name you use to log on to your server.
Unless you have changed it, it the one your service provider has given you.




Password (for server)
 

The password to gain access your server.




Local Directory
 

Select Local.
Now simply browse for a folder on your local computer, to which you want ShopFactory to publish the shop files.
This can be a subdirectory of you FrontPage web or of the NetFusion site you are working on.
You can then upload with FrontPage or NetFusion instead of with ShopFactory.
Or you can publish to a network drive or a directory which is accessible via the Internet, if you run your own server.
When you now publish your shop, it will be published into that directory.




URL of base directory (optional)
 

Leave this field blank unless otherwise instructed.

It is used to define the Internet address of the server directory containing your shop for some payment systems and shipping providers.




Rename shop home page to
 

Here you define the name of the entry file to your shop. By default it is index.html. So your shop address would be for example http://www.shopfactory.com/index.html

If you only have the shop on your site, you can rename the file to enter.html

Then the address of your shop would be http://www.shopfactory.com/enter.html

This would be used if you use the shop as your main web site.

You can change the name by selecting a different name from the drop down list - just click on the name index.html to open it.




URL of CGI Process (optional)
 

Leave this field blank unless you want orders to be processed via your own server. You will need cgi execution rights on your server to do this, and you must know how to install CGI programs on your server.




CGI (accept orders on your own server)
 

To use your own server for order processing you must be familiar with setting up cgi programs on your server. We do not provide CGI installation support.

Select the Payment System "Accept orders on your system" with the Company Details Wizard. ShopFactory will automatically upload the following files to your server when you upload next:

lockssl-on.gif
shopfactory_order.cgi
shopfactory_email.cgi


They must all be moved into a directory, which allows CGI execution, such as your cgi bin.

Then add the Internet address of the cgi programs on your server to the URL of CGI Process field in the Setup for Upload, as follows:

http://www.3d3.com/cgi-basket/shopfactory_order.cgi
use https if you have a secure server.

The URL must start with http and end with the name of the file (https if you want to use SSL)

Getting the ShopFactory_email.cgi program to run on your own server may require some adjustments.

Look for:
$mailprog = '/bin/sendmail';
This is the location of the sendmail program on our server. This line may need to be changed on your server to the location of the mail program on your server. Ask your service provider if you are unsure.
Or try the following command on your server in a telnet session, to find the location:
which sendmail This may not work on all servers.

You may also have to adjust the location of the perl program on the server at the very top of the cgi program pages. Your provider will be able to let you know what to put there.
Or try the following command on your server in a telnet session, to find the location:
which perl This may not work on all servers.

You must chmod the cgi programs to 755 to allow the execution rights.

Perl 5 should be installed on your system.

If you use PGP on your server, you will need to use the PGP files and do the same. You may also have to adjust the location of PGP in the files.