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
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
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,
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
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
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
It might be easier to do something like
ForceType application/x-httpd-php
Then you could have your url
http://mycompany.com/view/10/?a=1&b=2&c=3
You can do the same thing with / but the scope ends up pretty big and
creates a lot of extra unnecessary processing.
-Ed
> -Original Messa
15 matches
Mail list logo