|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
Hi! When a my user insert / or \ in the title I've troubles with rewrite, there is something to fix it? I use "Mod Rewrite Friendly URLs" and that it's my .htaccess: Code: # Author: Matty Asia # Version 1.6 # Downloaded from: http://www.vbulletin.com/forum/showthread.php?325798 RewriteEngine On Options +FollowSymLinks ####Charset AddDefaultCharset Off ####Gzip RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^(.*)(js|css)$ /redir.php?file=$1$2&type=$2 [L] ####ETags FileETag None RewriteRule ^((urllist|sitemap)_.*\.(xml|txt)(\.gz)?)$ /sitemapxml/vbulletin_sitemap_index.xml.gz [L] RewriteRule ^((urllist|sitemap)*\.(xml|txt)(\.gz)?)$ /sitemapxml/vbulletin_sitemap_index.xml.gz [L] ####Expires ExpiresActive On ExpiresByType image/gif A2592000 ExpiresByType image/jpeg A2592000 ExpiresByType image/png A2592000 ExpiresByType application/x-shockwave-flash A2592000 ExpiresByType text/css A2592000 ExpiresByType application/x-javascript A2592000 # # SAM-Wiki # RewriteRule ^SAM-Wiki/(.*)$ /samwiki/index.php?title=$1 [PT,L,QSA] RewriteRule ^SAM-Wiki/*$ /samwiki/index.php [L,QSA] RewriteRule ^/samwiki/*$ /samwiki/index.php [L,QSA] ### THIS IS A LITTLE EXTRA SECURITY AND CAN BE REMOVED RewriteRule ^includes/(.*) index.php RewriteRule ^vb/(.*) index.php RewriteRule ^packages/(.*) index.php ### THIS IS THE ACTUAL REWRITE RewriteRule ^threads/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) showthread.php?t=$1&page=$2&%{QUERY_STRING} RewriteRule ^members/([0-9]+) member.php?u=$1&%{QUERY_STRING} RewriteRule ^forums/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) forumdisplay.php?f=$1&page=$2&%{QUERY_STRING} RewriteRule ^blogs/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) blog.php?u=$1&page=$2&%{QUERY_STRING} RewriteRule ^entries/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) entry.php?b=$1&page=$2&%{QUERY_STRING} RewriteRule ^list/([^/]*/)([0-9]+) list.php?r=$1$2&%{QUERY_STRING} RewriteRule ^content/(.*) content.php?r=$1&%{QUERY_STRING} RewriteRule ^widget/config/([0-9]+) widget.php?r=config/$1&%{QUERY_STRING} __DEFINE_LIKE_SHARE__ |
مواقع النشر (المفضلة) |
| |