tom...@live.at
unread,Mar 27, 2012, 10:32:49 AM3/27/12You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi,
I thought to create an rpm which copies a virtual-host file into sites-available and creates a symbolic link in sites-enabled. Unfort. two hosts with the same port does not work:
<VirtualHost *:80>
Alias /htr "/home/tombert/cm/htr-wserver"
Alias /htr-wserver "/home/tombert/cm/htr-wserver"
<Directory "/home/tombert/cm/htr-wserver">
AllowOverride None
Order deny,allow
Deny from all
Allow from all
</Directory>
</VirtualHost>
Putting the "directory" section into the default virtual-host *:80 it works fine. But I thought it much easier for an self-installer to simply keep a pre-configured hosts file and copy it to the correct location.
So my question is the following: Is it possible to create an installation without touching the default and any other apache config file?
thx