|
Generation of Apache ispcp.conf
|
| Author |
Message |
joximu
moderator
    
Posts: 6,205
Joined: Jan 2007
Reputation: 77
|
RE: Generation of Apache ispcp.conf
(03-15-2010 06:17 PM)MasterTH Wrote: also the normal path of htdocs and cgi-bin?
why not?
eg in ispcp.conf:
Code:
<VirtualHost 1.2.3.4:80>
<IfModule suexec_module>
SuexecUserGroup vu2005 vu2005
</IfModule>
ServerAdmin webmaster@dom3.net
DocumentRoot /var/www/virtual/dom3.net/htdocs
ServerName dom3.net
ServerAlias www.dom3.net dom3.net *.dom3.net
Alias /errors /var/www/virtual/dom3.net/errors/
...
Include /etc/apache2/ispcp/dom3.net.conf
</VirtualHost>
and in ispcp/dom3.net.conf:
Code:
# changes to the original
DocumentRoot /var/www/virtual/dom3.net/htdocs/here/or/there
ServerAlias www.dom3.net *.dom3.net here.domain.tld
ScriptAlias /cgi-bin/ /var/www/virtual/dom3.net/cgi-bin4/
<Directory /var/www/virtual/dom3.net/cgi-bin4>
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
(there wthout the <VirtualHost> or course...)
/J
2010-03-31 ispCP 1.0.5 released
(This post was last modified: 03-15-2010 06:53 PM by joximu.)
|
|
| 03-15-2010 06:52 PM |
|