ten z katalogu forum
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /forum/
RewriteRule (.*)-t([0-9]+)\.html /forum/index.php?showtopic=$2 [R=302,L]
RewriteRule (.*)-m([0-9]+)\.html /forum/index.php?showuser=$2 [R=302,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /forum/index.php [L]
</IfModule>
i ten z katalogu głównego serwera:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [OR]
RewriteCond %{QUERY_STRING} base64_encode.*(.*) [OR]
RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2}) [OR]
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?http://renaultlaguna.pl\.pl$ [NC]
RewriteCond %{REQUEST_FILENAME} !/wordpress/
RewriteRule ^(.*)$ /wordpress/$1 [L]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_URI} (/[^.]*|\.(php|html?|feed|pdf|raw))$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L]
php_flag register_globals off
php_flag display_errors off
php_flag safe_mode on
php_value max_execution_time 800
php_value max_input_time 100
php_value memory_limit 600M
W tej chwili linija usunieta ale probowalem i tu i tu