[PHP] mod rewrite - DMXzone's PHP Pagination

2010-11-16 Thread Richard West
Hello Guys, Gals, I've been working on a project of mine creating a custom little cms. I've managed to go by tutorials and reference material from the php site to get as far as I have. I've got search engine friendly links working with mod rewrite using mysql entry of page alias and my code is

Re: [PHP] mod rewrite

2010-01-02 Thread LinuxManMikeC
On Sat, Jan 2, 2010 at 12:52 AM, Sudhakar sudhakarar...@gmail.com wrote: hi i am using a cms which requires mod_rewrite to be enabled for seo urls in the wamp that i use in my local machine in the httpd.conf file i have this line and removed the comment LoadModule rewrite_module

[PHP] mod rewrite

2010-01-01 Thread Sudhakar
hi i am using a cms which requires mod_rewrite to be enabled for seo urls in the wamp that i use in my local machine in the httpd.conf file i have this line and removed the comment LoadModule rewrite_module modules/mod_rewrite.so when i view the phpinfo i can see that mod_rewrite is on in the

Re: [PHP] Mod Rewrite help

2005-03-28 Thread Eli
Brian Dunning wrote: How would I mod_rewrite a request for /baseball.htm into /query.php?q=baseball? This should be doing it as far as I can tell, but for some reason it's not... RewriteEngine on RewriteRule /^(.+).htm$ /query.php?q=$1 RewriteEngine on RewriteRule ^/(.+)\.htm$ /query.php?q=$1

[PHP] Mod Rewrite help

2005-03-21 Thread Brian Dunning
I know this isn't exactly a PHP question, but it's for a PHP site if that helps :) :) How would I mod_rewrite a request for /baseball.htm into /query.php?q=baseball? - Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mod Rewrite help

2005-03-21 Thread Richard Davey
Hello Brian, Monday, March 21, 2005, 6:05:59 PM, you wrote: BD I know this isn't exactly a PHP question, but it's for a PHP site if BD that helps :) :) BD How would I mod_rewrite a request for /baseball.htm into BD /query.php?q=baseball? Definitely more than one way to skin this cat,

Re[2]: [PHP] Mod Rewrite help

2005-03-21 Thread Richard Davey
RD Definitely more than one way to skin this cat, but the following will RD work: RD RewriteEngine on RD RewriteRule ^baseball.htm/ /query.php?q=baseball [L] Erm, self-correcting myself here - don't have the / after .htm! Best regards, Richard Davey -- http://www.launchcode.co.uk - PHP

Re: [PHP] Mod Rewrite help

2005-03-21 Thread Brian Dunning
How would I mod_rewrite a request for /baseball.htm into /query.php?q=baseball? This should be doing it as far as I can tell, but for some reason it's not... RewriteEngine on RewriteRule /^(.+).htm$ /query.php?q=$1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Mod Rewrite help

2005-03-21 Thread Mikey
RewriteEngine on RewriteRule /^(.+).htm$ /query.php?q=$1 AFAIK you should have that space at the end of your regex after the $ HTH, Mikey -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mod Rewrite help

2005-03-21 Thread Jochem Maas
Mikey wrote: RewriteEngine on RewriteRule /^(.+).htm$ /query.php?q=$1 ^-- this slash looks to me like its in the wrong place. AFAIK you should have that space at the end of your regex after the $ HTH, Mikey -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] mod-rewrite

2004-10-17 Thread Pete
I have just started using mod-rewrite, and have two questions... I see everywhere on the net that I can change file names to lower case - at present they are an ex-Windows based mess of upper and lower. But I can't see anywhere how to actually do it, just that it is possible. Also, I use

[PHP] mod-rewrite

2004-10-17 Thread Pete
Wow - this is *really* spooky! When I wrote that, with RewriteRule relative URLS within that page no longer work correctly, I had not realised that those within PHP worked ok, whereas those in raw HTML didn't... -- Pete Clark -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] mod-rewrite

2004-10-17 Thread John Nichel
Pete wrote: I have just started using mod-rewrite, and have two questions... snip And neither one of them have anything to do with PHP. -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mod-rewrite

2004-10-17 Thread M Saleh EG
Yes it does! It aint off topic. Pate is trying to figure out how to integrate mod_rewrite functionality with his PHP scripts. If you're new to mod_rewrite then you can use this alternative PHP script that does the work for u. Here you go: http://www.zend.com/codex.php?id=674single=1 On Sun,

Re: [PHP] mod-rewrite

2004-10-17 Thread John Nichel
M Saleh EG wrote: Yes it does! It aint off topic. Pate is trying to figure out how to integrate mod_rewrite functionality with his PHP scripts. Ah well, I should just ask a question or two about how to integrate mod_perl functionality then, eh? It's as offtopic as MySQL, JavaScript, etc

[PHP] mod rewrite urls

2004-08-12 Thread Maris
Hi, struggling with the following: I have an URL www.mycompany.com/index.php?id=10a=1b=2c=3 What I want to do is using mod_rewrite have www.mycompany.com/10/?a=1b=2c=3 Have tried the following rewrite rules in .htaccess RewriteEngine on RewriteCond%{REQUEST_FILENAME} !-d RewriteCond

RE: [PHP] mod rewrite urls

