Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Configuring Apache on Fedora9 for codestriker.

11 views
Skip to first unread message

Anand Bhatta

unread,
Mar 5, 2009, 8:36:19 AM3/5/09
to beginn...@perl.org
Hello,

I am not able to configure codestriker. My configuration is Fedora 9,
Apache 2.2.

If I give the complete path of codestriker.pl
(/codestriker/codestriker-1.9.8/cgi-bin/codestriker.pl) in the browser
then I get the error window that the codestriker.js was not found and I
need to check the apache configuration. If I click the Ok button then
the login page is loaded. However I am not able to go any where beyond
this page.

My apache configuration:

# Virtual host codestriker

<VirtualHost *>

DocumentRoot /testmanager/codestriker/codestriker-1.9.8/

ErrorLog logs/error_log

ServerAdmin a...@wipro.com

ServerName *

ServerSignature email

TransferLog logs/access_log

DirectoryIndex codestriker.pl index.html index.htm index.shtml

# ScriptAlias /codestriker/
/testmanager/codestriker/codestriker-1.9.8/cgi-bin/

# Alias /codestrikerhtml/
/testmanager/codestriker/codestriker-1.9.8/html/

<Directory
"/testmanager/codestriker/codestriker-1.9.8/cgi-bin/">

Options ExecCGI FollowSymLinks Includes IncludesNOEXEC
Indexes MultiViews SymLinksIfOwnerMatch

Order allow,deny

Allow from all

SetHandler perl-script

perlHandler ModPerl::Registry

AllowOverride none

</Directory>

<Directory "/testmanager/codestriker/codestriker-1.9.8/html/">

Options ExecCGI FollowSymLinks Includes IncludesNOEXEC
Indexes MultiViews SymLinksIfOwnerMatch

AllowOverride none

Allow from all

</Directory>

SSLEngine off

SSLCertificateFile /etc/pki/tls/certs/localhost.crt

SSLCertificateKeyFile /etc/pki/tls/private/localhost.key

SSLCACertificateFile /etc/pki/tls/certs/ca-bundle.crt

SSLOptions

TransferLog logs/access_log

ErrorLog logs/error_log

LogLevel debug

HostNameLookups on

I am very sure that the perl script is working as I am able to get the
login page. You can find the two lines commented which I added as per
the installation guide. Even with that uncommented and restarting the
apache service I am getting the error. I understand that the "Alias"
and the </Directory> directives are same (at least in the above case).
Correct me if I am wrong. Pl help me configuring apache.

Pl note:

1. I have two more servers (Mantis and Testlink) using the same
apache configuration and they work well!!
2. I have masked the server IP and my email address in the above
config snippet.

TIA

Best Regards,

Anand.


Please do not print this email unless it is absolutely necessary.

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com

Greg Jetter

unread,
Mar 5, 2009, 12:09:49 PM3/5/09
to beginn...@perl.org

have you made sure that the missing java script file is where it is suppose
to be ? and has read permissions set so the script can access it as the
user the web server is running as ?

that should get you started , find out why the error message is being
produced by back tracking it.

Greg


Anand Bhatta

unread,
Mar 10, 2009, 6:02:02 AM3/10/09
to mrdan...@gmail.com, beginn...@perl.org
Hi Dan,

The problem is that

Alias /codestrikerhtml/ /codestriker/.....

Was not getting correctly resolved. It is still not getting correctly
resolved. So I had to replace where ever "codestrikerhtml" been used (3
files) with just "html" then it started working. I am not sure whether
it is the problem of codestriker or Apache. As of now I am going ahead
with this workaround.

I have very limited knowledge of all the things I am doing (Apache, Perl
scripts etc). My actual work would start after the tool gets working,
start code reviews, measure the effort spent in them, Defects
identified, etc.


Thanks and Regards,

Anand.

-----Original Message-----
From: Dan Wallis [mailto:mrdan...@gmail.com]
Sent: Sunday, March 08, 2009 11:57 PM
To: Anand Subramanya (WT01 - Product Engineering Services)
Cc: beginn...@perl.org
Subject: Re: Configuring Apache on Fedora9 for codestriker.

On 05/03/2009, anand....@wipro.com <anand....@wipro.com> wrote:
> If I give the complete path of codestriker.pl
> (/codestriker/codestriker-1.9.8/cgi-bin/codestriker.pl) in the browser
> then I get the error window that the codestriker.js was not found and
I

Is that the full url you're using?

If your address bar reads:
file:///codestriker/codestriker-1.9.8/cgi-bin/codestriker.pl
then I'd guess that's your problem; I'd have expected something like:
http://localhost/cgi-bin/codestriker.pl

Are there any other error messages shown in the web server logs? (See
/var/log/apache/access.log and /var/log/apache/error.log or similar.)

0 new messages