Find the answer to your Linux question:
Results 1 to 2 of 2
What's wrong with this code? Code: Listen 80 NameVirtualHost *&#58;80 <VirtualHost *&#58;80> ServerAdmin kevinseth@gmail.com ServerName www.sandspainting.biz DocumentRoot \SandSPainting.biz\index.htm </VirtualHost> <VirtualHost *&#58;80> ServerAdmin kevinseth@gmail.com ServerName www.indignostudios.com DocumentRoot \IndignoStudios.com\index.htm </virtualHost>...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2004
    Posts
    51

    Apache2 server


    What's wrong with this code?
    Code:
    Listen 80
    NameVirtualHost *&#58;80
    <VirtualHost *&#58;80>
    ServerAdmin kevinseth@gmail.com
    ServerName www.sandspainting.biz
    DocumentRoot \SandSPainting.biz\index.htm
    </VirtualHost>
    
    <VirtualHost *&#58;80>
    ServerAdmin kevinseth@gmail.com
    ServerName www.indignostudios.com
    DocumentRoot \IndignoStudios.com\index.htm
    </virtualHost>

  2. #2
    Just Joined!
    Join Date
    Oct 2005
    Location
    North Carolina, USA
    Posts
    45
    The slashes are going the wrong way on your DocumentRoot directives.
    Try:

    DocumentRoot /SandSPainting.biz/index.htm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •