Re: [users@httpd] mod_rewrite help request

2014-04-02 Thread James Moe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/01/2014 06:48 PM, Michael Streeter wrote: Try this: RewriteEngine on RewriteCond %{QUERY_STRING} page=(.*) RewriteRule ^(.*)$ http://www.example.com/%1? [R,L] Thank you. That worked a peach. - -- James Moe moe dot james at sohnen-moe

[users@httpd] mod_rewrite help request

2014-04-01 Thread James Moe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I have changed the way a website refers to page in the URL. The old method was odd, useless and unnecessarily complicated. I wish to have rewrite rule that changes http://www.example.com/?page=somepage.php to

Re: [users@httpd] mod_rewrite help request

2014-04-01 Thread Michael Streeter
On 4/1/2014 1:15 PM, James Moe wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I have changed the way a website refers to page in the URL. The old method was odd, useless and unnecessarily complicated. I wish to have rewrite rule that changes

Re: [users@httpd] mod_rewrite help, # in input url

2014-01-21 Thread Rich Bowen
On 01/17/2014 12:49 PM, Ayub Khan wrote: Could some one assist me with creating a rewrite rule in httpd 2.2.4? http://localhost:8080/share/page/repository#filter=path%7C%2FUser%25Homes%2F2ALFANUMERIC%2FALFANUMERIC%2FDYNAMICTEXT%7Cpage=1

Re: [users@httpd] mod_rewrite help, # in input url

2014-01-21 Thread Ayub Khan
Thank you for the reply. I want to match the text which is follows # and grab a substring from it. Not sure if its possible with mod_rewrite ? /share/page/repositry/path#filter=xyz%2C%2Fn3%2FUSER%20HOMES%2Fn3%2Fn3555page=1 From the above url, I nee to redirect to /share/page/MyFilespage=1

Re: [users@httpd] mod_rewrite help, # in input url

2014-01-21 Thread Yehuda Katz
It is not possible. The string after the `#` is NEVER sent to the server (that is because of the way the browser works and there is nothing the server can do about it). The ONLY way to send it to the server would be to have some client-side scripting that captures and sends it as a real query

Re: [users@httpd] mod_rewrite help, # in input url

2014-01-21 Thread Eric Covener
On Tue, Jan 21, 2014 at 4:02 PM, Ayub Khan ayub...@gmail.com wrote: Thank you for the reply. I want to match the text which is follows # and grab a substring from it. Not sure if its possible with mod_rewrite ? Have a look at the access log. You'll notice that anything after the # isn't

[users@httpd] mod_rewrite help, # in input url

2014-01-17 Thread Ayub Khan
Could some one assist me with creating a rewrite rule in httpd 2.2.4? http://localhost:8080/share/page/repository#filter=path%7C%2FUser%25Homes%2F 2ALFANUMERIC%2FALFANUMERIC%2FDYNAMICTEXT%7Cpage=1 http://localhost:8080/share/page/context/mine/myfiles#filter=path%2F

Re: [users@httpd] mod_rewrite help?

2011-12-03 Thread Igor Galić
- Original Message - On November 29, 2011 20:08 , j...@nc.rr.com wrote: I'm having issues with mod_rewrite and Apache. Hopefully someone can offer some tips / help. I'm looking for something simple: (a) http://www.website.com - http://www.website.com/blog (b)

Re: [users@httpd] mod_rewrite help?

2011-11-30 Thread Mark Montague
On November 29, 2011 20:08 , j...@nc.rr.com wrote: I'm having issues with mod_rewrite and Apache. Hopefully someone can offer some tips / help. I'm looking for something simple: (a) http://www.website.com - http://www.website.com/blog (b) http://website.com - http://www.website.com/blog

[users@httpd] mod_rewrite help?

2011-11-29 Thread jtp
All, I'm having issues with mod_rewrite and Apache. Hopefully someone can offer some tips / help. I'm looking for something simple: (a) http://www.website.com - http://www.website.com/blog (b) http://website.com - http://www.website.com/blog Also: (1) https://www.website.com -