On Tuesday 09 August 2005 16:26, Cameron wrote:

> This is a simple one but I am brainfarting so forgive the newbieness of it.

>

> I want traffic to start at http://www.webpage.com/destination

> And be re-directed to http://www.webpage.com/folder/destination.php

>

Instead of using mod_rewrite or other apache options, I use a simple index.html that redirects the browser the desired location. Note that this example uses a 5 second delay, which you of course can change. This is also platform and webserver agnostic.

-- begin index.html

<html>

<head>

<title>Some site, redirecting ... </title>

<h1> Redirecting you to final destination

<a href="" style="text-decoration:underline">>Click here to proceed</a> or wait 5 seconds.

<!--

<meta HTTP-EQUIV="REFRESH" content="5; url="">

-->

</head>

</html>

-- end index.html

> I think I finally found the right spot in the httpd.conf file and entered:

> * RewriteRule /destination http://www.webpage.com/folder/destination.php

>

> I then did a 'restart httpd' but the result seemed to imply that I needed

> to use one of the switches. Nothing looked appropriate to me.

>

> I then did a 'apachectl start' and enter in my passphrase. No errors at

> this point but when I try to view that site, it says Redirect limit for

> this url exceeded. Unable to load requested page. This may be caused by

> cookies that are blocked.

>

> My questions are:

> 1) Did I actually do the right thing i the first place?

> 2) Did I miss anything? (Permissions, etc.)

> 3) Did I edit the wrong file? (httpd.conf) Or the wrong section?

> 4) Anything else you could add?

>

> By the way, this is apache (can't recall version) running on redhat 9 (I

> think)

>

> Thanks in advance

>

> Cameron

>

>

Attachment: pgpHrZrwWlRYN.pgp
Description: PGP signature

_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to