httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <rob...@profundis.nu>
Subject Re: [users@httpd] Error 302 5. Redirection Alert.
Date Tue, 21 Oct 2003 04:31:07 GMT
[plain text, please]

elimachi@datacom.com.bo 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?

Regards,
Robert Andersson


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message