apache virtual hosts and SEO, need input

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fris
    Too lazy to set a custom title
    • Aug 2002
    • 55679

    #1

    apache virtual hosts and SEO, need input

    How would creating apache virtual hosts on the fly effect if any SEO

    basically i can add directories:

    /home/sites/domain1.com
    /home/sites/domain2.com

    etc

    and it will work automatically www.domain1.com domain1.com, without adding an apache entry for each domain.


    Code:
    VirtualHost 206.4.112.13>
      UseCanonicalName Off
      ServerAlias www.*
      DocumentRoot /home/sites/
      VirtualDocumentRoot /home/sites/%2+
    
      <Directory "">
        Options ALL -Indexes
        AllowOverride ALL
      </Directory>
    
    </VirtualHost>
    
    <VirtualHost 206.4.112.13>
      UseCanonicalName Off
      ServerAlias *
      DocumentRoot /home/sites/
      VirtualDocumentRoot /home/sites/%0
    
      <Directory "">
        Options ALL -Indexes
        AllowOverride ALL
      </Directory>
    
    </VirtualHost>
    Question is will it have any effect vs each entry for each domain.
    Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.
  • riscphree
    Confirmed User
    • Jul 2006
    • 103

    #2
    here you go fris, http://httpd.apache.org/docs/2.0/vhosts/mass.html
    Need some help? PHP, SQL, JS, jQuery, Server Admin

    http://riscit.info

    TrafficLions ask for GFY special

    Real SEO Traffic ask for GFY special

    ICQ: 168-518-402
    AIM: riscphree
    Skype: riscphree
    email: riscphree at gmail dot com

    Comment

    • Brujah
      Beer Money Baron
      • Jan 2001
      • 22157

      #3
      It shouldn't have any effect should it? Except for the ip numbers being the same.

      Comment

      Working...