Can't start webpage.
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Can't start webpage.




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Can't start webpage.  
Henk Oegema


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-05-07 12:19 AM

I'm using Kubuntu7.04 with Apache 1.3 web server.

The webserver is running. (!)

When I do
http://localhost

I get a popup window:


---------------------------------------
You have chosen to open

which is a: PHTML file
from: http://localhost
What should firefox do with this file?

O  Open with    Browse
O  Save to disk

Cancel  OK
--------------------------------------

This also happens when I try to open a *.php file.

However, when I type
file:///var/www/index.html

Then the webpage appears, which is suppose to open with http://localhost.

How can help me to solve this problem?

Rgds
Henk.










[ Post a follow-up to this message ]



    Re: Can't start webpage.  
petersprc


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-05-07 06:24 AM

Try checking if you have php enabled, e.g.:

LoadModule php5_module modules/mod_php5.so
[...]
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml

On Jul 4, 2:57 pm, Henk Oegema <h...@oegema.com> wrote:
> I'm using Kubuntu7.04 with Apache 1.3 web server.
>
> The webserver is running. (!)
>
> When I dohttp://localhost
>
> I get a popup window:
>
> ---------------------------------------
> You have chosen to open
>
>         which is a: PHTML file
>         from:http://localhost
> What should firefox do with this file?
>
> O  Open with    Browse
> O  Save to disk
>
>                 Cancel  OK
> --------------------------------------
>
> This also happens when I try to open a *.php file.
>
> However, when I type
> file:///var/www/index.html
>
> Then the webpage appears, which is suppose to open withhttp://localhost.
>
> How can help me to solve this problem?
>
> Rgds
> Henk.







[ Post a follow-up to this message ]



    Re: Can't start webpage.  
Henk Oegema


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-05-07 06:23 PM

petersprc wrote:

> Try checking if you have php enabled, e.g.:
>
> LoadModule php5_module modules/mod_php5.so
> [...]

Don't have that module.
Can't find it either. (using Package Manager in Kubuntu 7.04)
ALL php5 modules which I could find, have been loaded.

> AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml

I have (added) that line.

But .......    :-([vbcol=seagreen]
>
> On Jul 4, 2:57 pm, Henk Oegema <h...@oegema.com> wrote: 






[ Post a follow-up to this message ]



    Re: Can't start webpage.  
Henk Oegema


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-06-07 06:23 PM

>>[vbcol=seagreen] 

After installing a fresh Kubuntu7.04 everything worked again as normal.  :-)






[ Post a follow-up to this message ]



    Re: Can't start webpage.  
Your Best Friend


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-20-07 06:24 AM

PHP isn't installed.

Henk Oegema wrote:
> I'm using Kubuntu7.04 with Apache 1.3 web server.
>
> The webserver is running. (!)
>
> When I do
> http://localhost
>
> I get a popup window:
>
>
> ---------------------------------------
> You have chosen to open
>
>         which is a: PHTML file
>         from: http://localhost
> What should firefox do with this file?
>
> O  Open with    Browse
> O  Save to disk
>
>                 Cancel  OK
> --------------------------------------
>
> This also happens when I try to open a *.php file.
>
> However, when I type
> file:///var/www/index.html
>
> Then the webpage appears, which is suppose to open with http://localhost.
>
> How can help me to solve this problem?
>
> Rgds
> Henk.
>
>
>
>
>

--
Thanks,
Bryan K
bk@bkworksproducts.com.info
To reply, remove .com
** PROUD USER OF THUNDERBIRD **





[ Post a follow-up to this message ]



    Re: Can't start webpage.  
SnowBlind


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-25-07 06:24 PM

On Thu, 19 Jul 2007 23:42:52 -0400, Your Best Friend
<bk@bkworksproducts.com.info> wrote:
[vbcol=seagreen]
>PHP isn't installed.
>
>Henk Oegema wrote: 
I'd check first that index.html is listed as the first file in the
default index file list.
<IfModule dir_module>
DirectoryIndex index.html Index.php Index.htm
</IfModule>

This tells apache which order to serve the default files in so if it
looks in a directory and finds index.html it will serve this file
first before index.php or index.htm depending on your directives.
You will then need to link the other index files to access them.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:02 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register