(Apache) individual config for (sub)domains - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: (Apache) individual config for (sub)domains (/thread-6601.html) |
(Apache) individual config for (sub)domains - schildhans - 05-03-2009 07:41 AM Hi, I installed ISPCP a few hours ago and until now it works fine. MailServer & FTP are up and running. Now I want to configure apache. I have a customer with the domain domain.tld and the subdomain sub.domain.tld with /sub as folder configured. Now I have to (manually) configure apache. As example sub.domain.tld needs mod.dav enabled, domain.tld needs Directory Listening etc. My question is: where do I put this configuration? I tried to put Options +Indexes in sub.domain.tld.conf found in /etc/apache2/ispcp. But ISPCP still sends HTTP error 403 when trying to get a Listing. And in /var/log/apache2/users/ there is no sub.domain.tld-error.log where I could look. any ideas? schildhans RE: (Apache) individual config for (sub)domains - BeNe - 05-04-2009 06:25 AM You get Problems mit mod_dav and fastcgi/fcgid because of the Permissions. Greez BeNe RE: (Apache) individual config for (sub)domains - Alekska - 05-04-2009 07:21 AM Try to put Options +Indexes into a .htaccess file at the root of the subdomain (/sub) RE: (Apache) individual config for (sub)domains - schildhans - 05-04-2009 08:02 PM (05-04-2009 06:25 AM)BeNe Wrote: You get Problems mit mod_dav and fastcgi/fcgid because of the Permissions. Hi, thanks for your reply. I get now directory listing to work with a .htaccess file, but some permission problems stil exist. I try do set up for one ISPCP user a svn repository using DAV svn. The repository directory is under /var/www/virtual/domain.tld/repository and has vu2002:vu2002 access rights. The repository works and user can access and checkout from it. but on commit I get permission denied for file xxx.... I think this is related to suexec(). What group/user are the files supposed to have on the server to be writeable? I found here a similar problem: question: https://lists.ubuntu.com/archives/ubuntu-users/2005-September/048567.html answer: ...that suEXEC only applies to *executing* something, not *accessing* it. I.e., Apache with suEXEC still *accesses* files as www-data, so the repository files must have permissions allowing for writing by www-data. But also with www-data as group it does not work. I currently switched back my Server to a backup without ISPCP where al is configured by hand and works without suexec(). But I would realy like to know how this could work so that I can give ISPCP another try (svn having working is essential for me.). Thanks for any suggestions schildhans |