host3nter

برطرف کردن مشکلات فایل htaccess

سلام کدهای فایل htaccess منو ببینید کد: RewriteEngine On RewriteCond %{HTTP_HOST} !^pctak.com$ [NC] RewriteRule ^(.*)$ http://pctak.com/$1 [L,R=301] RewriteRule ^((urllist|sitemap_).*.(xml|txt)(.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 ...

موضوع برطرف کردن مشکلات فایل htaccess,.

خدمات پشتیبانی ویبولتین 4, وی بی پرو, ویبولتین

تاريخ ارسال:2014/08/22

هاست سنتر سلام کدهای فایل htaccess منو ببینید کد: RewriteEngine On RewriteCond %{HTTP_HOST} !^pctak.com$ [NC] RewriteRule ^(.*)$ http://pctak.com/$1 [L,R=301] RewriteRule ^((urllist|sitemap_).*.(xml|txt)(.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/ RewriteRule ^(.+)$ vbseo.php [L,QSA] RewriteEngine On RewriteRule ^f([0-9]+)/$ http://pctak.com/forumdisplay.phpf=$1 [L,R=301] RewriteRule ^((urllist|sitemap).*.(xml|txt)(.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] <IfModule mod_gzip.c>     mod_gzip_on Yes     mod_gzip_can_negotiate Yes     mod_gzip_static_suffix .gz     mod_gzip_update_static No     mod_gzip_keep_workfiles No     mod_gzip_minimum_file_size 500     mod_gzip_maximum_file_size 5000000     mod_gzip_maximum_inmem_size 60000     mod_gzip_min_http 1000     mod_gzip_handle_methods GET POST     mod_gzip_item_exclude reqheader "User-agent: Mozilla/4.0[678]"     mod_gzip_dechunk No     mod_gzip_item_include mime ^text/plain$     mod_gzip_item_include mime ^text/html$     mod_gzip_item_include mime ^text/xml$     mod_gzip_item_include mime ^application/xhtml+xml$     mod_gzip_item_include mime ^application/json$     mod_gzip_item_include mime ^image/x-icon$     mod_gzip_item_include mime ^image/vnd.microsoft.icon$     mod_gzip_item_include mime ^text/richtext$     mod_gzip_item_include mime ^text/xsd$     mod_gzip_item_include mime ^text/xsl$     mod_gzip_item_include mime ^httpd/unix-directory$     mod_gzip_item_include mime ^text/css$     mod_gzip_item_include mime ^text/javascript$     mod_gzip_item_include mime ^application/javascript$     mod_gzip_item_include mime ^application/x-javascript$     mod_gzip_item_include mime ^text/x-js$     mod_gzip_item_include mime ^text/ecmascript$     mod_gzip_item_include mime ^application/ecmascript$     mod_gzip_item_include mime ^text/vbscript$     mod_gzip_item_include mime ^text/fluffscript$     mod_gzip_item_include mime ^image/svg+xml$     mod_gzip_item_include mime ^application/x-font$     mod_gzip_item_include mime ^application/x-font-ttf$     mod_gzip_item_include mime ^font/opentype$     mod_gzip_item_include mime ^font/otf$     mod_gzip_item_include mime ^font/ttf$     mod_gzip_item_include mime ^application/x-font-opentype$     mod_gzip_item_include mime ^application/x-font-truetype$     mod_gzip_item_include mime ^application/vnd.ms-fontobject     mod_gzip_item_include mime ^application/vnd.oasis.opendocument.formula-template$ </IfModule> <IfModule mod_setenvif.c>     BrowserMatch ^Mozilla/4 gzip-only-text/html     BrowserMatch ^Mozilla/4.0[678] no-gzip     BrowserMatch SV1; !no_gzip     BrowserMatch bMSIE !no-gzip !gzip-only-text/html </IfModule> <IfModule mod_deflate.c>     AddOutputFilterByType DEFLATE text/plain text/html text/xml application/xhtml+xml image/x-icon image/vnd.microsoft.icon text/richtext text/xsd text/xsl text/xml application/json     AddOutputFilterByType DEFLATE text/css     AddOutputFilterByType DEFLATE text/javascript application/javascript application/x-javascript text/x-js text/ecmascript application/ecmascript text/vbscript text/fluffscript     AddOutputFilterByType DEFLATE image/svg+xml application/x-font-ttf application/x-font font/opentype font/otf font/ttf application/x-font-truetype application/x-font-opentype application/vnd.ms-fontobject application/vnd.oasis.opendocument.formula-template </IfModule> Options +FollowSymLinks <IfModule mod_mime.c>     AddEncoding gzip .gz     AddEncoding deflate .df     <FilesMatch .html.(gz|df)$>         ForceType text/html     </FilesMatch>     <FilesMatch .xml.gz$>         ForceType text/xml     </FilesMatch>     <FilesMatch .txt.gz$>         ForceType text/plain     </FilesMatch>     <FilesMatch .ico.gz$>         ForceType image/x-icon     </FilesMatch>     <FilesMatch .cur.gz$>         ForceType image/vnd.microsoft.icon     </FilesMatch>     <FilesMatch .css.gz$>         ForceType text/css     </FilesMatch>     <FilesMatch .js.gz$>         ForceType application/x-javascript     </FilesMatch>     <FilesMatch .svg.gz$>         ForceType image/svg+xml     </FilesMatch>     <FilesMatch .ttf.gz$>         ForceType font/ttf     </FilesMatch>     <FilesMatch .otf.gz$>         ForceType font/otf     </FilesMatch>     <FilesMatch .eot.gz$>         ForceType application/vnd.ms-fontobject     </FilesMatch>     <FilesMatch .(rtf|rtx).gz$>         ForceType text/richtext     </FilesMatch>     <FilesMatch .xsd.gz$>         ForceType text/xsd     </FilesMatch>     <FilesMatch .xsl.gz$>         ForceType text/xsl     </FilesMatch>     AddType text/css css     AddType application/x-javascript js     AddType text/html html htm     AddType text/richtext rtf rtx     AddType text/plain txt     AddType text/xsd xsd     AddType text/xsl xsl     AddType text/xml xml     AddType text/cache-manifest manifest     AddType video/asf asf asx wax wmv wmx     AddType video/avi avi     AddType video/ogg ogg ogv     AddType video/mp4 mp4 m4v     AddType video/webm webm     AddType video/divx divx     AddType video/quicktime mov qt     AddType video/mpeg mpeg mpg mpe     AddType audio/midi mid midi     AddType audio/mpeg mp3 m4a     AddType audio/ogg ogg     AddType audio/x-realaudio ra ram     AddType audio/wav wav     AddType audio/wma wma     AddType image/svg+xml svg svgz     AddType image/bmp bmp     AddType image/gif gif     AddType image/x-icon ico     AddType image/vnd.microsoft.icon ico     AddType image/jpeg jpg jpeg jpe     AddType image/png png     AddType image/tiff tif tiff     AddType font/ttf ttf     AddType font/otf otf     AddType font/x-woff woff     AddType application/vnd.ms-fontobject eot     AddType application/msword doc docx     AddType application/x-msdownload exe     AddType application/vnd.ms-access mdb     AddType application/vnd.ms-project mpp     AddType application/vnd.ms-powerpoint pot pps ppt pptx     AddType application/vnd.ms-write wri     AddType application/vnd.ms-excel xla xls xlsx xlt xlw     AddType application/vnd.oasis.opendocument.database odb     AddType application/vnd.oasis.opendocument.chart odc     AddType application/vnd.oasis.opendocument.formula odf     AddType application/vnd.oasis.opendocument.graphics odg     AddType application/vnd.oasis.opendocument.presentation odp     AddType application/vnd.oasis.opendocument.spreadsheet ods     AddType application/vnd.oasis.opendocument.text odt     AddType application/java class     AddType application/x-gzip gzip     AddType application/pdf pdf     AddType application/x-shockwave-flash swf     AddType application/x-tar tar     AddType application/zip zip </IfModule> <IfModule mod_headers.c>     <FilesMatch .(css|js)$>         Header append Vary User-Agent         Header append Vary Accept-Encoding         Header append Cache-Control private     </FilesMatch>     <FilesMatch .(bmp|png|gif|jpe?g|ico|flv|wmv|asf|asx|wma|wax|wmx|wm|ogg|mp4|mp3|wav|mid|swf|pdf|doc|rtf|xls|ppt|eot|ttf|otf|svg|woff)$>         Header append Cache-Control public     </FilesMatch>     <FilesMatch .(js|css|bmp|png|gif|jpe?g|ico|flv|wmv|asf|asx|wma|wax|wmx|wm|ogg|mp4|mp3|wav|mid|swf|pdf|doc|rtf|xls|ppt|woff)$>         Header unset Last-Modified         FileETag MTime     </FilesMatch> </IfModule> # Optimize By Hamed.Ramzi end # Optimize By Hamed.Ramzi <IfModule mod_expires.c>     ExpiresActive On     <FilesMatch .manifest$>         ExpiresDefault A0     </FilesMatch>     ExpiresByType text/cache-manifest A0     <FilesMatch .css$>         ExpiresDefault "access plus 10 years"     </FilesMatch>     ExpiresByType text/css A315360000     <FilesMatch .js$>         ExpiresDefault "access plus 10 years"     </FilesMatch>     ExpiresByType text/javascript A315360000     ExpiresByType application/javascript A315360000     ExpiresByType application/x-javascript A315360000     ExpiresByType text/x-js A315360000     ExpiresByType text/ecmascript A315360000     ExpiresByType application/ecmascript A315360000     ExpiresByType text/vbscript A315360000     ExpiresByType text/fluffscript A315360000     <FilesMatch .(bmp|png|gif|jpe?g|ico|cur)$>         ExpiresDefault "access plus 10 years"     </FilesMatch>     ExpiresByType image/gif A315360000     ExpiresByType image/png A315360000     ExpiresByType image/jpg A315360000     ExpiresByType image/jpeg A315360000     ExpiresByType image/x-icon A315360000     ExpiresByType image/vnd.microsoft.icon A315360000     ExpiresByType image/bmp A315360000     <FilesMatch .(eot|ttf|otf|svg|woff)$>         ExpiresDefault "access plus 10 years"     </FilesMatch>     ExpiresByType image/svg+xml A315360000     ExpiresByType application/x-font-opentype A315360000     ExpiresByType application/x-font-truetype A315360000     ExpiresByType application/x-font-ttf A315360000     ExpiresByType application/x-font A315360000     ExpiresByType application/vnd.oasis.opendocument.formula-template A315360000     ExpiresByType application/vnd.ms-fontobject A315360000     ExpiresByType font/ttf A315360000     ExpiresByType font/opentype A315360000     ExpiresByType font/otf A315360000     ExpiresByType font/woff A315360000     <FilesMatch .(flv|wmv|asf|asx|wma|wax|wmx|wm|ogg|mp4|mp3|midi?|wav|m4v|webm|divx|mov|qt|mpe?g|mpe|m4a|ra|ram)$>         ExpiresDefault "access plus 10 years"     </FilesMatch>     ExpiresByType audio/mpeg A315360000     ExpiresByType audio/ogg A315360000     ExpiresByType audio/mid A315360000     ExpiresByType audio/midi A315360000     ExpiresByType audio/wav A31536000     ExpiresByType audio/x-wav A315360000     ExpiresByType audio/x-realaudio A31536000     ExpiresByType audio/wma A31536000     ExpiresByType video/asf A315360000     ExpiresByType video/avi A315360000     ExpiresByType video/divx A315360000     ExpiresByType video/x-flv A315360000     ExpiresByType video/x-ms-wmv A315360000     ExpiresByType video/x-ms-asf A315360000     ExpiresByType video/x-ms-asx A315360000     ExpiresByType video/x-ms-wma A315360000     ExpiresByType video/x-ms-wax A315360000     ExpiresByType video/x-ms-wmx A315360000     ExpiresByType video/x-ms-wm A315360000     ExpiresByType video/ogg A315360000     ExpiresByType video/quicktime A31536000     ExpiresByType video/mp4 A315360000     ExpiresByType video/mpeg A31536000     <FilesMatch .(swf|pdf|docx?|rtf|xls|ppt|class|exe|g?zip|tar|mdb|mpp|pot|pps|ppt|pptx|wri|xla|xlsx?|xlt|xlw|odb|odc|odf|odg|odp|ods|odt)$>         ... هاست,دامین,سایت,وب,طراحی

برطرف, کردن, مشکلات, فایل, htaccess

برطرف کردن مشکلات فایل htaccess

میزبانی وب ,هاست,فضای وب,ویندوز,لینوکس,دات نت,پی اچ پی,web hosting,windows host,linux host,asp.net,php,sql server,mysql میزبان پایتخت ارائه دهنده خدمات میزبانی وب، هاست و هاستینگ، میزبانی هاست، دامین، میزبانی نمایندگی، نمایندگی وب، سرور مجازی و سرور مجازی ابری می باشد.هاست,میزبانی وب,دامین,سرور مجازی,میزبان پایتخت,host,domain,vps,mizban paytakht,hosting,share hosting,میزبان وب,میزبانی هاست,هاستینگ

google