Current time: 11-26-2024, 06:24 AM Hello There, Guest! (LoginRegister)


Post Reply 
(Apache) individual config for (sub)domains
Author Message
schildhans Offline


Posts: 2
Joined: May 2009
Reputation: 0
Post: #1
(Apache) individual config for (sub)domains
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
05-03-2009 07:41 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: (Apache) individual config for (sub)domains
You get Problems mit mod_dav and fastcgi/fcgid because of the Permissions.

Greez BeNe
05-04-2009 06:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Alekska Offline
Newbie
*

Posts: 6
Joined: Apr 2009
Reputation: 0
Post: #3
RE: (Apache) individual config for (sub)domains
Try to put Options +Indexes into a .htaccess file at the root of the subdomain (/sub)
05-04-2009 07:21 AM
Find all posts by this user Quote this message in a reply
schildhans Offline


Posts: 2
Joined: May 2009
Reputation: 0
Post: #4
RE: (Apache) individual config for (sub)domains
(05-04-2009 06:25 AM)BeNe Wrote:  You get Problems mit mod_dav and fastcgi/fcgid because of the Permissions.

Greez BeNe

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...48567.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
05-04-2009 08:02 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)