Results 1 to 7 of 7
Thread: query string .htaccess
Hybrid View
-
22nd October 2011 16:48 #1
query string .htaccess
, .htaccess , , index.php, . .
.css, .js , . , , , "?request=_", . "dir1" "http://localhost/dir1", index.php, , "http://localhost/dir1/?request=dir1". ?Code:RewriteEngine On RewriteCond %{REQUEST_FILENAME} !index.php RewriteCond %{REQUEST_URI} !\.css$ RewriteCond %{REQUEST_URI} !\.js$ RewriteCond %{REQUEST_URI} !files/(.*)\. RewriteRule (.*) index.php?request=$1 [NC]Fujistu Lifebook E756 | Core i7-6500U / 400MHz-3.1GHz | 8 GB DDR4-2133 | Samsung PM871 / 256 GB SSD | 15" 1920x1080 | Manjaro Linux + kernel 4.19
-
22nd October 2011 17:22 #2
index.php, ?reques=... ?

.
:
RewriteCond %{REQUEST_FILENAME} !-d
-
22nd October 2011 18:32 #3
, , . . - , , . , PHP-, " ", .
"!-d", , , . ? , ...
, -, .Fujistu Lifebook E756 | Core i7-6500U / 400MHz-3.1GHz | 8 GB DDR4-2133 | Samsung PM871 / 256 GB SSD | 15" 1920x1080 | Manjaro Linux + kernel 4.19
-
22nd October 2011 18:57 #4
RewriteCond, , . rule .
index.php dir1/ ?
-
22nd October 2011 21:05 #5
, - :
IndexIgnore */* -. - , , , , index.php. , , , .htaccess :Code:Options +FollowSymLinks IndexIgnore */* RewriteEngine on # if a directory or a file exists, use it directly RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # otherwise forward it to index.php RewriteRule . index.php
Code:deny from all
-
22nd October 2011 22:02 #6
:
, , index.php , index.php . , - , . , -.Code:RewriteEngine On RewriteCond %{REQUEST_FILENAME} -d RewriteRule . index.php [NC,L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !index.php RewriteCond %{REQUEST_URI} !\.css$ RewriteCond %{REQUEST_URI} !\.js$ RewriteCond %{REQUEST_URI} !files/(.*)\. RewriteRule (.*) index.php?request=$1 [NC]
, . .
Veseliq, , .js, .css , index.php /files, . ... - .htaccess .
, .
Fujistu Lifebook E756 | Core i7-6500U / 400MHz-3.1GHz | 8 GB DDR4-2133 | Samsung PM871 / 256 GB SSD | 15" 1920x1080 | Manjaro Linux + kernel 4.19




Reply With Quote
Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in