PDA

View Full Version: Htaccess problem 8wayrunmedia



Santori
15-11-10, 18:23
Zdravo Michael!Sem še vedno using vaš mod in je super!Imam problem, ker sem dal mod in zdaj VBET ne deluje. Če ta tema ni tukaj, se opravičujem.Imam nameščen ta mod8WayRun.Com - Media Library - vBulletin.org Forum (http://www.vbulletin.org/forum/showthread.php?t=240677&highlight=media) s tem mod, sem moral kodo dodati htaccess obdelovati seo to mod, vendar Vbet ne deluje. Del VBET je ni dotaknil. Sem pravkar dodali novo kodo zgoraj, mislim, da obstaja nekaj mal:este je moj ht dostop: *-# poteče
<ifModule mod_expires.c>
ExpiresActive OnExpiresDefault "dostop plus 1 sekund" ExpiresByType text/html "dostop plus 1 sekund" ExpiresByType image/gif "dostop plus 3456000 sekund" ExpiresByType image/jpeg "dostop plus 3456000 sekund" ExpiresByType image/png "dostop plus 3456000 sekund" ExpiresByType besedilo/css "dostop plus 3456000 sekund" ExpiresByType text/javascript "dostop plus 3456000 sekund" ExpiresByType uporabo/javascript "dostop plus 3456000 sekund" ExpiresByType uporabo/x-javascript "dostop plus 3456000 sekund"
</ifModule>

# # Compression
<ifmodule mod_headers.c>
<ifmodule mod_deflate.c>
[AddOutputFilterByType DEFLACIJO text/html text/css text/xml aplikacije/x-javascriptBrowserMatch ^ Mozilla/4 gzip-samo-besedilo/htmlBrowserMatch ^ Mozilla/4/.0[678]-gzipBrowserMatch /bMSIE! št gzip! gzip-samo-text/html
</ifmodule>
</ifmodule>

# # Reportaža
<ifmodule mod_rewrite.c>
Naredite storiti RewriteEngine onOptions + FollowSymlinksRewriteCond % {REQUEST_FILENAME} - s [ali] RewriteCond % {REQUEST_FILENAME} - l [ali] RewriteCond % {REQUEST_FILENAME} - dRewriteRule ^. *$-[NC, L] # Media LibraryReWriteRule ^ media/m(/d+). * / tags$ media.php? = tags_edit & sredine =$ 1 [QSA] ReWriteRule ^ media/m(/d+). * / edit$ media.php? = details_edit & sredine =$ 1 [QSA] ReWriteRule ^ media/m(/d+). * / poročilo$ media.php? = poročilo & sredine =$ 1 [QSA] ReWriteRule ^ media/m(/d+).*/c(/d+)$ media.php? = comment_edit & cmt =$ 2 [QSA] ReWriteRule ^ media/m(/d+).*/p(/d+). *$ media.php? = podrobnosti & sredine =$ 1 & pid =$ 2](Storiti (media.php? = tag & tid =$ 1 [QSA] ReWriteRule ^ media/results/(.*) media.php? = rezultati & query =$ 1 [QSA] ReWriteRule ^ media/advresults/(.*) media.php? = advresults & query =$ 1 [QSA]Naredite storiti storiti storiti storiti (ReWriteRule_^media/letter/(.*) media.php? = črka & query =$ 1 [QSA] ReWriteRule ^ media/browse.* media.php? = Prebrskaj [QSA] ReWriteRule ^ media/search.* media.php? = iskanje [QSA] ReWriteRule ^ media/random.* media.php? = naključno [QSA] ReWriteRule ^ media/submit.* media.php? = predloži [QSA] ReWriteRule ^ media/tagcloud.* media.php? = tagcloud [QSA] ReWriteRule ^ media/playlists.* media.php? = predvajanja [QSA] ReWriteRule ^ media/pcreate.* media.php? = playlists_create [QSA] ReWriteRule ^ media/pmine.* media.php? = playlists_mine [QSA] ReWriteRule ^ media/favorites.* media.php? = Priljubljene [QSA] ReWriteRule ^ media/subscriptions.* media.php? = naročnine]Naredite storiti storiti [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 knjižnico iz 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?= kategorije & 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 ^ niti /. * showthread.php [QSA] RewriteRule ^ forumi /. * forumdisplay.php [QSA] RewriteRule ^ blog /. * blog.php [QSA] ReWriteRule ^ postavke /. * entry.php [QSA] RewriteCond % {REQUEST_FILENAME} - s [ali] RewriteCond % {REQUEST_FILENAME} - l [ali] RewriteCond % {REQUEST_FILENAME} - dRewriteRule ^. *$-[NC][, L] # MVCRewriteRule ^ (?: (.))*?)(?:/|storiti ($) (. * |$) $1.php? r =$ 2 [QSA]
</ifmodule>

# Komentar naslednja vrstica (dodati "#" na začetku) # onemogočiti mod_rewrite funkcije. # Please Opomba: vi še vedno potreba v onesposobiti kramp v # vBSEO Nadzorna plošča ustaviti url prepiše.RewriteEngine naprej # nekateri strežniki zahtevajo Rewritebase Direktive biti # omogočena (odstrani "#" na začetku aktivirati) # Please Opomba: ko omogočeno, mora vključevati pot # na vaš korenski mapi vB (tj. RewriteBase/forumi /) # RewriteBase / # RewriteCond % {HTTP_HOST}! ^www/.aquaterraria/.com#RewriteRule (. *) http://www.yourdomain.com/forums/$1 [L, R = 301] RewriteRule ^ ((urllist|sitemap_). * /. ())(storiti (xml|txt)(/.gz)?)storiti$ vbseo_sitemap/vbseo_getsitemap.php? sitemap =$ 1 [L] RewriteRule ^ /?storiti (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 & preusmerjeni = / [L, QSA] RewriteRule ^ /?storiti (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 & preusmerjeni = $ 2 [L, QSA] RewriteCond % {REQUEST_URI}!(admincp/|modcp/|vbseo_sitemap/|cron)RewriteRule ^ ((archive/)? (.))((storiti (*/.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/)? (.))((storiti (*/.php(/.*)?))$ vbseo.php [L, QSA] RewriteCond % {REQUEST_FILENAME}! - fRewriteCond % {REQUEST_FILENAME}! - dRewriteCond % {REQUEST_FILENAME}! / ^(.+) (admincp|modcp|clientscript|cpstyles|images) za /RewriteRule v vbseo.php $ [L, QSA] *-

mateuszr
17-11-10, 10:07
Predlagam vam, da prilepite httaccess pravila AFTER vBET pravila in odgovor, je, da delajo

Thread preselil iz "Bug poročanje" v "vključevanje" oddelek

kamilkurczak
17-11-10, 11:44
kateri del datoteke (pravila htaccess) je od tega mod?

Santori
20-11-10, 01:33
Oprostite, to je originalni pravila vBET del.

# Comment naslednjo vrstico (dodamo "#" na začetku)
# Onemogočiti mod_rewrite funkcij.
# Pozor: še vedno je treba onemogočiti kramp v
# Nadzorni plošči vBSEO ustaviti url preoblikuje.
Na RewriteEngine

# Nekateri strežniki zahtevajo Rewritebase direktive, da se
# Omogočena (odstranite "#", na začetku za aktiviranje)
# Pozor: ko je vključena, morate vključiti poti
# V mapo koren vB (tj. 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 & preusmerjen = / [L, QSA]
RewriteRule vbenterprisetranslator_seo.php vbet_lang =? $ 1 & preusmerjen = / $ 2 [L, QSA]

RewriteCond% {REQUEST_URI}! (Admincp / | modcp / | vbseo_sitemap / | cron)
RewriteRule ^ ((arhiv /)?(.* \\. Php (/.*)?))$ vbenterprisetranslator_seo.php [L, QSA]

RewriteCond% {REQUEST_FILENAME}!-F
RewriteCond% {REQUEST_FILENAME}!-D
RewriteCond% {REQUEST_FILENAME} ^! (Admincp | modcp | clientscript | cpstyles | slike) /
RewriteRule $ vbenterprisetranslator_seo.php [L, QSA]
RewriteCond% {REQUEST_URI}! (Admincp / | modcp / | cron | vbseo_sitemap)
RewriteRule ^ ((arhiv /)?(.* \\. Php (/.*)?))$ vbseo.php [L, QSA]

RewriteCond% {REQUEST_FILENAME}!-F
RewriteCond% {REQUEST_FILENAME}!-D
RewriteCond% {REQUEST_FILENAME} /! (Admincp | modcp | clientscript | cpstyles | slike) /
RewriteRule ^(.+)$ vbseo.php [L, QSA]
In to je novi del:

# # Poteče
<ifModule mod_expires.c>
Na ExpiresActive
ExpiresDefault "dostop plus 1 sekundi"
ExpiresByType text / html "dostop plus 1 sekundi"
ExpiresByType image / gif "dostop plus 3456000 sekund"
ExpiresByType image / jpeg "dostop plus 3456000 sekund"
ExpiresByType image / png "dostop plus 3456000 sekund"
ExpiresByType text / css "dostop plus 3456000 sekund"
ExpiresByType text / javascript "dostop plus 3456000 sekund"
ExpiresByType application / javascript "dostop plus 3456000 sekund"
ExpiresByType application / x-javascript "dostop plus 3456000 sekund"
</ 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] no-gzip
BrowserMatch \\ bMSIE! No-gzip! Gzip-only-text/html
</ Ifmodule>
</ Ifmodule>

# # Reportaža
<IfModule Mod_rewrite.c>
RewriteEngine na
Možnosti + FollowSymlinks

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

# Media Library
RewriteRule ^ mediji / m (\\ d $ media.php +).*/ tags? Ali = tags_edit & sredi = $ 1 [QSA]
RewriteRule ^ mediji / m (\\ d +).*/ $ edit media.php? Ali = details_edit & sredi = $ 1 [QSA]
RewriteRule ^ mediji / m (\\ d $ media.php +).*/ poročilo? Ali = poročilo & sredine = $ 1 [QSA]
RewriteRule ^ mediji / m (\\ d +).*/ c (\\ d +) $ media.php? Ali = comment_edit & CMT = $ 2 [QSA]
RewriteRule ^ mediji / m (\\ d +).*/ p (\\ d +).*$ media.php? Ali = podatki & sredi = $ 1 & pid = $ 2 [QSA]
RewriteRule ^ mediji / m (\\ d +) .* media.php? Ali = podatki & sredi = $ 1 [QSA]
RewriteRule ^ mediji / p (\\ d +).*/ $ edit media.php? Ali = playlist_edit & pid = $ 1 [QSA]
RewriteRule ^ mediji / p (\\ d +) .* media.php? Ali = seznam & pid = $ 1 [QSA]
RewriteRule ^ mediji / c (\\ d +) .* media.php? Ali kategoriji = & cid = $ 1 [QSA]
RewriteRule ^ mediji / u (\\ d +) .* media.php? Ali = uporabnik & uid = $ 1 [QSA]
RewriteRule ^ mediji / tag /(.*) media.php? Ali = tag & tid = $ 1 [QSA]
RewriteRule ^ mediji / /(.*) media.php rezultate? Ali = rezultate & query = $ 1 [QSA]
RewriteRule ^ mediji / advresults /(.*) media.php? Ali = advresults & query = $ 1 [QSA]
RewriteRule ^ mediji / /(.*) media.php pismo? Ali = pismo & query = $ 1 [QSA]
RewriteRule ^ mediji / brskanje media.php .*? Ali = brskanje [QSA]
RewriteRule ^ mediji / iskanje .* media.php? Ali = iskanje [QSA]
RewriteRule ^ mediji / .* media.php naključno? Ali = naključno [QSA]
RewriteRule ^ mediji / .* submit media.php? Ali = submit [QSA]
RewriteRule ^ mediji / tagcloud media.php .*? Ali = tagcloud [QSA]
RewriteRule ^ mediji / .* media.php playlists? Ali = playlists [QSA]
RewriteRule ^ mediji / .* pcreate media.php? Ali = playlists_create [QSA]
RewriteRule ^ mediji / pmin media.php .*? Ali = playlists_mine [QSA]
RewriteRule ^ mediji / .* media.php priljubljene? Ali = priljubljene [QSA]
RewriteRule ^ mediji / .* media.php naročnine? Ali = naročnine [QSA]
RewriteRule ^ mediji / admin / edit / s (\\ d +) .* media.php? Ali = admin_host_edit & sid = $ 1 [QSA]
RewriteRule ^ mediji / admin / delete / s (\\ d +) .* media.php? Ali = admin_host_delete & sid = $ 1 [QSA]
RewriteRule ^ mediji / admin / izvoz / s (\\ d +) .* media.php? Ali = admin_host_export & sid = $ 1 [QSA]
RewriteRule ^ mediji / admin / (\\ w +) .* media.php? Admin_ do = $ 1 [QSA]

# Media Library iz Directory Video
RewriteCond% {QUERY_STRING} do = ViewDetails & videoid = (\\ d +)
RewriteRule ^ video \\ Php $. Media.php? Ali = podatki & sredi =% 1
RewriteCond% {QUERY_STRING} viewcategory & categoryid = (\\ d +)
RewriteRule ^ video \\ Php $. Media.php? Ali kategoriji = & cid = 1%
RewriteCond% {QUERY_STRING} viewuser & id = (\\ d +)
RewriteRule ^ video \\ Php $. Media.php? Ali = uporabnik & uid =% 1
RewriteCond% {QUERY_STRING} & tag =(.*) viewtag
RewriteRule ^ video \\ Php $. Media.php? Ali = tag & tid =% 1
RewriteRule ^ video \\. Php $ media.php

Forum #
RewriteRule ^ teme / .* showthread.php [QSA]
RewriteRule ^ forumi / .* forumdisplay.php [QSA]
RewriteRule ^ blogi / .* blog.php [QSA]
RewriteRule ^ vnosov / .* entry.php [QSA]

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

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

Poskušal sem prilepiti nova pravila po prvotni, vendar ne deluje. Če vam lahko pomaga, sem ga cenil, če ne, ni problema. Regards

kamilkurczak
22-11-10, 09:08
ok, bom poskusil, da ga vključili.

vBET
30-11-10, 15:29
Ga je dala po naših pravilih ne bo delovalo - naša pravila uporabe [L] - last pravilo. Poskusite z uporabo teh pravil pred vBET.

Automatic Translations (Powered by Google, Microsoft®, Yandex, SDL Language Cloud, IBM Watson and Apertium):
AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Languages translations made by vBET Translator 4.9.99