Your Alias /codestrikerhtml/ "/home/saurabh/codestriker/codestriker-1.9.4/html/"

Should have saurabhk.

(Since you set up the help files there)




From: [] On Behalf Of Saurabh k Srivastava HOD
Sent: Wednesday, January 16, 2008 4:13 AM
Subject: [Codestriker-user] Problem with alias





I am setting up codestriker on Linux box.


I have set up codestriker in /home/saurabhk/codestriker/codestriker-1.9.4/.


In my httpd.conf I have the following --


ScriptAlias /codestriker/  "/home/saurabhk/codestriker/codestriker-1.9.4/cgi-bin/"

Alias /codestrikerhtml/ "/home/saurabh/codestriker/codestriker-1.9.4/html/"


<Directory "/home/saurabhk/codestriker/codestriker/codestriker-1.9.4/cgi-bin/">

 AllowOverride None

 Option ExecCGI

 Order allow,deny

 Allow from all

 SetHandler cgi-script



<Directory "/home/saurabhk/codestriker/codestriker-1.9.4/html/">

 AllowOverride None

 Allow from all

</Directory> in cgi-bin works fine but when I try to access help it shows 404 not found.

Also shows codestriker.js not found while loading any page.


I know all the required pages are there. Apache runs as daemon and whole codestriker dir is owned by daemon.


access_log show --


"GET /codestriker/ HTTP/1.1 200

"GET /home/saurabhk/codestriker/codestriker-1.9.4/html/codestriker.css HTTP/1.1 404

"GET /home/saurabhk/codestriker/codestriker-1.9.4/html/x370.html HTTP/1.1 404"


However if directly access by typing /localhost/codestrikerhtml/x370.html in browser I can see the help page.

"GET /codestrikerhtml/x370.html HTTP/1.1 200


I am able to access link like Create Project , Create Topic etc but I can't access Help link.

What might be the problem here ?