PDA

View Full Version : redirecting HELP


haleyhosting
10-10-2004, 05:51 PM
HELLO i have a little problem. i created a forum at http://haleyhostingtalk.com/forum/ and i was wondering if there were a way that when people typed in http://haleyhostingtalk.com it automaticly goes to http://haleyhostingtalk.com/forum/

coothead
10-10-2004, 06:11 PM
Hi there haleyhosting,

I see that you are trying something like this...
<html>
<head>
<title></title>
</head>
<script type="text/javascript">
<!--
window.location.href ="http://haleyhostingtalk.com/forum/";
//-->
</script>
<body>
</body>
</html>
...but this will only work if they have javascript enabled :supereek:

Try using this meta tag instead...
<meta http-equiv="refresh" content="0;url=http://haleyhostingtalk.com/forum/">

senshi
10-10-2004, 07:37 PM
Not Found
The requested URL /haleyhostingtalk.com/forum/ was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/1.3.31 Server at www.haleyhostingtalk.com Port 80


not sure how you can set this up on an apache server, IM assuming that your running the server yourself, what you do is to set up an alias of / and have the alial of / point to /forums so anyone arriving at the root / is forwarded to /forums.

this has the added advantage in that the server deals with the issue locally at the machine and is not serving up one page just to be told to serve up another (making unneeded multiple requests and eating valuable bandwidth).

haleyhosting
10-10-2004, 10:10 PM
Originally posted by senshi
not sure how you can set this up on an apache server, IM assuming that your running the server yourself, what you do is to set up an alias of / and have the alial of / point to /forums so anyone arriving at the root / is forwarded to /forums.

this has the added advantage in that the server deals with the issue locally at the machine and is not serving up one page just to be told to serve up another (making unneeded multiple requests and eating valuable bandwidth).

for some reason you can use www.haleyhostingtalk.com just take off the www and just put haleyhostingtalk.com