Current time: 11-14-2024, 05:06 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: #1
[possible bug] subdomains not working
Hello,

I`m back with other issue. I create a subdomain for my domain, and when I try to access it it is pointing to the main domain.

Entries exists in DNS zone as follows:
Code:
; sub [forum.nights.ro] entry BEGIN.
forum.nights.ro.                                IN      A       85.9.22.129
www.forum.nights.ro.                    IN      A       85.9.22.129
ftp.forum.nights.ro.                    IN      A       85.9.22.129
localhost.forum.nights.ro.      IN      A       127.0.0.1
; sub [forum.nights.ro] entry END.

I can not fin something related in httpd.conf nor in vhosts.

Please an advice.

Regards
After a httpd restart an error occurs:
Code:
service httpd start
Starting httpd: httpd: Syntax error on line 993 of /etc/httpd/conf/httpd.conf: Syntax error on line 844 of /etc/httpd/vhosts/ispcp.conf: </IfModule> without matching <IfModule> section
                                                           [FAILED]

httpd wont start
The error is caused by this line being like this
Code:
</IfModule>    # httpd sub entry PHP2 support END.

it should be like this
Code:
</IfModule>    
# httpd sub entry PHP2 support END.

and also the subdomains start to work after the # httpd sub entry PHP2 support END. was moved to the next line.
This seems to be a bug. Every time I add or remove a subdomain the line is back and subdomain not working
(This post was last modified: 01-12-2009 08:08 PM by laddu.)
01-12-2009 05:19 AM
Find all posts by this user Quote this message in a reply
laddu Offline
Junior Member
*

Posts: 42
Joined: Dec 2008
Reputation: 0
Post: #2
RE: [possible bug] subdomains not working
Any ideas ?
01-12-2009 08:08 PM
Find all posts by this user Quote this message in a reply
coper Offline
Junior Member
*

Posts: 91
Joined: Nov 2008
Reputation: 0
Post: #3
RE: [possible bug] subdomains not working
You need to tell us something more. Like what mounting point did you put to the subdomain, what version of ispCP are you using.
It's a little early to talk about a bug don't you think? If there is a bug related to subdomains creation should be a lot of people with the same problem, because is is widely used, and I don't see that happens in the forum.
(This post was last modified: 01-13-2009 12:27 AM by coper.)
01-13-2009 12:25 AM
Find all posts by this user Quote this message in a reply
laddu Offline
Junior Member
*

Posts: 42
Joined: Dec 2008
Reputation: 0
Post: #4
RE: [possible bug] subdomains not working
Mounting point for the subdomain is /forum (in gui). in pwd the location is:
Code:
/var/www/virtual/nights.ro/forum
ispCP version is RC7
01-13-2009 12:48 AM
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: #5
RE: [possible bug] subdomains not working
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.
01-13-2009 01:28 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: #6
RE: [possible bug] subdomains not working
CentOS release 5.2 (Final)
01-13-2009 01:30 AM
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: #7
RE: [possible bug] subdomains not working
It`s already fixed on r1441
01-13-2009 02:16 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: #8
RE: [possible bug] subdomains not working
Maybe this is already fixed but is not working for me.

Any solution ?
01-13-2009 03:46 AM
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: #9
RE: [possible bug] subdomains not working
Did you upgrade to latest nightly?
01-13-2009 03:47 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: #10
RE: [possible bug] subdomains not working
Upgrade the OS or the isp-CO ?
01-13-2009 03:49 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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