httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Webmaster <eag...@chatministries.org>
Subject Re: [users@httpd] Defining a different home page
Date Thu, 25 Sep 2003 11:45:42 GMT
Hi Andrés,

I have used a simple line of html to do this, if this is what it sounds
like you are asking.

I created an index.html file with just the following on it...

<head>
<META HTTP-EQUIV="refresh" CONTENT="1;URL=http://www.server.com/newdir/">
</head>

Does that help?

Richard Ashton


At 12:50 25-09-03 +0200, "Andrés Méndez" <amendez@novasoft.es> wrote:
>Hello.
>
>I have a website divided into directories:
>http://www.server.com/dir1/
>http://www.server.com/dir2/
>http://www.server.com/dir3/
>
>I want that if someone connects to:
>http://www.server.com/
>he sees the webpage at http://www.server.com/dir1/
>
>I have tried this with an Alias:
>Alias / "/web/dir1/"
>But when I connect to http://www.server.com/dir2/ it doesn't work because it
>sends me to /web/dir1/dir2/ and not to /web/dir2/.
>
>I have tried with a Redirect:
>Redirect / http://www.server.com/dir1/
>But then the browser gets another redirection to
>http://www.server.com/dir1/dir1/
>
>Maybe I have to use the Referer? Do someone know a solution for this?
>
>Thanks in advance.
>
>
>---------------------------------------------------------------------
>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
>
>

---------------------------------------------------------------------
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