I have tested it with
.htaccess
Code: Select all
Options +SymLinksIfOwnerMatch
RewriteEngine on
RewriteRule seccion-(.*)-(.*)\.htm$ seccion.php?sec=$1&id=$2
RewriteRule otras-(.*)\.htm$ otras.php?id=$1
RewriteRule ver-(.*)-(.*)\.htm$ vercliente.php?nombre=$1&id=$2
RewriteRule enviarmensaje-(.*)-(.*)\.htm$ enviarmensaje.php?nombre=$1&id=$2
RewriteRule enviaroferta-(.*)-(.*)\.htm$ enviaroferta.php?nombre=$1&id=$2
RewriteRule veroferta-(.*)\.htm$ veroferta.php?idoferta=$1
RewriteRule verquehacer-(.*)\.htm$ verquehacer.php?id=$1
RewriteRule verrutamotor-(.*)\.htm$ verrutamotor.php?id=$1
RewriteRule verrutapie-(.*)\.htm$ verrutapie.php?id=$1
RewriteRule verquever-(.*)-(.*)\.html$ verquever.php?n=$1&id=$2
RewriteRule fiesta-(.*)-(.*)\.html$ fiesta.php?nombre=$1&fiesta=$2
Than created a seccion.php file with the content
Code: Select all
<?php
echo "This is seccion.php\n\n";
var_dump($_SERVER);
Than called
http://mydomain.com/seccion-11-22.htm
And correctly received this (see QUERY_STRING for example):
Code: Select all
This is seccion.php
array(40) {
["TEMP"]=>
string(21) "/home/users/test/tmp/"
["TMPDIR"]=>
string(21) "/home/users/test/tmp/"
["TMP"]=>
string(21) "/home/users/test/tmp/"
["USER"]=>
string(4) "test"
["HOME"]=>
string(17) "/home/users/test/"
["SCRIPT_NAME"]=>
string(12) "/seccion.php"
["REQUEST_URI"]=>
string(18) "/seccion-11-22.htm"
["QUERY_STRING"]=>
string(12) "sec=11&id=22"
["REQUEST_METHOD"]=>
string(3) "GET"
["SERVER_PROTOCOL"]=>
string(8) "HTTP/1.1"
["GATEWAY_INTERFACE"]=>
string(7) "CGI/1.1"
["REDIRECT_QUERY_STRING"]=>
string(12) "sec=11&id=22"
["REDIRECT_URL"]=>
string(18) "/seccion-11-22.htm"
["REMOTE_PORT"]=>
string(5) "47988"
["SCRIPT_FILENAME"]=>
string(32) "/home/users/test/www/seccion.php"
["SERVER_ADMIN"]=>
string(34) "..."
["CONTEXT_DOCUMENT_ROOT"]=>
string(21) "/home/users/test/www/"
["CONTEXT_PREFIX"]=>
string(0) ""
["REQUEST_SCHEME"]=>
string(4) "http"
["DOCUMENT_ROOT"]=>
string(21) "/home/users/test/www/"
["REMOTE_ADDR"]=>
string(12) "..."
["SERVER_PORT"]=>
string(2) "80"
["SERVER_ADDR"]=>
string(12) "..."
["SERVER_NAME"]=>
string(24) "..."
["SERVER_SOFTWARE"]=>
string(6) "Apache"
["SERVER_SIGNATURE"]=>
string(0) ""
["PATH"]=>
string(70) "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
["HTTP_ACCEPT_LANGUAGE"]=>
string(45) "de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7,und;q=0.6"
["HTTP_ACCEPT_ENCODING"]=>
string(13) "gzip, deflate"
["HTTP_ACCEPT"]=>
string(135) "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"
["HTTP_USER_AGENT"]=>
string(101) "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36"
["HTTP_UPGRADE_INSECURE_REQUESTS"]=>
string(1) "1"
["HTTP_CACHE_CONTROL"]=>
string(9) "max-age=0"
["HTTP_CONNECTION"]=>
string(10) "keep-alive"
["HTTP_HOST"]=>
string(24) "..."
["REDIRECT_STATUS"]=>
string(3) "200"
["FCGI_ROLE"]=>
string(9) "RESPONDER"
["PHP_SELF"]=>
string(12) "/seccion.php"
["REQUEST_TIME_FLOAT"]=>
float(1662982549.497864)
["REQUEST_TIME"]=>
int(1662982549)
}
So everything works as expected.
If it does not on your server, there maybe is something which interfere this process.
Default KeyHelp configurations are fine as you can see above and therefor this is not related to KeyHelp.
Mit freundlichen Grüßen / Best regards
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de -
http://www.keyhelp.de
**************************************************************