Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Fresh install on Windows Server Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
rollingrocker
Newbie
Newbie


Joined: 03 March 2017
Location: United States
Online Status: Offline
Posts: 5
Posted: 03 March 2017 at 12:57pm | IP Logged Quote rollingrocker

I am installing this on a Windows Server. I am able to get the application to run ONLY with the data directory inside the main program directory (where it is located upon extracting the files).

When I read the directions here
https://www.afterlogic.com/docs/webmail-lite/installation/installation-instructions/installing-on-windows

it tells me the following:
After that, you'd need to adjust the path to the data folder in inc_settings_path.php file.

However, there is NO "inc_settings_path.php" file anywhere in the provided archive.

So therefore, I can only run it - unsafely - with the DATA directory publicly exposed, which I cannot - for security reasons.

I looked at the code and it is looking for a file - but like I said this file doesn't exist in your archive.

from compatibility.php

          $dataPath = 'data';
          if (@file_exists(WM_INSTALLER_PATH.'../inc_settings_path.php'))
          {
               include WM_INSTALLER_PATH.'../inc_settings_path.php';
          }
Back to Top View rollingrocker's Profile Search for other posts by rollingrocker
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 06 March 2017 at 1:16am | IP Logged Quote Igor

You can find more info on this configuration aspect at Protecting data directory documentation page, specifically:

To let WebMail know the new name and location of the data directory, create inc_settings_path.php file in root WebMail dir, it should have the following content:

Code:
<?php
$dataPath = '/new/location/of/data';


where $dataPath value contains filesystem path of data directory location, it can be either absolute or relative path.

Hope this helps.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide