> -----Original Message-----
> From: Ashutosh Mohanty [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 19, 2006 8:43 AM
> To: Apache Group
> Subject: [EMAIL PROTECTED] problem due to html files,
> > 
> In IE browser, whenever I am trying to open page from my 
> internal site like http://abc.mydomain.com
> 
> 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 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
>     DocumentRoot /home/ashutosh/www/html
>     ServerName abc.mydomain.com
>     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 127.0.0.1
>     </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...

Rgds,
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 192.168.3.42] 
> Directory index forbidden by rule: /home/ashutosh/www/html/
> 
>  
> 
> Any help would be delightful!
> 
>  
>  
> 
> Best Regards: 
> 
> Ashutosh Mohanty  
> SynaptiCAD Inc. 
> 
> 
> Visit us at:: www.syncad.com    
> 
> 
> 
> =========
> 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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to