PDA

View Full Version: Htaccess problēma 8wayrunmedia



Santori
15-11-10, 18:23
Hello Michael!Es joprojām izmantojot savu mod, un tas ir lieliski!Man ir problēma, jo man mod un tagad VBET nedarbojas. Ja šo jautājumu šeit nav, es atvainojos.Man ir uzstādītas šim mod8WayRun.Com - Media Library - vBulletin.org forums (http://www.vbulletin.org/forum/showthread.php?t=240677&highlight=media) ar šo mod, man nācās pievienot kodu htaccess seo strādāt šo mod, bet Vbet doesn't darbu. VBET daļa nav pieskāries. Es esmu tikko pievienojāt jaunu kodu iepriekš, es domāju, ka tur ir kaut kas mal:este ir mans ht access: *-# beidzas
<ifModule mod_expires.c>
ExpiresActive OnExpiresDefault "piekļuves plus 1 sekundes" ExpiresByType text/html "piekļuves plus 1 sekundes" ExpiresByType image/gif "piekļuves plus 3456000 sekundes" ExpiresByType image/jpeg "piekļuves plus 3456000 sekundes" ExpiresByType image/png "piekļuves plus 3456000 sekundes" ExpiresByType teksts/css "piekļuves plus 3456000 sekundes" ExpiresByType text/javascript "piekļuves plus 3456000 sekundes" ExpiresByType pieteikuma/javascript "piekļuves plus 3456000 sekundes" ExpiresByType pieteikuma/x-javascript "piekļuves plus 3456000 sekundes"
</ifModule>

# # Compression
<ifmodule mod_headers.c>
<ifmodule mod_deflate.c>
[AddOutputFilterByType DEFLĀCIJU text/html text/css teksta xml pieteikuma/x-javascriptBrowserMatch ^ Mozilla/4 gzip-tikai-teksta/htmlBrowserMatch ^ Mozilla/4/.0[678]-gzipBrowserMatch /bMSIE! Nr gzip! gzip-tikai-text/html
</ifmodule>
</ifmodule>

# # Pārrakstīšana
<ifmodule mod_rewrite.c>
Darīt darīt RewriteEngine onOptions + FollowSymlinksRewriteCond % {REQUEST_FILENAME} - s [vai] RewriteCond % {REQUEST_FILENAME} - l [vai] RewriteCond % {REQUEST_FILENAME} - dRewriteRule ^. *$-[NC, L] # Media LibraryReWriteRule ^ mediju/m(/d+). * / tags$ media.php? = tags_edit & mid =$ 1 [QSA] ReWriteRule ^ mediju/m(/d+). * / edit$ media.php? = details_edit & mid =$ 1 [QSA] ReWriteRule ^ mediju/m(/d+). * / atskaiti$ media.php? = atskaites & mid =$ 1 [QSA] ReWriteRule ^ media/m(/d+).*/c(/d+)$ media.php? = comment_edit & cmt =$ 2 [QSA] ReWriteRule ^ media/m(/d+).*/p(/d+). *$ media.php? = detaļas & mid =$ 1 & pid =$ 2](Vai (media.php? = tag & tid =$ 1 [QSA] ReWriteRule ^ media/results/(.*) media.php? = rezultāti & vaicājuma =$ 1 [QSA] ReWriteRule ^ media/advresults/(.*) media.php? = advresults & query =$ 1 [QSA]Darīt darīt darīt darīt darīt (ReWriteRule_^media/letter/(.*) media.php? = vēstuli & vaicājuma =$ 1 [QSA] ReWriteRule ^ mediju/browse.* media.php? = pārlūkot [QSA] ReWriteRule ^ mediju/search.* media.php? = meklēt [QSA] ReWriteRule ^ mediju/random.* media.php? = izlases [QSA] ReWriteRule ^ mediju/submit.* media.php? = iesniegt [QSA] ReWriteRule ^ mediju/tagcloud.* media.php? = tagcloud [QSA] ReWriteRule ^ mediju/playlists.* media.php? = atskaņošanas saraksti [QSA] ReWriteRule ^ mediju/pcreate.* media.php? = playlists_create [QSA] ReWriteRule ^ mediju/pmine.* media.php? = playlists_mine [QSA] ReWriteRule ^ mediju/favorites.* media.php? = izlasi [QSA] ReWriteRule ^ mediju/subscriptions.* media.php? = abonementus]Darīt darīt darīt darīt [QSA] ReWriteRule ^ media/admin/edit/s(/d+). * media.php? = admin_host_edit & sid =$ 1 [QSA] ReWriteRule ^ media/admin/delete/s(/d+). * media.php? = admin_host_delete & sid =$ 1 [QSA] ReWriteRule ^ media/admin/export/s(/d+). * media.php? = admin_host_export & sid =$ 1 [QSA] ReWriteRule ^ media/admin/(/w+). * media.php? = admin_$ 1 [QSA] # Media bibliotēkā no Video DirectoryRewriteCond % {QUERY_STRING} c = viewdetails & videoid =(/d+) RewriteRule ^ video / PHP$ media.php?do=details&mid=%1RewriteCond % {QUERY_STRING} viewcategory & categoryid =(/d+) RewriteRule ^ video / PHP$ media.php?= kategorijas & cid = % 1RewriteCond % {QUERY_STRING} viewuser & userid =(/d+) RewriteRule ^ video / PHP$ media.php?do=user&uid=%1RewriteCond % {QUERY_STRING} viewtag & tag =(.*) RewriteRule ^ video / PHP$ media.php?do=tag&tid=%1ReWriteRule ^ video / PHP$ media.php # ForumRewriteRule ^ pavedieni /. * showthread.php [QSA] RewriteRule ^ forumi /. * forumdisplay.php [QSA] RewriteRule ^ blog /. * blog.php [QSA] ReWriteRule ^ ieraksti /. * entry.php [QSA] RewriteCond % (REQUEST_FILENAME) - s [vai] RewriteCond % {REQUEST_FILENAME} - l [vai] RewriteCond % {REQUEST_FILENAME} - dRewriteRule ^. *$-[NC][, L] # MVCRewriteRule ^ (?: (..))*?)(?:/|darīt ($) (. * |$) $1.php? r =$ 2 [QSA]
</ifmodule>

# Komentēt sekojošu rindu (pievienot '#' sākumā) # atslēgt mod_rewrite funkcijas. # Please Piezīme: jums joprojām ir nepieciešams, lai atspējotu banalizēt # vBSEO vadības paneli, lai apturētu url rewrites.RewriteEngine # daži serveri pieprasa Rewritebase direktīvu, lai tie būtu iespējota # ('#'. Noņemiet no sākuma, lai aktivizētu) # Please Piezīme: ja iespējota, ir jāiekļauj ceļš # saknes mape vB (t.i. RewriteBase/forumi /) # RewriteBase / # RewriteCond % {HTTP_HOST}! ^www/.aquaterraria/.com#RewriteRule (. *) http://www.yourdomain.com/forums/$1 [L, R = 301] RewriteRule ^ ((urllist|sitemap_). * /. ())(vai (xml|txt)(/.gz)?)vai$ vbseo_sitemap/vbseo_getsitemap.php? sitemap =$ 1 [L] RewriteRule ^ /?darīt (af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi) /$ vbenterprisetranslator_seo.php? vbet_lang =$ 1 & novirzīts = / [L, QSA] RewriteRule ^ /?darīt (af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi) /(.*)?$ vbenterprisetranslator_seo.php? vbet_lang =$ 1 & novirzīts = $ 2 [L, QSA] RewriteCond % {REQUEST_URI}!(admincp/|modcp/|vbseo_sitemap/|cron)RewriteRule ^ ((archive/)? (..))((darīt (*/.php(/.*)?))$ vbenterprisetranslator_seo.php [L, QSA] RewriteCond % {REQUEST_FILENAME}! - fRewriteCond % {REQUEST_FILENAME}! - dRewriteCond % {REQUEST_FILENAME}! ^ (admincp|modcp|clientscript|cpstyles|images) /RewriteRule $ vbenterprisetranslator_seo.php [L, QSA] RewriteCond % {REQUEST_URI}!(|cron|vbseo_sitemap, |modcp, admincp)RewriteRule ^ ((archive/)? (..))((darīt (*/.php(/.*)?))$ vbseo.php [L, QSA] RewriteCond % {REQUEST_FILENAME}! - fRewriteCond % {REQUEST_FILENAME}! - dRewriteCond % {REQUEST_FILENAME}! / (admincp|modcp|clientscript|cpstyles|images) /RewriteRule ^(.+)$ vbseo.php [L, QSA] *-

mateuszr
17-11-10, 10:07
Es iesaku jums ielīmēt httaccess noteikumiem pēc vBET noteikumi un atbilde ir tāda, ka darba

Thread pārcēlās no "kļūdu ziņojumi" uz "Integrācija" sadaļā

kamilkurczak
17-11-10, 11:44
kura daļa no faila (htaccess noteikumi) ir no šīs mod?

Santori
20-11-10, 01:33
Atvainojiet, šī ir oriģinālās daļas vBET noteikumiem.

# Comment šādu rindu (pievienot "#" sākumā)
#, Lai izslēgtu mod_rewrite funkcijas.
# Lūdzu, ņemiet vērā: jums joprojām ir nepieciešams atslēgt kapāt ar
# VBSEO vadības panelī, lai pārtrauktu url pārraksta.
RewriteEngine On

# Daži serveri prasīt Rewritebase direktīvu, kas
# Iespējots (noņemt '#' sākumā, lai aktivizētu)
# Lūdzu, ņemiet vērā: ja iespējota, jāietver ceļš
#, Lai jūsu saknes vB mapi (ti RewriteBase / forums /)
# RewriteBase /

# RewriteCond% {HTTP_HOST} ^ www \\!. Aquaterraria \\. Com
# RewriteRule (.*) http://www.yourdomain.com/forums/ $ 1 [L, R = 301]

RewriteRule ^ ((urllist | sitemap_) .* \\ (xml |..? Txt) (\\ GZ))? $ Vbseo_sitemap / vbseo_getsitemap.php sitemap = $ 1 [L]
RewriteRule vbenterprisetranslator_seo.php vbet_lang =? $ 1 & novirzīts = / [L, QSA]
RewriteRule vbenterprisetranslator_seo.php vbet_lang =? $ 1 & novirzīts = / $ 2 [L, QSA]

RewriteCond% {REQUEST_URI}! (AdminCP / | modcp / | vbseo_sitemap / | cron)
RewriteRule ^ ((arhīva /)?(.* \\ php (/.*)?))$. Vbenterprisetranslator_seo.php [L, QSA]

RewriteCond% {REQUEST_FILENAME}-f!
RewriteCond% {REQUEST_FILENAME}!-D
RewriteCond% {REQUEST_FILENAME} ^! (AdminCP | modcp | clientscript | cpstyles | attēli) /
RewriteRule $ vbenterprisetranslator_seo.php [L, QSA]
RewriteCond% {REQUEST_URI}! (AdminCP / | modcp / | cron | vbseo_sitemap)
RewriteRule ^ ((arhīva /)?(.* \\ php (/.*)?))$. Vbseo.php [L, QSA]

RewriteCond% {REQUEST_FILENAME}-f!
RewriteCond% {REQUEST_FILENAME}!-D
RewriteCond% {REQUEST_FILENAME} /! (AdminCP | modcp | clientscript | cpstyles | attēli) /
RewriteRule ^(.+)$ vbseo.php [L, QSA]
Un tas ir jaunā daļa:

# # Beidzas
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "piekļuves plus 1 sekundes"
ExpiresByType text / html "piekļuves plus 1 sekundes"
ExpiresByType image / gif "piekļuves plus 3456000 sekundes"
ExpiresByType image / jpeg "piekļuves plus 3456000 sekundes"
ExpiresByType image / png "piekļuves plus 3456000 sekundes"
ExpiresByType text / css "piekļuves plus 3456000 sekundes"
ExpiresByType text / javascript "piekļuves plus 3456000 sekundes"
ExpiresByType application / javascript "piekļuves plus 3456000 sekundes"
ExpiresByType application / x-javascript "piekļuves plus 3456000 sekundes"
</ IfModule>

# # Compression
<ifmodule mod_headers.c>
<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text / html text / css text / xml application / x-javascript
BrowserMatch ^ Mozilla / 4 gzip-only-text/html
BrowserMatch ^ Mozilla / 4 \\ 0,0 [678] ne-gzip
BrowserMatch \\ bMSIE bez gzip! Gzip-only-text/html
</ Ifmodule>
</ Ifmodule>

# # Pārrakstīšana
<IfModule Mod_rewrite.c>
RewriteEngine uz
Opcijas + FollowSymLinks

RewriteCond% {REQUEST_FILENAME}-s [VAI]
RewriteCond% {REQUEST_FILENAME}-l [VAI]
RewriteCond% {REQUEST_FILENAME}-d
RewriteRule ^ .* $ - [NC, L]

# Media bibliotēka
RewriteRule ^ media / m (\\ d $ media.php +).*/ tags Do = tags_edit & mid? = $ 1 [QSA]
RewriteRule ^ media / m (\\ d +).*/ $ rediģēt media.php Do = details_edit & mid? = $ 1 [QSA]
RewriteRule ^ media / m (\\ d $ media.php +).*/ ziņojumu? Do = ziņojumu & mid = $ 1 [QSA]
RewriteRule ^ media / m (\\ d +).*/ c (\\ d +) $ media.php Do = comment_edit & cmt? = $ 2 [QSA]
RewriteRule ^ media / m (\\ d +).*/ p (\\ d +).*$ media.php? Do = sīkāk & mid = $ 1 & pid = $ 2 [QSA]
RewriteRule ^ media / m (\\ d +) .* media.php? Do = sīkāk & mid = $ 1 [QSA]
RewriteRule ^ media / p (\\ d +).*/ $ rediģēt media.php Do = playlist_edit & pid? = $ 1 [QSA]
RewriteRule ^ media / p (\\ d +) .* media.php Do = playlist & pid? = $ 1 [QSA]
RewriteRule ^ media / c (\\ d +) .* media.php Vai = kategorijā? & Cid = $ 1 [QSA]
RewriteRule ^ media / u (\\ d +) .* media.php Vai = lietotājs? & Uid = $ 1 [QSA]
RewriteRule ^ media / tag /(.*) media.php Do = tag & tid? = $ 1 [QSA]
RewriteRule ^ media / /(.*) media.php rezultātu Do = rezultātiem? & Query = $ 1 [QSA]
RewriteRule ^ media / advresults /(.*) media.php? Do = advresults & query = $ 1 [QSA]
RewriteRule ^ media / /(.*) media.php vēstuli Do = burtu un query? = $ 1 [QSA]
RewriteRule ^ media / pārlūkot media.php .*? Do = Pārlūkot [QSA]
RewriteRule ^ media / meklēšanas .* media.php Do =? Meklēšanu [QSA]
RewriteRule ^ media / .* media.php izlases? Do = izlases [QSA]
RewriteRule ^ media / .* iesniedz media.php? Do = iesniegt [QSA]
RewriteRule ^ media / tagcloud media.php .*? Do = tagcloud [QSA]
RewriteRule ^ media / .* media.php sarakstus Do =? Atskaņošanas [QSA]
RewriteRule ^ media / .* pcreate media.php Do =? Playlists_create [QSA]
RewriteRule ^ media / pmin media.php .*? Do = playlists_mine [QSA]
RewriteRule ^ media / .* media.php izlasei? Do = izlasei [QSA]
RewriteRule ^ media / .* media.php abonēšanas Do =? Abonementu [QSA]
RewriteRule ^ media / admin / rediģēt / s (\\ d +) .* media.php Do = admin_host_edit & sid? = $ 1 [QSA]
RewriteRule ^ media / admin / dzēst / s (\\ d +) .* media.php Do = admin_host_delete & sid? = $ 1 [QSA]
RewriteRule ^ media / admin / eksports / s (\\ d +) .* media.php Do = admin_host_export & sid? = $ 1 [QSA]
RewriteRule ^ media / admin / (\\ w +) .* media.php Admin_ darīt? = $ 1 [QSA]

# Media Library no Video Directory
RewriteCond% {QUERY_STRING} do = ViewDetails & videoid = (\\ d +)
RewriteRule ^ video \\. Php $ media.php? Do = sīkāk & mid =% 1
RewriteCond% {QUERY_STRING} viewcategory & CategoryID = (\\ d +)
RewriteRule ^ video \\. Php $ media.php? Do = kategorijā & cid =% 1
RewriteCond% {QUERY_STRING} viewuser & userid = (\\ d +)
RewriteRule ^ video \\. Php $ media.php? Do = Lietotāja & uid =% 1
RewriteCond% {QUERY_STRING} & tag =(.*) viewtag
RewriteRule ^ video \\. Php $ media.php? Do = tag & tid =% 1
RewriteRule ^ video \\. Php $ media.php

# Forum
RewriteRule ^ vītne / showthread.php .* [QSA]
RewriteRule ^ forums / forum .* [QSA]
RewriteRule ^ blogus / blog.php .* [QSA]
Ieraksti RewriteRule ^ / .* entry.php [QSA]

RewriteCond% {REQUEST_FILENAME}-s [VAI]
RewriteCond% {REQUEST_FILENAME}-l [VAI]
RewriteCond% {REQUEST_FILENAME}-d
RewriteRule ^ .* $ - [NC, L]

# MVC
RewriteRule ^(?.*?)(?:/|$))(.*|$)$ $ 1.php r = 2 $? [QSA]
</ Ifmodule>

Es centos, lai ielīmētu jaunajiem noteikumiem pēc tam, kad oriģināls, bet nedarbojas. Ja jūs varat palīdzēt, es augstu vērtēju to, ja ne, nekādu problēmu. Regards

kamilkurczak
22-11-10, 09:08
ok, es centīšos to integrēt.

vBET
30-11-10, 15:29
Ievietojot to pēc mūsu noteikumiem, nestrādās - mūsu noteikumus izmanto [L] - pēdējā norma. Lūdzu, mēģiniet izmantot šos pirms vBET noteikumiem.

Automatic Translations (Powered by Google, Microsoft®, Yandex, SDL Language Cloud, IBM Watson and Apertium):
AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Multilingual forum supported by vBET Translator 4.10.1