We have set up a number of FarCry sites in shared hosting and have developed the following reference document that hosts use when setting up FarCry. While some paths may change for you, we thought this may be useful.



****** PART 1 ******


Website Directory Structure:

Create a folder for the new website in C:\WebSites\FarCry\

So for test.com create C:\WebSites\FarCry\test\www



IIS Settings:

Change the Home Directory to C:\WebSites\\FarCry\Websitename\www

Make a Virtual Directory named "FarCry"

Map it to C:\WebSites\FarCry\farcry_core\admin

Add CFIDE and JrunScripts Mapping.


Apache Settings:

# WEB SITE NAME
<VirtualHost websitename.com>
   ServerAdmin [EMAIL PROTECTED]
   DocumentRoot C:/WebSites/FarCry/Websitename/www
   ServerName websitename.com
   Alias /farcry  C:/WebSites/FarCry/farcry_core/admin
   Alias / C:/WebSites/FarCry/Websitename/www
</VirtualHost>




FTP Logins:

The client will use the username/password assigned. Update their FTP home directory to the same as IIS/Apache home directory.
E.G. C:\WebSites\\FarCry\Websitename\






****** PART 2 ******
Initial One Time Setup on a new server:


Web Server Directory Structure:

Create C:\Websites\FarCry\farcry_core\admin



FTP Logins:

Development Firm will need a root login to the directory C:\WebSites\. Please use the following user name/password: xxxx/xxxxx. Development Firm Clients should never get this in shared.




The Modules :

Place the following files into "C:\cfusionmx\wwwroot\web-inf\classes". Make sure these files are in that directory, not a sub-directory.

FriendlyURLs.txt , FriendlyURLServlet.class , FriendlyURL.class and FriendlyURLData.class


Place InetAddressLocator.jar and ij.jar file into the CFusionMX\wwwroot\WEB-INF\lib directory?.


Add the following xml code to the "C:\CFusionMX\wwwroot\web-inf\web.xml" . It doesn't really matter where you put it, but just after the <context-param> tags should be fine

<servlet>
<servlet-name>FUServlet</servlet-name>
<display-name>FriendlyUrlServlet</display-name>
<description>Translates friendly URLs to objects</description>
<servlet-class>FriendlyURLServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>FUServlet</servlet-name>
<url-pattern>/go/*</url-pattern>
</servlet-mapping>



Cold Fusion Admin Settings:

Create a mapping /FarCry for C:\WebSites\\FarCry\

Create a Sandbox for C:\Websites\ and set access for the following directories and files.

Read & Execute to the C:\cfusionmx\wwwroot\web-inf\classes Folder
Read & Write to the C:\cfusionmx\wwwroot\web-inf\classes\FriendlyURLs.txt
Read, Write, Execute, and Delete to the C:\cfusionmx\verity\collections and C:\cfusionmx\verity\collections\- Folders






--
Regards,
Michael J. Sammut
________________________________________________

F O U R  E Y E S  P R O D U C T I O N S
think | plan | create :: web site design & development :: NYC

E. [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> | T: 718.254.9557 ext. 101 | F: 718.254.0399

W. http://www.foureyes.com

---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to