#!/bin/sh -x cat > /etc/httpd/conf.d/tet.conf << EOF Alias /pki/repo/ "/root/CS/repo/" Options Indexes MultiViews FollowSymLinks AllowOverride None Order allow,deny Allow from all Alias /pki/test/ "/root/CS/tet/" Options Indexes MultiViews FollowSymLinks AllowOverride None Order allow,deny Allow from all EOF