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)
-   -   question for you unix admins (https://gfy.com/showthread.php?t=260848)

fris 03-29-2004 09:03 AM

question for you unix admins
 
trying to figure out something, if anyone has any experience with rewritemap in apache mixed with mod_rewrite so i can setup say 209.235.19.209 and point /home/domain.com /home/domain2.com and so on for like 300 domains and setup virtualhost entries for each domain in httpd.conf

hopefully that was clear enough. any admins out there that can help. would be great. never did the rewritemap stuff before.

JamesDotCom 03-29-2004 09:11 AM

<pre>
NameVirtualHost 209.235.19.209

&lt;VirtualHost 209.235.19.209>
ServerName domain.com
ServerAlias www.domain.com
DocumentRoot /home/domain.com
ServerAdmin [email protected]

ErrorLog /var/log/apache/domain.com-error.log
CustomLog /var/log/apache/domain.com-access.log combined
&lt;/VirtualHost>

&lt;VirtualHost 209.235.19.209>
ServerName domain2.com
ServerAlias www.domain2.com
DocumentRoot /home/domain2.com
ServerAdmin [email protected]

ErrorLog /var/log/apache/domain2.com-error.log
CustomLog /var/log/apache/domain2.com-access.log combined
&lt;/VirtualHost>
</pre>

etc, etc...

Is this what you are looking for?


All times are GMT -7. The time now is 11:21 AM.

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