Mike,
Here's a snapshot of my vhosts.conf file from my SuSE 9.1 server,
running Apache 2.37 I think... whatever comes with SuSE 9.1:
<VirtualHost *:80>
# Note that the server name and server alias work together
# to allow both a local name and an internet name.
# Both need to be in DNS
ServerAdmin [EMAIL PROTECTED]
ServerName myserver
ServerAlias myserver.example.com
# DocumentRoot and DirectoryIndex are self-explanatory
DocumentRoot /srv/www/vhosts/myserver
DirectoryIndex index.cfm
# Custom logfile setup
ErrorLog /var/log/apache2/myserver-error_log
CustomLog /var/log/apache2/myserver-access_log combined
# Misc setup parameters
HostnameLookups Off
UseCanonicalName Off
ServerSignature On
</VirtualHost>
# This is essential to allow Apache to read the folder
# designated as the DocumentRoot in the vhost config block
<Directory "/srv/www/vhosts/myserver">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ "/srv/www/vhosts/myserver/cgi-bin/"
<Directory "/srv/www/vhosts/myserver/cgi-bin">
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
</Directory>
<IfModule mod_userdir.c>
UserDir public_html
Include /etc/apache2/mod_userdir.conf
</IfModule>
Please note that the Directory section is as important as the vhost
section and the DNS entries. Without all the pieces in place it won't
work.
Laterz!
J
On 4/24/05, Mike Kear <[EMAIL PROTECTED]> wrote:
> No, I'm sorry Jared, but I've already read all that in the docs, and
> it didnt mean anything to me. No, that makes me seem like an idiot.
> Maybe I am, but I tried to do the stuff written in that URL you gave
> me, and it didnt work. That's where I worked out how to do what I did
> already, that didnt work.
>
--
---------------
-------------------------------------
Buy SQLSurveyor!
http://www.web-relevant.com/sqlsurveyor
Never make your developers open Enterprise Manager again.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204215
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54