apache on win98

This is a discussion on apache on win98 within the Windows Web Servers forums, part of the Web Server and Related Forums category; I have just installed Apache, under Win98. What have I done wrong to get this message when I start localhost: ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-23-2004
Nela
 
Posts: n/a
Default apache on win98

I have just installed Apache, under Win98.
What have I done wrong to get this message when I start localhost:

Not Acceptable
An appropriate representation of the requested resource / could not be found
on this server.
Available variants:

index.html.ca , type text/html, language ca
etc etc

Thanks,
Nela.


  #2 (permalink)  
Old 09-23-2004
Nela
 
Posts: n/a
Default Re: apache on win98

The file I used to install was:
apache_1.3.27-win32-x86-no_src

maybe I should install another? I am trying to get php to work, and in the
installations instructions it tells me to "loadmodule" a certain dll. I
can't find that dll anywhere.
Please help!
Nela

"Nela" <nela@jones.hr> wrote in message news:ciu1ie$tkg$1@sunce.iskon.hr...
> I have just installed Apache, under Win98.
> What have I done wrong to get this message when I start localhost:
>
> Not Acceptable
> An appropriate representation of the requested resource / could not be

found
> on this server.
> Available variants:
>
> index.html.ca , type text/html, language ca
> etc etc
>
> Thanks,
> Nela.
>
>



  #3 (permalink)  
Old 09-23-2004
Nela
 
Posts: n/a
Default Re: apache on win98

php4apache.dll
I can't find it anywhere.
Any ideas?

Nela


  #4 (permalink)  
Old 09-23-2004
Nil
 
Posts: n/a
Default Re: apache on win98

On 23 Sep 2004, "Nela" <nela@jones.hr> wrote in
news:civ1e8$o5d$1@sunce.iskon.hr:

> php4apache.dll
> I can't find it anywhere.
> Any ideas?


It's in the Windows PHP distribution available from php.net. If you're
using PHP you should have this file already.
  #5 (permalink)  
Old 09-24-2004
Nela
 
Posts: n/a
Default Re: apache on win98 GOT IT

Got it ! GOT IT !!! Finally... it's all working, all the files are there.
(Never give up)

Regards to you all
Nela
P.S. I got this message running Apache in console, but it still works, so I
suppose it is not serious:

[Fri Sep 24 20:28:36 2004] [warn] (2)No such file or directory: exec() may
not b
e safe
Apache/1.3.31 (Win32) PHP/4.3.9 running...





"Nil" <rednoise@REMOVETHIScomcast.net> wrote in message
news:Xns956D915A68E9Anilch1@204.127.204.17...
> On 23 Sep 2004, "Nela" <nela@jones.hr> wrote in
> news:civ1e8$o5d$1@sunce.iskon.hr:
>
> > php4apache.dll
> > I can't find it anywhere.
> > Any ideas?

>
> It's in the Windows PHP distribution available from php.net. If you're
> using PHP you should have this file already.



  #6 (permalink)  
Old 09-24-2004
Nela
 
Posts: n/a
Default Re: apache on win98 Code mistake?

Hi,
maybe I am a bit boring to you all, as I am an absolute beginner, but, as I
now have my new toy up and running at home without having to go online, and
Kev's manual beside me, the first few examples, with current date, hello
world, etc, it all worked. Now when I tried the form, it doesn't work. There
is no error shown in the browser, but just no firstname and lastname
displayed when I enter it into the form. I tried it on my webserver who
certainly has everything installed properly, and it doesn't work online
either.
HELP! If sks would have a look below and tell me what have I done wrong?

CODE welcome3.htm:
<html>

<head>
<title>Welcome</title>
</head>

<body>
<form action="welcome3.php" method="get">
First Name: <input type="text" name="firstname" /><br />
Last Name: <input type="text" name="lastname" /><br />
<input type="submit" value="GO" />
</form>

</body>

</html>

---------------------

CODE welcome3.php:
<?php
echo( "Welcome to my website, $firstname $lastname!" );
?>


  #7 (permalink)  
Old 09-25-2004
Jim Patterson
 
Posts: n/a
Default Re: apache on win98 Code mistake?

Nela wrote:
> Hi,
> maybe I am a bit boring to you all, as I am an absolute beginner, but, as I
> now have my new toy up and running at home without having to go online, and
> Kev's manual beside me, the first few examples, with current date, hello
> world, etc, it all worked. Now when I tried the form, it doesn't work. There
> is no error shown in the browser, but just no firstname and lastname
> displayed when I enter it into the form. I tried it on my webserver who
> certainly has everything installed properly, and it doesn't work online
> either.


> CODE welcome3.php:
> <?php
> echo( "Welcome to my website, $firstname $lastname!" );
> ?>


PHP doesn't set up the variables quite like that, at least not by
default. Try this instead:

<?php
echo( "Welcome to my website, $_GET[firstname] $_GET[lastname]!" );
?>

If you want it to behave that way (it apparently did at one time), look
up register_globals in the config section, or import_request_variables
in the functions section. Either one can be used to reinstate this
behaviour.

--
Jim Patterson
Ottawa, Ont
CANADA
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:45 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0