I can't make it work. Because I'm new to .htaccess I tried some examples
from apache.org:
1) Contents of .htaccess in http://mysite.com/path
RewriteEngine On
RewriteRule ^oldstuff\.html$ newstuff.html
THIS EXAMPLE WORK, but the next one doesn't, nor the rule you told me:
2)
RewriteEngine On
Is it possible to configure PHP/.htAccess/etc. for assuming a query when the
users enters a path like this:
www.myserver.com/path/154-- assumes
www.myserver.com/path/index.php?code=154
The only thing I could do is avoid writing index.php but I still have to
write the ?:
Robert Winter wrote:
Is it possible to configure PHP/.htAccess/etc. for assuming a query when the
users enters a path like this:
www.myserver.com/path/154-- assumes
www.myserver.com/path/index.php?code=154
The only thing I could do is avoid writing index.php but I still have to
write the ?:
Robert Winter wrote:
Is it possible to configure PHP/.htAccess/etc. for assuming a query when the
users enters a path like this:
www.myserver.com/path/154-- assumes
www.myserver.com/path/index.php?code=154
The only thing I could do is avoid writing index.php but I still have to
write the ?:
Where and how do I set this? I'm to Unix and PHP.
Marek Kilimajer [EMAIL PROTECTED] escribió en el mensaje
news:[EMAIL PROTECTED]
Robert Winter wrote:
Is it possible to configure PHP/.htAccess/etc. for assuming a query when
the
users enters a path like this:
www.myserver.com/path/154
Where and how do I set this? I'm to Unix and PHP.
John Nichel [EMAIL PROTECTED] escribió en el mensaje
news:[EMAIL PROTECTED]
Robert Winter wrote:
Is it possible to configure PHP/.htAccess/etc. for assuming a query when
the
users enters a path like this:
www.myserver.com/path/154--
I think it's in the Apache config file.
Where and how do I set this? I'm to Unix and PHP.
Marek Kilimajer [EMAIL PROTECTED] escribió en el mensaje
news:[EMAIL PROTECTED]
Robert Winter wrote:
Is it possible to configure PHP/.htAccess/etc. for assuming a query
when
the
users enters a
Robert Winter mailto:[EMAIL PROTECTED]
on Thursday, June 03, 2004 4:31 PM said:
Where and how do I set this? I'm to Unix and PHP.
just look up mod_rewrite and you'll get some answers.
http://www.engelschall.com/pw/apache/rewriteguide/
chris.
p.s. please don't respond to two different
Robert Winter wrote:
Where and how do I set this? I'm to Unix and PHP.
in .htaccess file
RewriteRule ^/path/([0-9]+)$/path/index.php?code=$1
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
9 matches
Mail list logo