redirect

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

redirect

bbuggzzilla
Hi all,

When I access http://server/bugzilla I always get redirected to
http://server/cgi-bin/bugzilla. No need for that because my bugzilla is
installed in the root of the webserver.

I found that when I go to http::/server/bugzilla a html page is
responsible for the redirect:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="REFRESH" CONTENT="0;
URL=/cgi-bin/bugzilla/index.cgi">
</HEAD>
<BODY>
<H1>I think you are looking for <a
href="/cgi-bin/bugzilla/index.cgi">index.cgi</a></H1>
</BODY>
</HTML>

I found the code that generated this page in checksetup.pl but there it
redirects me to /bugzilla/index.cgi:
if ($my_index_html) {
    if (!-e "index.html") {
        print "Creating index.html...\n";
        open HTML, '>', 'index.html';
        print HTML <<'END';
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Refresh" content="0; URL=/bugzilla/index.cgi">
</head>
<body>
<h1>I think you are looking for <a href="index.cgi">index.cgi</a></h1>
</body>
</html>
END

Somethings must be happening between checksetup.pl and the index.cgi.
Someone knows where I can remove this cgi-bin redirect?

Best regards
Stijn

_______________________________________________
mozilla-webtools mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-webtools