←  Problemy

AMXX.pl: Support AMX Mod X i SourceMod

»

vB
[ROZWIĄZANE] Error 500 w AMXBans po wgrani...

Zablokowany

ogury - zdjęcie ogury 13.02.2012

Kupiłem i wgrałem vBSEO na forum mojej sieci. Oczywiście nie obyło się bez edycji pliku .htaccess:
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /

#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.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]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]

Mój problem jest taki:
domena.pl - forum
bany.domena.pl - amxbans

W amxbans dostaję error 500. Co zrobić?
Odpowiedz

  • +
  • -
Portek - zdjęcie Portek 13.02.2012

Co zrobić?

Puknąć się w głowę?

Najprościej, bo nie pamiętam rewrite w apache na tyle: utwórz .htaccess w folderze z amxbans i wrzuć tam to:

RewriteEngine Off



Choć tak nawiasem, po coś to kurfa jest:
#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
Proponuję przed wzięciem się za tworzenie pliku usunięcie komentarzy...
Odpowiedz

ogury - zdjęcie ogury 13.02.2012

Oryginalne htaccess, było zakomentowane, to zostawiłem...
Dzięki, działa :)
Użytkownik ogury edytował ten post 13.02.2012 23:08
Odpowiedz

  • +
  • -
Ojciec Dyrektor - zdjęcie Ojciec Dyrektor 15.02.2012

Wiadomość wygenerowana automatycznie


Ten temat został zamknięty przez moderatora.

Powód: Pomoc udzielona

Jeśli się z tym nie zgadzasz, Dołączona grafika raportuj ten post, a moderator lub administrator rozpatrzy go ponownie.


Z pozdrowieniami,
Zespół AMXX.PL
Odpowiedz
Zablokowany