Post Reply  Post Thread 
Pages (2): « First < Previous 1 [2] Last »
ServerAlias and specific options for VHosts - manual configuration
Author Message
jmeyerdo
Junior Member
*


Posts: 139
Group: Registered
Joined: Oct 2007
Status: Offline
Reputation: 2
Post: #11
RE: ServerAlias and specific options for VHosts - manual configuration

Hi!

raphael Wrote:
I think we should better populate some dir like /etc/ispcp/apache/custom so even subdomains and aliases have thir own, custom, .conf file.

Hmm, why not keeping all .conf-files for the apache at the same place?
So I would prefer "...../sites-available/domain.de" or "...../sites-available/alias.de".

Why should "/etc/ispcp/apache/custom/domain.de", "/etc/ispcp/apache/custom/alias.de", ... be better?

Kind regards, Jens

11-03-2007 11:58 PM
Find all posts by this user Quote this message in a reply
raphael
Member
****
Dev Team

Posts: 474
Group: Dev Team
Joined: Apr 2007
Status: Offline
Reputation: 8
Post: #12
RE: ServerAlias and specific options for VHosts - manual configuration

because files under sites-available are only available configs, nothing enabled.
An administrator would expect a2ensite domain.tld to enable the custom config, and since that wouldn't be the case, sites-available won't be used (neither sites-enabled becuase of the same reason: a2dissite).


YaHost Me | Text Link Ads | my Debian repository | Donate! | No OOXML! | Project HoneyPot | ... and more

Quote:
This is Linux land. In silent nights you can hear the Windows machines rebooting.

If you want to be helped, don't PM me but post in the forums | If you want private support PM me and we'll discuss the price

11-04-2007 04:14 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Cube
Documentation Team
***
Docu Team

Posts: 663
Group: Docu Team
Joined: Apr 2007
Status: Offline
Reputation: 8
Post: #13
RE: ServerAlias and specific options for VHosts - manual configuration

I prefer joximu's proposal

Quote:
/etc/apache2/ispcp/..

11-04-2007 04:21 AM
Find all posts by this user Quote this message in a reply
jmeyerdo
Junior Member
*


Posts: 139
Group: Registered
Joined: Oct 2007
Status: Offline
Reputation: 2
Post: #14
RE: ServerAlias and specific options for VHosts - manual configuration

Hi!

Ok, I included the whole "sites-available" directory with my configuration because with CentOS "a2ensite" and "a2dissite" are not available.

For me it is not really important where to store the configuration-files. Of course I would like to see this feature in one of the next releases. Wink

Have a nice day, kind regards, Jens

11-04-2007 04:45 AM
Find all posts by this user Quote this message in a reply
joximu
Moderator
*****


Posts: 3,539
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 47
Post: #15
RE: ServerAlias and specific options for VHosts - manual configuration

the "sites-enabled/available" folders are used in debian (and similar) distros.
suse uses "vhosts" and other distros maybe to.
So, it maybe easier to look for a solution which runs on every distro without much configuration...

That's what my proposal stands for

/J


2008-03-16 ispCP RC4 released!!!
11-04-2007 10:40 AM
Visit this user's website Find all posts by this user Quote this message in a reply
jmeyerdo
Junior Member
*


Posts: 139
Group: Registered
Joined: Oct 2007
Status: Offline
Reputation: 2
Post: #16
RE: ServerAlias and specific options for VHosts - manual configuration

joximu Wrote:
So, it maybe easier to look for a solution which runs on every distro without much configuration...

That's what my proposal stands for

Ah, yes - of course!

Sorry, I used my (absolute) paths as example. But in my piece of code you can see that I used the configuration-variable: "APACHE_SITES_DIR". For me this is actually "/etc/httpd/conf.d/sites-available" but can be different with other distros.
So it is still my opinion that this APACHE_SITES_DIR is the best place for this - and not including .conf-files from different places.

Kind regards, Jens

11-04-2007 06:53 PM
Find all posts by this user Quote this message in a reply
joximu
Moderator
*****


Posts: 3,539
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 47
Post: #17
RE: ServerAlias and specific options for VHosts - manual configuration

But there are distributions which use a2ensite and asdissite (and other a2-commmands) to enable/disable apache sites (and mods) - suse, centos and others don't uise theese commands.
So, for non-debian distros conf.d (oder vhosts.d) is a good places to put the ispcp-domain.conf files but it's not the best place for debian based distros...

we have to find the best for all possible (or at least major) distributions...

Joxi


2008-03-16 ispCP RC4 released!!!
11-04-2007 09:25 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Pages (2): « First < Previous 1 [2] Last »
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

| All rights reserved : isp-control.net |