httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <>
Subject Re: [users@httpd] Error 302 5. Redirection Alert.
Date Tue, 21 Oct 2003 04:31:07 GMT
[plain text, please] wrote:
> Right now, I replaced the index.html by other php script named
> index.php placed into the /var/www/html DocumentRoot.
> [...]
> ... [20/Oct/2003:16:34:05 +0400] "GET / HTTP/1.1" 302
> ... [20/Oct/2003:16:34:06 +0400] "GET /index.php HTTP/1.1" 302

Now, why does it do a redirect on /? The only reasons I can think of is a
Redirect, RedirectMatch or a mod_rewrite directive. None of those should be
in the default configuration.

What sort of script is index.php? Does this behaviour prevail if it only
contain: <?php echo 'Hello!'; ?> ?

How and from where did you install Apache, and/or have you messed with the
configuration in a way that could cause these redirects?

Robert Andersson

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message