httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] problem due to html files,
Date Wed, 19 Jul 2006 07:35:09 GMT
> -----Original Message-----
> From: Ashutosh Mohanty [] 
> Sent: Wednesday, July 19, 2006 8:43 AM
> To: Apache Group
> Subject: [users@httpd] problem due to html files,
> > 
> In IE browser, whenever I am trying to open page from my 
> internal site like
> Its showing a window-dialog Box for open/save options, I 
> don't know what is the problem apache facing to show my 
> "index.html" file which is inside the 
> "/home/ashutosh/www/html" Directory, Here is my Virtual host setting
> <VirtualHost *>
>     ServerAdmin <> 
>     DocumentRoot /home/ashutosh/www/html
>     ServerName
>     ServerAlias abc
>     ErrorLog /home/ashutosh/www/logs/error_log
>     CustomLog /home/ashutosh/www/logs/access_log common
> <Directory "/home/ashutosh/www/html">
>         Options Indexes FollowSymLinks
>         AllowOverride None
>         Order allow,deny
>         Allow from 192.168
>     </Directory>
>  <IfModule mod_mime.c>
>             AddType text/html .html .htm
>             AddType application/x-httpd-php .html .htm .php4 .php

Why do you have ".html" on this line? It supersedes the line above
meaning that apache sends HTML files with a mime-type of
application/x-httpd-php. This is what's causing the browser to try to
save it. Remove ".html" and ".htm" from this line and it should work...

Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

>     </IfModule>
> </VirtualHost>
> Its giving error in error_log as
>  [Fri Jul 14 14:22:50 2006] [error] [client] 
> Directory index forbidden by rule: /home/ashutosh/www/html/
> Any help would be delightful!
> Best Regards: 
> Ashutosh Mohanty  
> SynaptiCAD Inc. 
> Visit us at::    
> =========
> This Communication is for the exclusive use of the intended 
> recipient (s) and shall not attach any liability on the 
> originator or SynaptiCAD Inc./its Subsidiaries. If you are 
> the addressee, the contents of this email are intended for 
> your use only and it shall not be forwarded to any third 
> party, without first obtaining written authorization from the 
> originator or SynaptiCAD Inc./its Subsidiaries. It may 
> contain information which is confidential and legally 
> privileged and the same shall not be used or dealt with by 
> any third party in any manner whatsoever without the specific 
> consent of SynaptiCAD Inc./its Subsidiaries. 
> =========
This message is for the named person's use only. It may contain confidential, proprietary
or legally privileged information. No confidentiality or privilege is waived or lost by any
mistransmission. If you receive this message in error, please notify the sender urgently and
then immediately delete the message and any copies of it from your system. Please also immediately
destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail communications through their
networks. Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorised to state them to be the views of
the sender's company.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message