GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   apache virtual hosts and SEO, need input (https://gfy.com/showthread.php?t=891056)

fris 03-02-2009 09:55 AM

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.

riscphree 03-02-2009 01:22 PM

here you go fris, http://httpd.apache.org/docs/2.0/vhosts/mass.html

Brujah 03-02-2009 01:29 PM

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


All times are GMT -7. The time now is 03:54 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123