Created
November 24, 2011 11:37
-
-
Save larstobi/1391154 to your computer and use it in GitHub Desktop.
Yum repo apache config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <VirtualHost *:80> | |
| DocumentRoot /var/yum.example.net/htdocs | |
| ServerName yum.example.net | |
| Options -Indexes -FollowSymlinks | |
| <Directory "/var/yum.example.net/htdocs/yum"> | |
| AllowOverride None | |
| Options +Indexes | |
| Order allow,deny | |
| Allow from all | |
| </Directory> | |
| TransferLog /var/log/httpd/yum.example.net.log | |
| ErrorLog /var/log/httpd/yum.example.net.error.log | |
| </VirtualHost> | |
| <VirtualHost *:443> | |
| SSLEngine on | |
| SSLCertificateFile /etc/ssl/certs/yum.example.net.crt | |
| SSLCertificateKeyFile /etc/ssl/private/yum.example.net.key | |
| DocumentRoot /var/yum.example.net/htdocs | |
| ServerName yum.example.net | |
| Options -Indexes -FollowSymlinks | |
| <Directory "/var/yum.example.net/htdocs/yum"> | |
| AllowOverride None | |
| Options +Indexes | |
| Order allow,deny | |
| Allow from all | |
| </Directory> | |
| TransferLog /var/log/httpd/yum.example.net.log | |
| ErrorLog /var/log/httpd/yum.example.net.error.log | |
| </VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment