Current time: 06-25-2022, 08:04 AM Hello There, Guest! (LoginRegister)


Post Reply 
Generation of Apache ispcp.conf
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
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
(This post was last modified: 03-15-2010 06:53 PM by joximu.)
03-15-2010 06:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Generation of Apache ispcp.conf - MasterTH - 03-15-2010, 09:05 AM
RE: Generation of Apache ispcp.conf - joximu - 03-15-2010 06:52 PM

Forum Jump:


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