Jump to content
View in the app

A better way to browse. Learn more.

IPBMafia.ru - поддержка Invision Community, релизы, темы, плагины и приложения

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Не работают админские функции.

Featured Replies

Posted

При попытке захода в админ панель отображается главная страница форума (c поехавшим дизайном), при этом модер-панель работает.
Форум "Community Forum Software by IP.Board 3.4.9 Русификация от IBResource". Используется связка Nginx + PHPfpm без Apache. 
Конфиг Nginx-а.

server {
	server_name forum.exemple.su;
	error_log    /var/log/nginx/forum_error.log;
	access_log   /var/log/nginx/forum_access.log;
	index index.php;
	root /var/www/forum/;
	client_max_body_size 16M;
		
	if ($request_method !~ ^(GET|POST)$){
			return 500;
	}
	
	location ~* \.php$ {
		include fastcgi_params.conf;
		fastcgi_split_path_info ^(.+\.php)(/.+)$;
		fastcgi_pass 172.10.0.5:9000;
		fastcgi_index index.php;
		fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
		fastcgi_param PATH_INFO $fastcgi_path_info;
	}
		
	location ~ / {
			auth_basic "Unauthorized";
			auth_basic_user_file $realpath_root/.htpasswd;
			#auth_basic_user_file passwords/site_main;
			
			location ~* "/\.ht"     {
				deny all;       # запретить все для всех
				return 404;     # вернуть код ошибки 404
			}
		#try_files $uri $uri/ /index.php?q=$uri&$args;
		try_files  $uri $uri/ /index.php;
 
		# Deny access to hidden files
		location ~ /. {
			deny  all;
		}
	 
		# Mask fake admin directory
		location ~^/admin/(.*)$ {
			deny     all;
		}
	 
			# IP.Board PHP/CGI Protection
			location ~^(/uploads/).*(.php)$ {
				deny     all;
			}
			location ~^(/hooks/).*(.php)$ {
				deny     all;
			}
			location ~^(/cache/).*(.php)$ {
				deny     all;
			}
			location ~^(/screenshots/).*(.php)$ {
				deny     all;
			}
			location ~^(/downloads/).*(.php)$ {
				deny     all;
			}
			location ~^(/blog/).*(.php)$ {
				deny     all;
			}
			location ~^(/public/style_).*(.php)$ {
				deny     all;
			}
		 
			# Caching directives for static files.
			location ~^(/uploads/profile/).*.(jpg|jpeg|gif|png)$ {
				access_log off;
				expires    1d;
			}
			location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|xml|htm|txt|swf|cur)$ {
				access_log off;
				expires    1w;
			}
	}
	
}

 

Установщик форума говорил что модуле GD не в php, но как я понял это для работы с изображениями.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.