how can set other virtualhosts in  same apache configuration file from
spacewalk?

i add in last part from file /etc/http/conf/httpd.conf

NameVirtualHost *:80
#
# NOTE: NameVirtualHost cannot be used without a port specifier
# (e.g. :80) if mod_ssl is being used, due to the nature of the
# SSL protocol.
#

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
<VirtualHost *:80>
    ServerAdmin [email protected]
    ServerName repo.example.com
    ServerAlias repo.example.com
    DocumentRoot /home/repo
<Directory "/home/repo">
    Options Indexes FollowSymLinks MultiViews
    Order allow,deny
    Allow from all
</Directory>

</VirtualHost>

But, this don't work.

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to