Re: Configuration issue with Apache HTPP Server

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

 



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