httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wang Penghui <wangpeng...@realss.com>
Subject [users@httpd] Re: help to design A writerule.
Date Fri, 29 Oct 2004 07:33:14 GMT
Eimantas Vaiciunas wrote:
> On Friday 29 October 2004 04:59, Wang Penghui wrote:
> 
>>Hi all:
>>
>>Apache is so powerful. I am so glad i could use it as my webserver.
>>Now i have some difficulty to understand the mod_write.
>>One example is:
>>The Current URL is http://mywebserver/?page_name=A.
>>Then i want it display in the browser as http://mywebserver/A.
>>What rules should i use. I have try many, but none succssful.
> 
> RewriteEngine On
> 
> RewriteRule ^A http://mywebserver/?page_name=A
> 

Thank you for you quick response. And it could work correctly.
But i am afraid it could not suit my implementation.
I want to the URL http://mywebserver/A display in the browser instead of
http://mywebserver/?page_name=A

The visitor no need to type http://mywebserver/A. They could click the 
mouse button to see the pages, and could see a better URL in their 
browsers. In the server. the URL is http://mywebserver/?page_name=A 
while in the client browser the URL is http://mywebserver/A

Thank you again.

Wang Penghui


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