Bob Ionescu wrote:
2009/1/11 Kae Verens :
I want to rewrite /foo?bar=red to /index.php?page=foo&bar=red
I try it with this, but it does not work:
RewriteRule ^(.*)\?(.*)$ /index.php?page=$1&$2 [L]
The query string is not part of the rule-patern as described in the
manual
hi all,
I want to rewrite /foo?bar=red to /index.php?page=foo&bar=red
I try it with this, but it does not work:
RewriteRule ^(.*)\?(.*)$ /index.php?page=$1&$2 [L]
however, if I instead use an ampersand:
RewriteRule ^(.*)\&(.*)$ /index.php?page=$1&$2 [L]
I can rewrite /foo&bar=red to /index.php?p
Eric Covener wrote:
manual for mod_mime describes this interaction between multiple
extensions (all of which are considered) and AddHandler
http://httpd.apache.org/docs/2.2/mod/mod_mime.html#multipleext
thanks. that's a good workaround.
kae
-
Kae Verens wrote:
For example, 'test.php.' will be run as if it is a PHP file.
I don't have MultiViews enabled. In fact, to be sure, I specifically
disabled it. that thought did occur to me, though.
I haven't coded in C/C++ in over 10 years, but I'll try did through
Eric Covener wrote:
On Mon, Oct 13, 2008 at 5:15 AM, Kae Verens <[EMAIL PROTECTED]> wrote:
Morning all,
first post from myself.
If you have PHP, Perl or plain old CGI installed, and set up Apache to
recognise these files with the extensions '.php', '.pl' or
Morning all,
first post from myself.
If you have PHP, Perl or plain old CGI installed, and set up Apache to
recognise these files with the extensions '.php', '.pl' or '.cgi',
Apache will recognise the files even if the filename has a '.' at the end.
For example, 'test.php.' will be run as if