|
ServerAlias and specific options for VHosts - manual configuration
|
| Author |
Message |
jmeyerdo
Junior Member

Posts: 139
Group: Registered
Joined: Oct 2007
Status:
Offline
Reputation: 2
|
RE: ServerAlias and specific options for VHosts - manual configuration
Hi!
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 |
|
 |
raphael
Member
   
Posts: 474
Group: Dev Team
Joined: Apr 2007
Status:
Offline
Reputation: 8
|
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
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 |
|
 |
Cube
Documentation Team
  
Posts: 663
Group: Docu Team
Joined: Apr 2007
Status:
Offline
Reputation: 8
|
RE: ServerAlias and specific options for VHosts - manual configuration
I prefer joximu's proposal
/etc/apache2/ispcp/..
|
|
| 11-04-2007 04:21 AM |
|
 |
jmeyerdo
Junior Member

Posts: 139
Group: Registered
Joined: Oct 2007
Status:
Offline
Reputation: 2
|
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. 
Have a nice day, kind regards, Jens
|
|
| 11-04-2007 04:45 AM |
|
 |
joximu
Moderator
    
Posts: 3,539
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
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 |
|
 |
jmeyerdo
Junior Member

Posts: 139
Group: Registered
Joined: Oct 2007
Status:
Offline
Reputation: 2
|
RE: ServerAlias and specific options for VHosts - manual configuration
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 |
|
 |
joximu
Moderator
    
Posts: 3,539
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
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 |
|
 |
|
|