Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 27438 invoked from network); 17 Sep 2007 09:20:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Sep 2007 09:20:17 -0000 Received: (qmail 53262 invoked by uid 500); 17 Sep 2007 09:20:00 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 52767 invoked by uid 500); 17 Sep 2007 09:19:58 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 52756 invoked by uid 99); 17 Sep 2007 09:19:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2007 02:19:58 -0700 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS,URIBL_RHS_DOB X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bjkhanz@gmail.com designates 209.85.198.189 as permitted sender) Received: from [209.85.198.189] (HELO rv-out-0910.google.com) (209.85.198.189) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2007 09:19:55 +0000 Received: by rv-out-0910.google.com with SMTP id l15so1208845rvb for ; Mon, 17 Sep 2007 02:19:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=+x5yFKbzvj5MMUgk4FyPxBsZmRW5Nx1a2Ww8JPWn0mQ=; b=kVEs5/wf4Kf8X7kV1YVBmSq+Hxei/PT1ywq0K2Bt3us+ccMAyEorp4k4Ff+tOKHX7sH3ZShoXeAXJ8HOxi3qOelFMTA/LkVm8PjSx/VJwBsJsRI5zdT/uO8lUOmAlJGq7K2aiON1MBZx6tgfeP4PVwY15XkPxBODk67KiUkYOAw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=hoFiZ771AUFx1vDq9V+ktbyFM5B7xCWSXLcNL3d5zuJE4A4FN5CZo34vRnvwNIDdVPn08VCfpoTnbVhqChFC+nGKA6DoTRv3jnyaI4RA/gTOlZFrES3WHc8SR9iuQ7nmkuQOhFd5t1d+TaFRBqVM9/3C9/zohitqOLZTE4i1pp8= Received: by 10.141.202.12 with SMTP id e12mr849831rvq.1190020775486; Mon, 17 Sep 2007 02:19:35 -0700 (PDT) Received: by 10.141.164.16 with HTTP; Mon, 17 Sep 2007 02:19:35 -0700 (PDT) Message-ID: Date: Mon, 17 Sep 2007 11:19:35 +0200 From: Bj To: users@httpd.apache.org In-Reply-To: <8a1cc69c0709170151g534891f8l8f088aeeb09d9ea2@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4902_30730824.1190020775478" References: <8a1cc69c0709130258n12570016re3d98b83c3c57a50@mail.gmail.com> <8a1cc69c0709170048w501dedabmab669a08827cb422@mail.gmail.com> <8a1cc69c0709170151g534891f8l8f088aeeb09d9ea2@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Configuration issue with Apache HTPP Server ------=_Part_4902_30730824.1190020775478 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Do you really need all theses directives ? try that : Alias /forum/ "E:/Software/Tomcat5.0/webapps/test2/forum/" AllowOverride None Options FollowSymLinks Order allow,deny Allow from all 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 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 wrote: > > > > do you use virtual hosts ? rewrite rules ? redirect rules ? other > > directory directives ? > > > > -- > > Bj > > > > > > On 9/17/07, Uma Kalluru < umajava@gmail.com> 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 wrote: > > > > > > > > Cld you please check your index.php. > > > > > > > > Kirthi > > > > > > > > > > > > On 9/13/07, Uma Kalluru < umajava@gmail.com> 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.conffile > > > > > > > > > > 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/" > > > > > > > > > > AllowOverride None > > > > > Options IncludesNoExec > > > > > AddOutputFilter Includes html > > > > > AddHandler type-map var > > > > > Order allow,deny > > > > > Allow from all > > > > > > > > > > > > > > > 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 > > > > > > > > > > > > > > > > > > > ------=_Part_4902_30730824.1190020775478 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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@gmail.com > 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@gmail.com> wrote:
do you use virtual hosts ? rewrite rules ? redirect rules ? other directory directives ?

-- 
Bj



On 9/17/07, Uma Kalluru < umajava@gmail.com> 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@gmail.com > wrote:
Cld you please check your index.php.
 
Kirthi

 
On 9/13/07, Uma Kalluru < umajava@gmail.com> 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





------=_Part_4902_30730824.1190020775478--