Can"t start webpage.

Can"t start webpage.

am 04.07.2007 20:57:44 von Henk Oegema

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.

Re: Can"t start webpage.

am 05.07.2007 06:43:42 von petersprc

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 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.

Re: Can"t start webpage.

am 05.07.2007 17:24:53 von Henk Oegema

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 ....... :-(
>
> On Jul 4, 2:57 pm, Henk Oegema 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.

Re: Can"t start webpage.

am 06.07.2007 15:41:23 von Henk Oegema

>>
>> On Jul 4, 2:57 pm, Henk Oegema 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.

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

Re: Can"t start webpage.

am 20.07.2007 05:42:52 von Your Best Friend

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 **

Re: Can"t start webpage.

am 25.07.2007 20:24:10 von unknown

Post removed (X-No-Archive: yes)