Jump to content
php.lv forumi

problemas ar acp


spawNeD

Recommended Posts

chav visiem gribetu paprasit moska jus esat zinosi

 

 

 

man te tada problema ar admina paneli majas lapa

 

ielogojos majas lapa viss norm, atveru admin paneli ari viss norm

 

 

 

pienemsim meginu spiest sadalu raksti un talak pievienot vai dzest itka vajadzetu vinam nemt atvert kaut ko bet prikols tads kad vins itka atver bet to pasu paneli nerada lai es pienemsim varetu pievienot rakstus

 

 

 

panela kods - http://paste.php.lv/d0c0173c051b65ade29615bac07de5d7?lang=php

Link to comment
Share on other sites

Izskatās ka nenostrādā šī daļa

 

$go = $_GET['go'];

if(isset($go))
  include($_SERVER['DOCUMENT_ROOT']."/admincp/$go.php");

 

Ja lapa ir tiko kā migrējusi uz jaunu hostu, tad pieļauju domu, ka ar kaut kādu adrešu pārrakstīšanu nav kaut kas kārtībā, jo adresēs &go= neparādās

Edited by 101111
Link to comment
Share on other sites

itka sita jabut

 

ErrorDocument 404 /404.php
ErrorDocument 403 /403.php



RewriteEngine On

