Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 19106 invoked by uid 500); 5 Apr 2003 18:29:15 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 19093 invoked from network); 5 Apr 2003 18:29:15 -0000 Received: from modevia.com (209.61.189.45) by daedalus.apache.org with SMTP; 5 Apr 2003 18:29:15 -0000 Received: from DELTA (unknown [140.146.226.180]) by modevia.com (Postfix) with ESMTP id 71A3540000C for ; Sat, 5 Apr 2003 18:29:18 +0000 (GMT) From: "Aaron Axelsen" To: Date: Sat, 5 Apr 2003 12:28:45 -0600 Message-ID: <010e01c2fba1$343a0800$6400a8c0@DELTA> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: RE: [users@httpd] Rewrite -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 My problem is that this is on a hosted server to which I don't have configuration file access. - --- Aaron Axelsen AIM: AAAK2 Email: axelseaa@amadmax.com Want reliable web hosting at affordable prices? www.modevia.com Web Dev/Design Community/Zine www.developercube.com - -----Original Message----- From: Boyle Owen [mailto:Owen.Boyle@swx.com] Sent: Saturday, April 05, 2003 7:56 AM To: users@httpd.apache.org Subject: RE: [users@httpd] Rewrite Plain text please.... As a general tip, NEVER try out a new, unfamiliar directive in a .htaccess file. There are too many pitfalls which could cause it to fail to work. ALWAYS start by putting the new directive(s) directly into the httpd.conf. Only when you are confident that they work and that you understand them, can you safely move them into .htaccess. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. - -----Original Message----- From: Aaron Axelsen [mailto:axelseaa@amadmax.com] Sent: Samstag, 5. April 2003 09:15 To: users@httpd.apache.org Subject: RE: [users@httpd] Rewrite - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have a .htaccess file with the following: RewriteEngine On RewriteRule (.*) http://1.1.1.1$1 [P] If fails to work. Any ideas? - - --- Aaron Axelsen AIM: AAAK2 Email: axelseaa@amadmax.com Want reliable web hosting at affordable prices? www.modevia.com Web Dev/Design Community/Zine www.developercube.com - - -----Original Message----- From: Nikunj Virani [mailto:nikunj@netsurf.co.in] Sent: Friday, April 04, 2003 11:32 PM To: users@httpd.apache.org Subject: Re: [users@httpd] Rewrite Make sure you have proxy and rewrite module installed on with your apache. Configure your virtualhost "xyz.domain.com" some thing like this: ServerName xyz.domain.com DocumentRoot /var/www/html/xyz RewriteEngine On RewriteRule (.*) http://1.1.1.1$1 [P] I assume here that you need to forward all the requests coming on xyz.domain.com to 1.1.1.1. If you have some other requirements please revert back. Hope it helps! Regards, Nikunj Virani - - ----- Original Message ----- From: Aaron Axelsen To: users@httpd.apache.org Sent: Friday, April 04, 2003 11:29 PM Subject: [users@httpd] Rewrite - - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Here is my situation. I have a subdomain xyz.domain.com that needs to redirect all traffic to ip address 1.1.1.1 When you go to http://xyz.domain.com/some/other/folder i want that to automatically forward to http://1.1.1.1/some/other/folder Another thing that would be nice, is if it could keep the xyz.domain.com/some/toher/folder in the title bar, rahter than displaying the ip. Any suggestions?? THanks! - - - --- Aaron Axelsen AIM: AAAK2 Email: axelseaa@amadmax.com Want reliable web hosting at affordable prices? www.modevia.com Web Dev/Design Community/Zine www.developercube.com - - -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 7.0.3 for non-commercial use iQA/AwUBPo3H9brnDjSLw9ADEQLYDQCgrdg5lPl4oMuVa1hM3rj6cFu95ycAnR4F b7wb/FNhwBNm6iJMQSGaJpMP =EC8N - - -----END PGP SIGNATURE----- _____ - - - --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See 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 - -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 7.0.3 for non-commercial use iQA/AwUBPo6Cd7rnDjSLw9ADEQKWPACeKEVfChZeT3VgL43JA18SQveHdnQAoOLA G/e5UKmXN7S+4GsOXgPcveXq =Dv2H - -----END PGP SIGNATURE----- This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See 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 -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 7.0.3 for non-commercial use iQA/AwUBPo8gXLrnDjSLw9ADEQJfcwCfX9zMZVzCb2d5o6tfeyt/+gErB+QAoMC5 2ZJn9oa0q+g4oGew/PrzxCQm =JBDx -----END PGP SIGNATURE----- --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See 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