1. Hi I just set up an server according to the Debian+ISPConfig3 instructions.
    Most all is well I found out how to make WordPress work in the forums.
    I also have setup Magento and SugarCRM that all struggle with the same problem.
    They all need to write to some directories as Apache and I really would like to be able to let these php systems write to directories still owner by customer, but apache able to work normally and write to directories as needed.
    Can this be done or do I need to figure out all individual permission changes for all customers and web apps?

    cheers Stefan
     
    Last edited: Dec 6, 2013
  2. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    Change the website settings php mode to fast-cgi.
    This should solve the issues as apache then writes files as the web user.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Yo have to enable "suecec"in the site, so that the scriptsrun under the web user of the site and are able to write to the "web" directory of the website.
     
  4. the site settings are:
    Domain tab:
    server: isp.config.server
    Client: my client1
    ipv4-Addr: *
    domain: shop.mydomain.is
    Hardisk Quota: -1 Mb
    Traffic Quota: -1 Mb
    CGI: 0
    SSI: 0
    Perl: 0
    Ruby: 0
    Python: 0
    SuExec: 1
    Own Error Doc: 1
    Auto subdomain: None
    SSL: 0
    PHP: Fast-CGI
    PHP Version: Default
    Active: 1
    Other tab are default except under SSL tab county is set to my country.

    So SuExec is on still that web will not upload new logo or other stuff.
    I had to change in WP the owner of the content dir to be able to upload modules etc. but there are more directories.

    Regards Stefan
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Plesae post the output of:

    ls -la /var/www/yourdomain.tld/web/
     
  6. Here is the output from:
    ls -la of the webdir
    drwxr-xr-x 18 web7 client1 4096 Dec 6 16:40 .
    drwxr-xr-x 9 root root 4096 Nov 25 13:39 ..
    -rw-r--r-- 1 web7 client1 2834 Nov 25 20:48 api.php
    drwxr-xr-x 7 web7 client1 4096 Nov 26 19:26 app
    -rw-r--r-- 1 web7 client1 1617 Nov 25 20:48 cron.php
    -rw-r--r-- 1 web7 client1 642 Nov 25 20:48 cron.sh
    drwxr-xr-x 9 web7 client1 4096 Nov 25 20:48 downloader
    drwxr-xr-x 2 web7 client1 4096 Nov 25 13:39 error
    drwxr-xr-x 3 web7 client1 4096 Nov 25 20:48 errors
    -rw-r--r-- 1 web7 client1 1150 Nov 25 20:48 favicon.ico
    -rw-r--r-- 1 web7 client1 5979 Nov 25 20:48 get.php
    -rw-r--r-- 1 web7 client1 5667 Nov 25 20:48 .htaccess
    -rw-r--r-- 1 web7 client1 4600 Nov 25 20:48 .htaccess.sample
    drwxr-xr-x 2 web7 client1 4096 Nov 26 19:21 includes
    -rw-r--r-- 1 web7 client1 2674 Nov 25 20:48 index.php
    -rw-r--r-- 1 web7 client1 2366 Nov 25 20:48 index.php.sample
    -rw-r--r-- 1 web7 client1 6367 Nov 25 20:48 install.php
    drwxr-xr-x 13 web7 client1 4096 Nov 25 20:48 js
    drwxr-xr-x 11 web7 client1 4096 Nov 25 20:48 lib
    -rw-r--r-- 1 web7 client1 10421 Nov 25 20:48 LICENSE_AFL.txt
    -rw-r--r-- 1 web7 client1 10679 Nov 25 20:48 LICENSE.html
    -rw-r--r-- 1 web7 client1 10414 Nov 25 20:48 LICENSE.txt
    -r-xr-x--- 1 web7 client1 1319 Nov 25 20:48 mage
    drwxr-xr-x 15 web7 client1 4096 Nov 29 16:50 media
    -rw-r--r-- 1 web7 client1 3894 Nov 25 20:48 package.xml
    -rw-r--r-- 1 web7 client1 751 Nov 25 20:48 php.ini.sample
    drwxr-xr-x 2 web7 client1 4096 Nov 25 20:48 pkginfo
    -rw-r--r-- 1 web7 client1 584421 Nov 25 20:48 RELEASE_NOTES.txt
    drwxr-xr-x 2 web7 client1 4096 Nov 25 20:48 shell
    -rw-rw-rw- 1 web7 client1 6540 Nov 27 09:07 sitemap.xml
    drwxr-xr-x 5 web7 client1 4096 Nov 25 20:48 skin
    drwxr-xr-x 9 1711 1712 4096 Nov 4 13:12 sqlbuddy
    drwxr-xr-x 2 root root 4096 Dec 9 10:28 stats
    drwxr-xr-x 2 1711 1712 4096 Oct 28 09:09 theme543
    drwxr-xr-x 6 web7 client1 4096 Nov 26 22:20 var

    regards
    Stefan
     

Share This Page