The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Perl script to correct domains.

Discussion in 'General Discussion' started by macklus, Mar 9, 2004.

  1. macklus

    macklus Active Member

    Joined:
    Jan 14, 2004
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Hi:
    i want doing a perl script that:
    - check all domains active.
    - if a domain isn't in httpd.conf, configure it
    - can configure any type of domains.

    To do it, i need to know if a domain ( ie sub1.domain.com ) is a subdomain, and not an domain.

    Cuestion is: Is there any cpanel perl module that can do it ? If not, where cpanel store this info ?

    Thanks !!!
     
Loading...

Share This Page