Current time: 11-29-2024, 02:16 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: #24
RE: [possible bug] subdomains not working
Not working for me either:

this is my sub_entry.tpl:

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.

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

    <Directory {WWW_DIR}/{DMN_NAME}{MOUNT_POINT}/htdocs>
        # httpd sub entry PHP support BEGIN.
        # httpd sub entry PHP support END.
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

    Include {CUSTOM_SITES_CONFIG_DIR}/{SUB_NAME}.conf

</VirtualHost>

Domain status 'error unknown'.

In ispcp DB, Table: subdomain, subdomain_status column, for the domain i created I have:

Code:
get_tag() | ERROR: '    # httpd sub entry PHP2 support BEGIN.
' ne '    # httpd sub entry PHP2 support END.
', '    # httpd sub entry PHP2 support BEGIN.
' or '    # httpd sub entry PHP2 support END.
' missing in src !

again I use centos and RC7
01-21-2009 08:25 PM
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 08:25 PM

Forum Jump:


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