question for you unix admins

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fris
    I have to go potty
    • Aug 2002
    • 55853

    #1

    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.
    Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


    My Newest Theme
  • JamesDotCom
    Registered User
    • Mar 2004
    • 35

    #2
    <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?

    Comment

    Working...