473,326 Members | 2,102 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

question regarding .htaccess

17
Hi All I am not sure the right forum for this question regarding .htaccess but in the past I got too much help from this forum.Anyhow my probolem is as follows.

I am using .htaccess to redirect pages on a given url.
Is it possible whatever I pass in a url as a parameter that does not appear in the browser. For example my url is as follows:
www.example.com/index/command/message/1
www.example.com/index/command/message/2
www.example.com/index/command/message/3
whatever may be the url I want browser to display the following url
www.example.com/myUrl
but I need the value of message like 1,2,3 etc. But dont want browser to show what value is passed.
How can I achieve this. Thanks in Advance
sorry for my bad english If I have not been able to explain.
Jun 18 '07 #1
4 1880
ak1dnar
1,584 Expert 1GB
Hi All I am not sure the right forum for this question regarding .htaccess but in the past I got too much help from this forum.Anyhow my probolem is as follows.

I am using .htaccess to redirect pages on a given url.
Is it possible whatever I pass in a url as a parameter that does not appear in the browser. For example my url is as follows:
www.example.com/index/command/message/1
www.example.com/index/command/message/2
www.example.com/index/command/message/3
whatever may be the url I want browser to display the following url
www.example.com/myUrl
but I need the value of message like 1,2,3 etc. But dont want browser to show what value is passed.
How can I achieve this. Thanks in Advance
sorry for my bad english If I have not been able to explain.
Refer to
http://httpd.apache.org/docs/2.0/misc/rewriteguide.html

-Ajaxrand
Jun 18 '07 #2
xiaawan
17
Thank you very much for your quick reply. I see this url and take hlep..


Refer to
http://httpd.apache.org/docs/2.0/misc/rewriteguide.html

-Ajaxrand
Jun 18 '07 #3
xiaawan
17
I have read this page but I am very new to .htaccess so I could not take any help. Its a bit complex for me. Can u provide me anyother material that can help ......... thanks in advance.
Jun 18 '07 #4
pbmods
5,821 Expert 4TB
Moved to the Apache forum.
Jun 18 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: yawnmoth | last post by:
i'm trying to write a php script that will password protect some random directory by creating a .htaccess file, and a password file to accompany the .htaccess file, and it isn't working... ...
4
by: Ivo | last post by:
Greetings newsgroup, I am moving some php scripts to a new host. While getting to know the server, I ran into a strange problem. If I add a .htaccess file, or more specifically: a .htaccess with...
2
by: bonehead | last post by:
Many thanks to all who replied to my previous post regaring proper installation of phpMyAdmin on unix/apache. Okay, I thought I had correctly followed all the steps to password-secure the...
7
by: John | last post by:
Hello. I want to get this blasted .htaccess file sorted out, so I can have sessions without register_globals being on. I have looked everywhere for info on this and I mean everywhere...
15
by: SamMan | last post by:
Sorry for the off-topic, but I could not find another source on my news server... What is the difference in extensions for RSS files? I have seen both .rss & ..xml. I am familiar with XML, but...
3
by: Matthew Law | last post by:
Hi, I'm writing a C# app to retrieve a web page which is protected by a ..htaccess file. I've been trying various things for a while and continue to get a network exception: The remote...
0
by: Jack Hambabo | last post by:
Hi, I'm searching for a php script that can find out whether the current user (I know _SERVER will give me the name for non-cgi php) has the right to view a specific file. My dream is that I...
1
by: nickyeng | last post by:
I have checked this info from apache website, and i confused with it. Procteing System files it said: To run a really tight ship, you'll want to stop users from setting up .htaccess files...
2
realin
by: realin | last post by:
I have posted this question in apache forum, but no one replied, i guess it isnt this much happening as PHP forum is :P hi guys, i want to use URL writing now, cause the other weird...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.