RewriteRule ^news/([0-9]*)$ news.php?id=$1 [L]
RewriteRule ^news/([0-9]*)/$ news.php?id=$1 [L]
RewriteRule ^news/([0-9]*)/page/([0-9]*)$ news.php?id=$1&p=$2 [L]
RewriteRule ^news/([0-9]*)/page/([0-9]*)/$ news.php?id=$1&p=$2 [L]
RewriteRule ^news/page/([0-9]*)$ index.php?p=$1 [L]
RewriteRule ^news/page/([0-9]*)/$ index.php?p=$1 [L]
RewriteRule ^pictures$ pictures.php [L]
RewriteRule ^pictures/$ pictures.php [L]
RewriteRule ^picture/([0-9]*)$ pictures.php?id=$1 [L]
RewriteRule ^picture/([0-9]*)/$ pictures.php?id=$1 [L]
RewriteRule ^picture/add$ pictures.php?do=add [L]
RewriteRule ^picture/add/$ pictures.php?do=add [L]
RewriteRule ^sms/donate$ donate.php [L]
RewriteRule ^sms/donate/$ donate.php [L]
RewriteRule ^clanwars$ cw.php [L]
RewriteRule ^clanwars/$ cw.php [L]
RewriteRule ^clanwar/view/([0-9]*)$ cw.php?id=$1 [L]
RewriteRule ^clanwar/view/([0-9]*)/$ cw.php?id=$1 [L]
RewriteRule ^clanwars/page/([0-9]*)$ cw.php?p=$1 [L]
RewriteRule ^clanwars/page/([0-9]*)/$ cw.php?p=$1 [L]
RewriteRule ^login$ login.php [L]
RewriteRule ^login/$ login.php [L]
RewriteRule ^logout$ logout.php [L]
RewriteRule ^logout/$ logout.php [L]
RewriteRule ^files$ files.php [L]
RewriteRule ^files/$ files.php [L]
RewriteRule ^files/page/([0-9]*)$ files.php?p=$1 [L]
RewriteRule ^files/page/([0-9]*)/$ files.php?p=$1 [L]
RewriteRule ^file/view/([0-9]*)$ files.php?id=$1 [L]
RewriteRule ^file/view/([0-9]*)/$ files.php?id=$1 [L]
RewriteRule ^file/get/([0-9]*)$ dl.php?id=$1 [L]
RewriteRule ^file/get/([0-9]*)/$ dl.php?id=$1 [L]
RewriteRule ^panel$ panel.php [L]
RewriteRule ^panel/$ panel.php [L]
RewriteRule ^panel/([a-zA-Z0-9]*)/([a-zA-Z0-9]*)$ panel.php?go=$1&do=$2 [L]
RewriteRule ^panel/([a-zA-Z0-9]*)/([a-zA-Z0-9]*)/$ panel.php?go=$1&do=$2 [L]
RewriteRule ^panel/([a-zA-Z0-9]*)/([a-zA-Z0-9]*)/([0-9]*)$ panel.php?go=$1&do=$2&id=$3 [L]
RewriteRule ^panel/([a-zA-Z0-9]*)/([a-zA-Z0-9]*)/([0-9]*)/$ panel.php?go=$1&do=$2&id=$3 [L]
RewriteRule ^chat$ chat.php [L]
RewriteRule ^chat/$ chat.php [L]
RewriteRule ^messages$ msg_list.php [L]
RewriteRule ^messages/$ msg_list.php [L]
RewriteRule ^messages/new$ msg_new.php [L]
RewriteRule ^messages/new/$ msg_new.php [L]
RewriteRule ^messages/([a-zA-Z]*)$ msg_list.php?type=$1 [L]
RewriteRule ^messages/([a-zA-Z]*)/$ msg_list.php?type=$1 [L]
RewriteRule ^message/([0-9]*)$ msg_view.php?id=$1 [L]
RewriteRule ^message/([0-9]*)/$ msg_view.php?id=$1 [L]
RewriteRule ^timer/([a-zA-Z0-9]*) includes/$1.inc.php [L]
RewriteRule ^videos$ videos.php [L]
RewriteRule ^videos/$ videos.php [L]
RewriteRule ^videos/page/([0-9]*)$ videos.php?p=$1 [L]
RewriteRule ^videos/page/([0-9]*)/$ videos.php?p=$1 [L]
RewriteRule ^videos/$ videos.php [L]
RewriteRule ^video/([0-9]*)$ viewvideo.php?id=$1 [L]
RewriteRule ^video/([0-9]*)/$ viewvideo.php?id=$1 [L]
RewriteRule ^videos/new$ newvideo.php [L]
RewriteRule ^videos/new/$ newvideo.php [L]
RewriteRule ^tourneys$ tourneys.php [L]
RewriteRule ^tourneys/$ tourneys.php [L]
RewriteRule ^tourney/([0-9]*)$ viewtourney.php?id=$1 [L]
RewriteRule ^tourney/([0-9]*)/$ viewtourney.php?id=$1 [L]
RewriteRule ^tourney/([0-9]*)/page/([0-9]*)$ viewtourney.php?id=$1&p=$2 [L]
RewriteRule ^tourney/([0-9]*)/page/([0-9]*)/$ viewtourney.php?id=$1&p=$2 [L]
RewriteRule ^tourney/([0-9]*)/([a-zA-Z]*)$ viewtourney.php?id=$1&do=$2 [L]
RewriteRule ^tourney/([0-9]*)/([a-zA-Z]*)/$ viewtourney.php?id=$1&do=$2 [L]
RewriteRule ^tourney/([0-9]*)/([a-zA-Z]*)/([0-9]*)$ viewtourney.php?id=$1&do=$2&tid=$3 [L]
RewriteRule ^tourney/([0-9]*)/([a-zA-Z]*)/([0-9]*)/$ viewtourney.php?id=$1&do=$2&tid=$3 [L]
RewriteRule ^tourney/update/([0-9]*)$ updatetourney.php?id=$1 [L]
RewriteRule ^tourney/update/([0-9]*)/$ updatetourney.php?id=$1 [L]
RewriteRule ^tourneys/new$ newtourney.php [L]
RewriteRule ^tourneys/new/$ newtourney.php [L]
RewriteRule ^team/([0-9]*)$ viewteam.php?id=$1 [L]
RewriteRule ^team/([0-9]*)/$ viewteam.php?id=$1 [L]
RewriteRule ^team/([0-9]*)/page/([0-9]*)$ viewteam.php?id=$1&p=$2 [L]
RewriteRule ^team/([0-9]*)/page/([0-9]*)/$ viewteam.php?id=$1&p=$2 [L]
RewriteRule ^team/manage/([0-9]*)$ teammanage.php?id=$1 [L]
RewriteRule ^team/manage/([0-9]*)/$ teammanage.php?id=$1 [L]
RewriteRule ^team/manage/([0-9]*)/([a-zA-Z]*)$ teammanage.php?id=$1&do=$2 [L]
RewriteRule ^team/manage/([0-9]*)/([a-zA-Z]*)/$ teammanage.php?id=$1&do=$2 [L]
RewriteRule ^team/manage/([0-9]*)/([a-zA-Z]*)/([0-9]*)$ teammanage.php?id=$1&do=$2&uid=$3 [L]
RewriteRule ^team/manage/([0-9]*)/([a-zA-Z]*)/([0-9]*)/$ teammanage.php?id=$1&do=$2&uid=$3 [L]
RewriteRule ^team/new$ newteam.php [L]
RewriteRule ^team/new/$ newteam.php [L]
RewriteRule ^member/([0-9]*)$ viewuser.php?id=$1 [L]
RewriteRule ^member/([0-9]*)/$ viewuser.php?id=$1 [L]
RewriteRule ^rating/([0-9]*)/([a-zA-Z]*)$ rating.php?id=$1&type=$2 [L]
RewriteRule ^rating/([0-9]*)/([a-zA-Z]*)/$ rating.php?id=$1&type=$2 [L]
RewriteRule ^servers$ servers.php [L]
RewriteRule ^servers/$ servers.php [L]
RewriteRule ^server/([0-9]*)$ servers.php?s=$1 [L]
RewriteRule ^server/([0-9]*)/$ servers.php?s=$1 [L]
RewriteRule ^servers/add$ servers.php?do=add [L]
RewriteRule ^buj$ buj.php [L]
RewriteRule ^buj/$ buj.php [L]
RewriteRule ^rules$ rules.php [L]
RewriteRule ^rules/$ rules.php [L]
RewriteRule ^members$ users.php [L]
RewriteRule ^members/$ users.php [L]
RewriteRule ^members/page/([0-9]*)$ users.php?p=$1 [L]
RewriteRule ^members/page/([0-9]*)/$ users.php?p=$1 [L]
RewriteRule ^teams$ teams.php [L]
RewriteRule ^teams/$ teams.php [L]
RewriteRule ^teams/page/([0-9]*)$ teams.php?p=$1 [L]
RewriteRule ^teams/page/([0-9]*)/$ teams.php?p=$1 [L]
RewriteRule ^hosting$ hosting.php [L]
RewriteRule ^hosting/$ hosting.php [L]

RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^mans\.domains\.lv
RewriteRule (.*) http://mans.domains.lv/$1 [R=301,L]

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...