niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Apps » Apache
problem due to html files,
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
Ashutosh Mohanty
*nix forums beginner


Joined: 12 Jul 2006
Posts: 22

PostPosted: Wed Jul 19, 2006 6:43 am    Post subject: problem due to html files, Reply with quote

Hi Everybody,



My previous virtual hosting problem has been solved, Thanks to Owen Boyle!!, I am so astonish that now I am facing a stupid 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 ashutosh@mydomain.com
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
</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.
=========
Back to top
Boyle Owen
*nix forums Guru


Joined: 07 Feb 2005
Posts: 618

PostPosted: Wed Jul 19, 2006 7:35 am    Post subject: RE: problem due to html files, Reply with quote

Quote:
-----Original Message-----
From: Ashutosh Mohanty [mailto:ashutosh@syncad.com]
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 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 ashutosh@mydomain.com <mailto:ashutosh@mydomain.com
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.


Quote:
/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: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Back to top
Ashutosh Mohanty
*nix forums beginner


Joined: 12 Jul 2006
Posts: 22

PostPosted: Wed Jul 19, 2006 7:57 am    Post subject: Re: problem due to html files, Reply with quote

thanks Owen Boyle, Its working Smile, thanks a lot.............



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.
========
----- Original Message -----
From: Boyle Owen
To: users@httpd.apache.org
Sent: Wednesday, July 19, 2006 1:05 PM
Subject: RE: [users@httpd] problem due to html files,


Quote:
-----Original Message-----
From: Ashutosh Mohanty [mailto:ashutosh@syncad.com]
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 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 ashutosh@mydomain.com <mailto:ashutosh@mydomain.com
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.


Quote:
/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: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Tue Dec 02, 2008 12:01 am | All times are GMT
navigation Forum index » Apps » Apache
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Unknown in header problem -SOLVED- Light Speed Postfix 0 Thu Jul 03, 2008 10:40 am
No new posts problem with sending mail nuxia Postfix 0 Mon Apr 21, 2008 3:58 am
No new posts Postfix 2.3.8 Virtual problem Blotto Postfix 0 Fri Apr 04, 2008 6:11 am
No new posts Postfix sending problem for local domain remote email monkey_magix Postfix 0 Mon Sep 10, 2007 10:17 am
No new posts bounce problem murkis Postfix 0 Sun Oct 08, 2006 3:45 pm

Mortgages | Online Gift Shopping | Mortgages | Loan | Download PC Drivers
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2450s ][ Queries: 16 (0.1371s) ][ GZIP on - Debug on ]