Re: Configuration issue with Apache HTPP Server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I resolved the problem by un-installing PHP and did a manual installation of PHP 5 and every thing went smoothly.

Thanks to all for your responses.

Regards,
Uma

On 9/17/07, Bj <bjkhanz@xxxxxxxxx> wrote:
I known that there's some issues with php and multithreaded httpd process. Maybe you can look this way.

Try without alias and using the default directory. If it still don't work, it may comes from your apache installation.
I can't help you on windows.



--
Bj



On 9/17/07, Uma Kalluru < umajava@xxxxxxxxx> wrote:
Hi Bj,

Now I don't get any error in the logs. Below is the log stack trace. The problem now I face is that the Apache server crashes. Stops by itself and starts (but the icon doesn't show as started). I get Windows XP error reporting tool pop up asking me to report the problem to Microsoft. Any ideas?

[Thu Sep 13 14:50:18 2007] [notice] Apache/2.0.59 (Win32) PHP/5.2.4 configured -- resuming normal operations
[Thu Sep 13 14:50:18 2007] [notice] Server built: Jul 27 2006 15:55:03
[Thu Sep 13 14:50:18 2007] [notice] Parent: Created child process 2928
[Thu Sep 13 14:50:19 2007] [notice] Child 2928: Child process is running
[Thu Sep 13 14:50:19 2007] [notice] Child 2928: Acquired the start mutex.
[Thu Sep 13 14:50:19 2007] [notice] Child 2928: Starting 250 worker threads.
[Thu Sep 13 14:53:34 2007] [error] [client 127.0.0.1] File does not exist: E:/Software/ApacheHTTP/Apache2/htdocs/forum
[Thu Sep 13 14:55:25 2007] [notice] Parent: child process exited with status 3221225477 -- Restarting.

[Mon Sep 17 15:17:45 2007] [notice] Apache/2.0.59 (Win32) PHP/5.2.4 configured -- resuming normal operations
[Mon Sep 17 15:17:45 2007] [notice] Server built: Jul 27 2006 15:55:03
[Mon Sep 17 15:17:45 2007] [notice] Parent: Created child process 400
[Mon Sep 17 15:17:46 2007] [notice] Child 400: Child process is running
[Mon Sep 17 15:17:46 2007] [notice] Child 400: Acquired the start mutex.
[Mon Sep 17 15:17:46 2007] [notice] Child 400: Starting 250 worker threads.
[Mon Sep 17 15:18:14 2007] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Mon Sep 17 15:21:21 2007] [notice] Apache/2.0.59 (Win32) PHP/5.2.4 configured -- resuming normal operations
[Mon Sep 17 15:21:21 2007] [notice] Server built: Jul 27 2006 15:55:03
[Mon Sep 17 15:21:21 2007] [notice] Parent: Created child process 5156
[Mon Sep 17 15:21:22 2007] [notice] Child 5156: Child process is running
[Mon Sep 17 15:21:22 2007] [notice] Child 5156: Acquired the start mutex.
[Mon Sep 17 15:21:22 2007] [notice] Child 5156: Starting 250 worker threads.


http://localhost/forum/images/smiles/icon_cool.gif shows me the image in the browser.


Regards,
Uma


On 9/17/07, Bj < bjkhanz@xxxxxxxxx> wrote:
Do you really need all theses directives  ?
try that :

Alias /forum/ "E:/Software/Tomcat5.0/webapps/test2/forum/"
<Directory "E:/Software/Tomcat5.0/webapps/test2/forum">
   AllowOverride None
   Options FollowSymLinks
   Order allow,deny
   Allow from all
</Directory>

What's happen when you try to get directly an image ?  http://your.site.com/forum/images/myimage.gif ?

--

Bj




On 9/17/07, Uma Kalluru <umajava@xxxxxxxxx > wrote:
Hi Bj,

No, I haven't used virtual hosts or rewrite rules or redirect rules or any other configuration.

This was a fresh installation of Apache HTTP Server and I just added the below mentioned lines to httpd.conf file.

I am a newbie to Apache HTTP Server.

Regards,
Uma


On 9/17/07, Bj < bjkhanz@xxxxxxxxx> wrote:
do you use virtual hosts ? rewrite rules ? redirect rules ? other directory directives ?

-- 
Bj



On 9/17/07, Uma Kalluru < umajava@xxxxxxxxx> wrote:
Hi Krithi Narayan,

The same source code is deployed to hosting server (http://javagalaxy.com/forum/index.php ) and it works over there. I dont know what settings are done at the hosting server as the configuration was done by the hosting provider.

I wanted to replicate the same in my local box and it gives me these problems. And this is not only the problem I am getting, when I click on any other link in index.php, I get this error

[Thu Sep 13 14:53:34 2007] [error] [client 127.0.0.1] File does not exist: E:/Software/ApacheHTTP/Apache2/htdocs/forum

This doesn't look to me a code problem but I am missing some configuration somewhere that I am not able to figure out. Can you please help me out?

Regards,
Uma


On 9/17/07, Kirthi Narayan <kirthiks@xxxxxxxxx > wrote:
Cld you please check your index.php.
 
Kirthi

 
On 9/13/07, Uma Kalluru < umajava@xxxxxxxxx> wrote:
Hi,

I have installed Apache 2.0.59 using windows installer. Every thing went well and then I installed PHP 5.2.4 using windows installer which was also successful.

I had some source code (phpBB forum source code) and I wanted to test this source code. I have done the modifications to httpd.conf file

I added an alias so I can avoid using the default DocumentRoot "E:/Software/ApacheHTTP/Apache2/htdocs"

Alias /forum/ "E:/Software/Tomcat5.0/webapps/test2/forum/"
    <Directory "E:/Software/Tomcat5.0/webapps/test2/forum">
        AllowOverride None
        Options IncludesNoExec
        AddOutputFilter Includes html
        AddHandler type-map var
        Order allow,deny
        Allow from all
     </Directory>

when I point to http://localhost/forum/index.php , index.php gets loaded but I get this error in error.log file and Apache HTTP Server stops

[Wed Sep 12 23:08:37 2007] [error] [client 127.0.0.1] File does not exist: E:/Software/ApacheHTTP/Apache2/htdocs/images, referer: http://localhost/forum/index.php

There is an "images" folder within "forum" folder but why is it looking for "images" folder within "htdocs", I haven't kept anything over there.

Am I missing anything in the configuration? Please help me out.

Regards,
Uma









[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux