John,

In the httpd.conf file there is a directive called:

<IfModule dir_module>
    DirectoryIndex index.html
</IfModule>


Just change it to:

<IfModule dir_module>
    DirectoryIndex index.html index.cfm
</IfModule>


and restart apache and it should work for you.



J.J.




On Fri, Sep 26, 2008 at 2:19 AM, John Barrett <[EMAIL PROTECTED]> wrote:
> Hi,
> I seem to have a problem showing the index.cfm file when I view the 
> directory. Such as if I go to http://localhost I get the listing of files 
> instead of the index.cfm file.
>
> I know the problem is connected to the httpd configuration file. Where 
> generally on the Linux machine(Unbtutu) is this located, and do I just change 
> the apache settings to include the .cfm extension or is there some other 
> changes that I would need to add? I think that it is the module settings in 
> the apache file, but not sure.
>
> Thanks so much for any help that you might be able to add.
> John
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-linux/message.cfm/messageid:4461
Subscription: http://www.houseoffusion.com/groups/cf-linux/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.14

Reply via email to