2004-08-12 Thread Ed Lazor
-Original Message- From: Maris [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 11, 2004 11:43 PM To: [EMAIL PROTECTED] Subject: [PHP] mod rewrite urls Hi, struggling with the following: I have an URL www.mycompany.com/index.php?id=10a=1b=2c=3 What I want to do is using

RE: [PHP] mod rewrite urls

2004-08-12 Thread Jay Blanchard
[snip] struggling with the following: I have an URL www.mycompany.com/index.php?id=10a=1b=2c=3 What I want to do is using mod_rewrite have www.mycompany.com/10/?a=1b=2c=3 Have tried the following rewrite rules in .htaccess RewriteEngine on RewriteCond%{REQUEST_FILENAME} !-d RewriteCond

Re: [PHP] mod rewrite urls

2004-08-12 Thread raditha dissanayake
Jay Blanchard wrote: 2. I just almost cannot bring myself to say it, but this relates to PHP how? oh boy, you are going to get a heap of hate mail for saying that. -- Raditha Dissanayake. http://www.radinks.com/sftp/

Re: [PHP] mod rewrite urls

2004-08-12 Thread John Nichel
Jay Blanchard wrote: snip a. Have you sent this to an Apache list? 2. I just almost cannot bring myself to say it, but this relates to PHP how? Didn't you get the memo? To be PC, we now have to answer all questions releated to php or not. ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675

Re: [PHP] mod rewrite urls

2004-08-12 Thread Jason Wong
On Thursday 12 August 2004 21:37, John Nichel wrote: Jay Blanchard wrote: snip a. Have you sent this to an Apache list? 2. I just almost cannot bring myself to say it, but this relates to PHP how? Didn't you get the memo? To be PC, we now have to answer all questions releated to php

[PHP] [discuss] Rename this list was:Re: [PHP] mod rewrite urls

2004-08-12 Thread raditha dissanayake
I vote this list be renamed as php-general-apache-mysql-imap-iis discussion list. all those not in favour please flame. -- Raditha Dissanayake. http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and

Re: [PHP] [discuss] Rename this list was:Re: [PHP] mod rewrite urls

2004-08-12 Thread Jason Wong
On Thursday 12 August 2004 22:11, raditha dissanayake wrote: I vote this list be renamed as php-general-apache-mysql-imap-iis discussion list. all those not in favour please flame. Heh, just drop the php and call it the general list :) Shorter and more to the point. -- Jason Wong -

RE: [PHP] [discuss] Rename this list was:Re: [PHP] mod rewrite urls

2004-08-12 Thread Jay Blanchard
[snip] php-general-apache-mysql-imap-iis discussion list. all those not in favour please flame. Heh, just drop the php and call it the general list :) Shorter and more to the point. [/snip] And then we can answer questions on dating, sex, marriage, religion, and politics! Wooohoo! We now

Re: [PHP] mod rewrite urls

2004-08-12 Thread John Nichel
Jason Wong wrote: On Thursday 12 August 2004 21:37, John Nichel wrote: Jay Blanchard wrote: snip a. Have you sent this to an Apache list? 2. I just almost cannot bring myself to say it, but this relates to PHP how? Didn't you get the memo? To be PC, we now have to answer all questions releated to

Re: [PHP] [discuss] Rename this list was:Re: [PHP] mod rewrite urls

2004-08-12 Thread Jake Stonebender
On Thu, 12 Aug 2004 09:12:41 -0500, Jay Blanchard [EMAIL PROTECTED] wrote: | And then we can answer questions on dating, sex, marriage, religion, and | politics! Wooohoo! We may just as well call it IRC then. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] [discuss] Rename this list was:Re: [PHP] mod rewrite urls

2004-08-12 Thread John Nichel
raditha dissanayake wrote: I vote this list be renamed as php-general-apache-mysql-imap-iis discussion list. all those not in favour please flame. We could just move this list to a Yahoo! group, then we can answer questions for any topic, and have the trolls too. ;) -- John C. Nichel ÜberGeek

Re: [PHP] [discuss] Rename this list was:Re: [PHP] mod rewrite urls

2004-08-12 Thread Matthew Sims
raditha dissanayake wrote: I vote this list be renamed as php-general-apache-mysql-imap-iis discussion list. all those not in favour please flame. We could just move this list to a Yahoo! group, then we can answer questions for any topic, and have the trolls too. ;) -- John C. Nichel

RE: [PHP] [discuss] Rename this list was:Re: [PHP] mod rewrite urls

2004-08-12 Thread Jay Blanchard
[snip] Wait, wait...I have it. php-general-apache-mysql-imap-iis-javascript-HTML-perl-car_repair-side_p aneling-medical_doctor-tv_repair-shoelace_tying [/snip] we-do-not-know-it-all-but-we-stayed-at-a-Holiday-Inn-Express-last-night@ lists.foo -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] [discuss] Rename this list was:Re: [PHP] mod rewrite urls

2004-08-12 Thread John Nichel
Jay Blanchard wrote: [snip] Wait, wait...I have it. php-general-apache-mysql-imap-iis-javascript-HTML-perl-car_repair-side_p aneling-medical_doctor-tv_repair-shoelace_tying [/snip] we-do-not-know-it-all-but-we-stayed-at-a-Holiday-Inn-Express-last-night@ lists.foo Laides and gentlemen, I think we

[PHP] Mod Rewrite Session IDs

2003-03-18 Thread Adrian Portsmouth
Hi everyone, I am currently installing mod-rewrite to change all of my URL's from: www.domain.com/category.php?ID=1 To www.domain.com/category_name.html So that they are more search engine friendly. However one problem I face is that I cannot think of any way to write the session ID which