Skip to content

Internal Server Error

Не могу понять что не нравится серверу. В логах появились записи, после нажатиятия этйо функции

 

IPB может записать файл .htaccess в директории, где не содержатся php-файлы, препятствуя тем самым запуску файлов PHP и CGI в этих директориях.

IPB обнаружил .htaccess файлы.">

 

После запуска перестали отображаться вложения. В логах.

 

public/style_images/.htaccess: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration, referer: http://

 

И страница с картинками открывает

 

 

 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

 

Please contact the server administrator, it@сайт.ru and inform them of the time the error occurred, and anything you might have done that may have caused the error.

 

More information about this error may be available in the server error log.

 

Featured Replies

  • Author

Я так понимаю нужно расширение? a2enmod headers

А что в в самом htaccess?

Да, отсутствует мод для директивы header.

  • Author
#<ipb-protection>
<Files ~ "^.*\.(php|cgi|pl|php3|php4|php5|php6|phtml|shtml)">
Order allow,deny
Deny from all
</Files>
<Files ~ "^.*\.(ipb)$">
Header set Content-Disposition attachment
</Files>
#</ipb-protection>

  • Author

А что в в самом htaccess?

Да, отсутствует мод для директивы header.

 

 

Поставил, всё заработало. Спс

Create an account or sign in to comment

Account

Navigation

Search

Search

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.