Help with site vhost

Discussion in 'General' started by Richardmax, Jun 10, 2015.

  1. Richardmax

    Richardmax New Member

    Hi,

    I have a site in web1:
    • web1
      • folder1
      • folder2
      • APP (must be documentroot)
      • files
    Folders XX are complementary folders and files for the app runing in subfolder APP.
    - I set the web folder (vhost documentroot) like ../web1/APP to use URL http://:mydomain.com. But the application need access to web1/folder2 or web1/folder1 back. With this documentroot setting the application can not access ..web1/folderXX to write or read anything: app logs, documents templates, etc.
    - If change documentroot (web folder) to ../web1, then application read and write web1/subfolders xx but URL must use http://mydomain.com/APP/index.php

    There is any directive in apache to allow access outside APP folder if using documentroot set to ../web1/APP? I remember with CP this work fine always. Any help please?

    ISPConfig Version: 3.0.5.4p6
    Centos 7.1
    Apache version 2.4.6
     

Share This Page