Autor Zpráva
Dědeček
Profil *
Zdravím, nevím jak to jinak nazvat, když mám odkaz example.com/neco/neco/1/?promenna=data .. tak to tu promenna nenacte jako $_GET, nevíte proč? Tady je cely htaccess

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^/]+)/([^/]+)/([^/]+)?/?$ ?patch=$1&page=$2&id=$3
ErrorDocument 404 /text/404/
ErrorDocument 403 /text/404/
# Force the latest IE version, in various cases when it may fall back to IE7 mode
#  github.com/rails/rails/commit/123eb25#commitcomment-118920
# Use ChromeFrame if it's installed for a better experience for the poor IE folk
<IfModule mod_setenvif.c>
  <IfModule mod_headers.c>
    BrowserMatch MSIE ie
    Header set X-UA-Compatible "IE=Edge,chrome=1" env=ie
  </IfModule>
</IfModule>

<IfModule mod_headers.c>
# Because X-UA-Compatible isn't sent to non-IE (to save header bytes),
#   We need to inform proxies that content changes based on UA
  Header append Vary User-Agent
# Cache control is set only if mod_headers is enabled, so that's unncessary to declare
</IfModule>

AuthUserFile /var/www/web5/slevovak.cz/beta.slevovak.cz/.htpasswd
AuthName "Vyvoj"
AuthType Basic
require valid-user

Kajman_
Profil *
RewriteRule ^([^/]+)/([^/]+)/([^/]+)?/?$ ?patch=$1&page=$2&id=$3 [QSA]
Dědeček
Profil *
Nečekal jsem, že to bude tak rychlé, díky moc! :)

Vaše odpověď


Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm:

0