Thanks Jared.  I'm wishing I hadnt fallen for that old "I use Apache
and it's a piece of cake" rubbish now.   For a coldfusion developer,
who has never had a lot of involvement with server administration,
specially in Unix, it's not a piece of cake at all.

[A]  For example, what is 'UseCanonicalName Off'?

[B] Why do I have to have DNS entries for everything if I'm only using
my local folders, for local access, and nothing whatever to do with
the internet?  And since I dont have my own DNS server set up on this
machine does that mean I have to have one now?  Or do i have to add
entries for all these in an external DNS, which means they wont be
available when I'm offline, which was the whole point in the first
place - to set up my dev machine so i can run my dev versions of the
sites i'm working on.

[C] And what is this section about? <IfModule mod_userdir.c>

[D]  What does this line do:  HostnameLookups Off     I'd have thought
it does exactly the opposite of what I'm trying to do. But apparently
not.

[E] My apache installation set up the default home page to be at
C:\Program Files\Apache Group\Apache2\htdocs  and that's where
localhost lands.   ColdFusion also installed CFIDE and CFDOCs under
there too, but I dont think that's a very good place to be putting web
pages of any kind.  I want to move it all to c:\sites.    What does
that change?    Where is your default home page, and CFIDE and CFDOCS?



Sorry for being so dumb on this, but every time I think i have it
worked out, another 50 or 60 parameters emerge that I have no idea
about and I've never seen before.   Not even in the sample httpd:conf.

But I do appreciate your efforts on this.  It's a big help to a poor
old confused developer.

Cheers
Mike Kear
Windsor, NSW, Australia
Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month



On 4/25/05, Jared Rypka-Hauer - CMG, LLC <[EMAIL PROTECTED]> wrote:
> 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!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204222
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to