httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: [users@httpd] URL Mask - Newbie
Date Thu, 01 Mar 2007 15:43:03 GMT
> -----Original Message-----
> From: John Ford [mailto:johnford@drag-and-drop.com] 
> Sent: Thursday, March 01, 2007 3:35 PM
> To: users@httpd.apache.org
> Subject: RE: [users@httpd] URL Mask - Newbie
> 
> Please can anyone help or point me in the right direction?

It's not too clear what you want to do...

If you have a single query string http://www.abc.co.uk?id1=123&id2=4567
that never changes, then sure, just use your rewrite rule..

If you're asking can you do something like http://www.abc.co.uk/ ->
http://www.abc.co.uk?id1=123&id2=4567 and also  http://www.abc.co.uk/ ->
http://www.abc.co.uk?id1=xyz&id2=qwer, then obviously that's impossible.

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 
> 
>  
> 
> Many thanks,
> 
>  
> 
> John.
> 
>  
> 
>  
> 
> -----Original Message-----
> From: John Ford [mailto:johnford@drag-and-drop.com] 
> Sent: 27 February 2007 09:25
> To: users@httpd.apache.org
> Subject: [users@httpd] URL Mask - Newbie
> 
>  
> 
> Hi All,
> 
>  
> 
> At the moment my URL is something like this 
> http://www.abc.co.uk?id1=123&id2=4567 
> <http://www.abc.co.uk/?id1=123&id2=4567> .
> 
>  
> 
> Is it at all possible to display on the domain 
> (http://www.abc.co.uk <http://www.abc.co.uk/> ) to the end user?
> 
>  
> 
> At the moment I am using a simple redirect from port 80 to 
> 8080 and then back again:
> 
>  
> 
>             <ifModule mod_rewrite.c>
> 
>             
> 
>                         RewriteEngine On
> 
>                         RewriteRule ^/(.*\.a4d)$ 
> http://127.0.0.1:8080/$1 [P,L]
> 
>                         RewriteRule ^/4DCGI/(.*)$ 
> http://127.0.0.1/$1 [P,L,nocase]
> 
>                         
> 
>                         ProxyPassReverse / http://127.0.0.1:8080
> 
>                         ProxyRequests Off
> 
>             </IfModule>
> 
>  
> 
>  
> 
> Any feedback would be extremely helpful,
> 
>  
> 
> Regards,
> 
>  
> 
> John.
> 
>  
> 
>  
> 
>
 
 
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 <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