Current time: 12-27-2024, 03:05 PM Hello There, Guest! (LoginRegister)


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

Posts: 16
Joined: Jan 2009
Reputation: 0
Post: #21
RE: [possible bug] subdomains not working
(01-21-2009 12:42 PM)ensit Wrote:  
(01-13-2009 01:28 AM)sci2tech Wrote:  This is the problem:
Code:
</IfModule>    # httpd sub entry PHP2 support END.
modify in
Code:
</IfModule>
# httpd sub entry PHP2 support END.
(add a new line before #) Please tell me what distro you use to correct in trunk.

Yes, Got it
This was my problem and its solved now

Its a temporary solution.
have any way to solve it permanently?
Any solution???
Help please
01-21-2009 07:22 PM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #22
RE: [possible bug] subdomains not working
You need to also modify template (/etc/ispcp/apache/parts).
01-21-2009 07:27 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ensit Offline
Junior Member
*

Posts: 16
Joined: Jan 2009
Reputation: 0
Post: #23
RE: [possible bug] subdomains not working
Yah, I do that
But of i make a simple change in any file i got a error which shown that my subdomain status is unknown error.
If i back to the previous stage all are OK.

Any specific solution?????

Specifically where i need to change ????
01-21-2009 07:37 PM
Find all posts by this user Quote this message in a reply
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
laddu Offline
Junior Member
*

Posts: 42
Joined: Dec 2008
Reputation: 0
Post: #25
RE: [possible bug] subdomains not working
bump?? someone ?
01-27-2009 09:41 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #26
RE: [possible bug] subdomains not working
just to be sure:
copy the sub_entry.tpl from a new tar on the server...
01-28-2009 01:03 AM
Visit this user's website Find all posts by this user Quote this message in a reply
laddu Offline
Junior Member
*

Posts: 42
Joined: Dec 2008
Reputation: 0
Post: #27
RE: [possible bug] subdomains not working
I manage to resolve it.

But I still have the first error. I add a subdomain but it is not working. I have to manually modify </IfModule> # httpd sub entry PHP2 support END. section to make it to work

Some ideas?

Regards
01-28-2009 07:42 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #28
RE: [possible bug] subdomains not working
Seems that in one of your tpl files the line is wrong:

</IfModule> # httpd sub entry PHP2 support END.

(a newline is missing)

have a look at /etc/ispcp/apache(2)/parts/*.tpl

/J
01-28-2009 08:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ceco91 Offline
Moderator
*****
Moderators

Posts: 95
Joined: Jan 2009
Reputation: 0
Post: #29
RE: [possible bug] subdomains not working
Put some extra newlines in "sub_php2_entry.tpl" using VIM.
(This post was last modified: 01-30-2009 07:47 PM by ceco91.)
01-30-2009 07:46 PM
Find all posts by this user Quote this message in a reply
laddu Offline
Junior Member
*

Posts: 42
Joined: Dec 2008
Reputation: 0
Post: #30
RE: [possible bug] subdomains not working
Same think.

ceco91 pm and I can leave you to have a look on the server.

Regards
01-30-2009 10:45 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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