LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-16-2006, 12:57 AM   #1
rajnair0278
Member
 
Registered: Mar 2006
Posts: 62

Rep: Reputation: 15
Cant execute index.html...Urgent!!!


I have perfectly configured php, mysql and apache on linux. Can access index.php also when I type linuxhost/index.php. However, when I type //linuxhost/index.html i keep on getting a popup with 2 options : 1) Open using an application 2) Save this file to disk. I want to get rid of this popup window. Index.html is mentioned in httpd.conf, if this information helps you by any chance. Any help and suggestion will be highly appreciated?? Really urgent guys!!! Thx.
 
Old 03-16-2006, 03:40 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
You need to get the URL straight.
linuxhost/index.php is incomplete, but may fall back to http://linuxhost/index.php by default (in your browser).

//linuxhost/index.php, as the box indicates, falls back to something like file://linuxhost/index.php. But this is most likely browser behaviour, not server behaviour. So I doubt if you can configure it in httpd.conf.

So the problem is that you need to use the right URL to get the stuff you want. The protocol information (http://, file://, etc) is there for a purpose. I doubt if you can avoid it from the server's side.
 
Old 03-16-2006, 03:50 AM   #3
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Quote:
I have perfectly configured php, mysql and apache on linux.
Not necessarily, the issues are the dead giveaway for me anyway.
 
Old 03-16-2006, 03:53 AM   #4
doc.nice
Member
 
Registered: Oct 2004
Location: Germany
Distribution: Debian
Posts: 274

Rep: Reputation: 34
this seems like a (mime type) configururation problem in your webbrowser.
try accessing the website with another one. if that helps, you have to set text/html mime type or *.htm* files to open in your browser instead of showing the download dialog.

HTH,
Florian
 
Old 03-16-2006, 05:31 AM   #5
rajnair0278
Member
 
Registered: Mar 2006
Posts: 62

Original Poster
Rep: Reputation: 15
Hi timmeke, am sorry. The way I executed it was not the way i mentioned it(//linuxhost/index.html). It was with http only. Its just that the forum didnt allow me to write the complete url since it was my first post. So in a hurry removed it. I didnt assume it will be misleading. Anyways, as far as the problem is concerned its still there. Mr. doc.nice, I tried it on a windows browser on lan. But still the same. You mentioned text/html mime type?? How and where do i set it?? I Hope that helps my cause. Thanks.

Last edited by rajnair0278; 03-16-2006 at 05:32 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
index.html ronraj Linux - Newbie 8 06-16-2005 05:54 PM
visit linux web from windows, the site couldn't execute "index.html" automaticlly Meditator Linux - Networking 3 03-20-2004 12:10 PM
Konqueror + file:/usr/share/doc/HTML/index.html jon_k Linux - Software 2 11-25-2003 06:06 AM
Spanish index.html liguorir Linux - Software 1 09-24-2003 03:22 PM
konqueror and index.html Domino Linux - General 5 04-19-2002 08:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration