Author |
|
rollingrocker Newbie
Joined: 03 March 2017 Location: United States
Online Status: Offline Posts: 5
|
Posted: 03 March 2017 at 12:57pm | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 06 March 2017 at 1:16am | IP Logged
|
|
|
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 |
|
|