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.

httpd.conf which is correct?

Discussion in 'General Discussion' started by hostcp3, Feb 12, 2003.

  1. hostcp3

    hostcp3 Well-Known Member

    Joined:
    Jun 18, 2002
    Messages:
    156
    Likes Received:
    0
    Trophy Points:
    16
    Great forum this, when I have a problem I usually search through the forums first before submitting a support ticket , great database of Q&A.

    I hoep this question can add to the information here to help others, if we can get a correct answer.

    In my httpd.conf file I noticed accounts are adding entries differently, my question would be which is best or correct?


    example (a)

    &VirtualHost 000.000.000.000&
    ServerAlias www.00000.com 0000.com
    ServerAdmin webmaster@00000.com
    DocumentRoot /home/00000/public_html
    BytesLog domlogs/00000.com-bytes_log
    User 00000
    Group 00000
    ServerName www.0000.com
    CustomLog domlogs/0000.com combined
    ScriptAlias /cgi-bin/ /home/0000/public_html/cgi-bin/
    &/VirtualHost&

    example (b)

    &VirtualHost 000.000.000.000&
    ServerAdmin webmaster@00000.net
    DocumentRoot /home/0000/public_html
    BytesLog domlogs/v00000.net-bytes_log
    User 0000
    Group 0000
    ServerName www.00000.net
    ServerAlias 00000.net www.00000.net
    CustomLog domlogs/00000.net combined
    ScriptAlias /cgi-bin/ /home/0000/public_html/cgi-bin/

    &/VirtualHost&


    any information about this would be great thankyou.
     
Loading...

Share This Page