Autor | Zpráva | ||
---|---|---|---|
Dědeček Profil * |
#1 · Zasláno: 30. 3. 2011, 10:21:38
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 * |
#2 · Zasláno: 30. 3. 2011, 10:23:02
RewriteRule ^([^/]+)/([^/]+)/([^/]+)?/?$ ?patch=$1&page=$2&id=$3 [QSA] |
||
Dědeček Profil * |
#3 · Zasláno: 30. 3. 2011, 10:24:17
Nečekal jsem, že to bude tak rychlé, díky moc! :)
|
||
Časová prodleva: 13 let
|
0