What should an IP based VirtualHost directive look like?

Updated -

This example is straight out of the stock SWS httpd.conf file.

# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
#
<VirtualHost ip.address.of.host.some_domain.com/>
    ServerAdminwebmaster@host.some_domain.com
    DocumentRoot /www/docs/host.some_domain.com
    ServerName host.some_domain.com/
    ErrorLog logs/host.some_domain.com-...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content