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: ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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. |
|
|||
|
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. > > |
|
|||
|
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. |
|
|||
|
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. |
|
|||
|
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!" ); ?> |
|
|||
|
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 |