Current time: 05-18-2024, 08:30 PM Hello There, Guest! (LoginRegister)


Post Reply 
[possible bug] subdomains not working
Author Message
laddu Offline
Junior Member
*

Posts: 42
Joined: Dec 2008
Reputation: 0
Post: #19
RE: [possible bug] subdomains not working
Hello,

I made the changes:

Code:
cat /etc/ispcp/apache/parts/sub_entry.tpl
<VirtualHost {SUB_IP}:80>

    #
    #User {SUEXEC_USER}
    #Group {SUEXEC_GROUP}
    #

    <IfModule suexec_module>
           SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP}
    </IfModule>

    ServerAdmin     webmaster@{DMN_NAME}
    DocumentRoot    {WWW_DIR}/{DMN_NAME}{MOUNT_POINT}/htdocs

    ServerName      {SUB_NAME}
    ServerAlias     www.{SUB_NAME} {SUB_NAME} *.{SUB_NAME}

    Alias /errors {WWW_DIR}/{DMN_NAME}/errors/

    ErrorDocument 401 /errors/401.html
    ErrorDocument 403 /errors/403.html
    ErrorDocument 404 /errors/404.html
    ErrorDocument 500 /errors/500.html
    ErrorDocument 503 /errors/503.html

    <IfModule mod_cband.c>
        CBandUser {DMN_GRP}
    </IfModule>

    # httpd sub entry cgi support BEGIN.
    # httpd sub entry cgi support END.

    <Directory {WWW_DIR}/{DMN_NAME}{MOUNT_POINT}/htdocs>
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

    Include {CUSTOM_SITES_CONFIG_DIR}/{SUB_NAME}.conf

</VirtualHost>

Now when I add a new subdomain in GUI the status is : 'Unknown error'. Action button is 'N/A' and by pressing it I have no result.

Regards
01-21-2009 03:01 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [possible bug] subdomains not working - laddu - 01-21-2009 03:01 AM

Forum Jump:


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