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 l
On Sat, Jan 2, 2010 at 12:52 AM, Sudhakar 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 modules/mod_rewrite.so
>
> w
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 Lo
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
Bu
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: http
> 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
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: http://ww
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 De
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,
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
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 questio
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=674&single=1
On Sun,
Pete wrote:
I have just started using mod-rewrite, and have two questions...
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
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 unsubscri
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
Rewri
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 ha
[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
> 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. ;)
>
>
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
Ke
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: http://www.p
Jason Wong wrote:
On Thursday 12 August 2004 21:37, John Nichel wrote:
Jay Blanchard wrote:
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
[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
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 -> G
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
On Thursday 12 August 2004 21:37, John Nichel wrote:
> Jay Blanchard wrote:
>
>
> > 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 t
Jay Blanchard wrote:
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
[EMAI
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/
[snip]
struggling with the following:
I have an URL
www.mycompany.com/index.php?id=10&a=1&b=2&c=3
What I want to do is using mod_rewrite have
www.mycompany.com/10/?a=1&b=2&c=3
Have tried the following rewrite rules in .htaccess
RewriteEngine on
RewriteCond%{REQUEST_FILENAME} !-d
Rewrite
---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
Hi,
struggling with the following:
I have an URL
www.mycompany.com/index.php?id=10&a=1&b=2&c=3
What I want to do is using mod_rewrite have
www.mycompany.com/10/?a=1&b=2&c=3
Have tried the following rewrite rules in .htaccess
RewriteEngine on
RewriteCond%{REQUEST_FILENAME} !-d
RewriteCo
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 woul
31 matches
Mail list logo