ispCP - Board - Support
[possible bug] subdomains not working - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: [possible bug] subdomains not working (/thread-5414.html)

Pages: 1 2 3 4


[possible bug] subdomains not working - laddu - 01-12-2009 05:19 AM

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


RE: [possible bug] subdomains not working - laddu - 01-12-2009 08:08 PM

Any ideas ?


RE: [possible bug] subdomains not working - coper - 01-13-2009 12:25 AM

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.


RE: [possible bug] subdomains not working - laddu - 01-13-2009 12:48 AM

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


RE: [possible bug] subdomains not working - sci2tech - 01-13-2009 01:28 AM

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.


RE: [possible bug] subdomains not working - laddu - 01-13-2009 01:30 AM

CentOS release 5.2 (Final)


RE: [possible bug] subdomains not working - sci2tech - 01-13-2009 02:16 AM

It`s already fixed on r1441


RE: [possible bug] subdomains not working - laddu - 01-13-2009 03:46 AM

Maybe this is already fixed but is not working for me.

Any solution ?


RE: [possible bug] subdomains not working - sci2tech - 01-13-2009 03:47 AM

Did you upgrade to latest nightly?


RE: [possible bug] subdomains not working - laddu - 01-13-2009 03:49 AM

Upgrade the OS or the isp-CO ?