RError.com

RError.com Logo RError.com Logo

RError.com Navigation

  • 主页

Mobile menu

Close
  • 主页
  • 系统&网络
    • 热门问题
    • 最新问题
    • 标签
  • Ubuntu
    • 热门问题
    • 最新问题
    • 标签
  • 帮助
主页 / 问题

问题[url]

Martin Hope
Dimych
Asked: 2022-09-29 05:48:03 +0000 UTC

MODX HTTP ERROR 500 上的站点

  • 0

网站 roural.ru 在加载带有模板“父目录”和“目录”的页面时收到 HTTP 错误 ERROR 500。示例:http ://roural.ru/oborudovanie-benza.html

同时,带有“final final”模板的页面正常打开,响应为 200。示例:http ://roural.ru/nasos-perekachki-masla-benza-11.html

嵌套是这样的: 嵌套是

我试图做什么:我在托管设置中更改了 php 版本,我尝试了 5.6-7.4 的所有内容现在 php 7.4 我尝试了不同的 .htaccess 设置库存也尝试了最小设置我清理了缓存,在管理面板中并物理删除缓存文件夹中的所有内容

现在htaccess是这样的

php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
php_flag log_errors on
php_flag ignore_repeated_errors off
php_flag ignore_repeated_source off
php_flag report_memleaks on
php_flag track_errors on
php_value docref_root 0
php_value docref_ext 0
php_value error_log /home/t/toppropv/roural.ru/public_html/PHP_errors.log
php_value error_reporting 2047
php_value log_errors_max_len 0

<Files PHP_errors.log>
    Require all denied
</Files>

RewriteEngine On
RewriteBase /

RewriteCond %{HTTP_HOST} ^www.roural.ru$ [NC]
RewriteRule ^(.*)$ http://roural.ru/$1 [R=301,L]

RewriteCond %{QUERY_STRING} ^.*more=1.*
RewriteRule . - [R=404,L,NC]

# The Friendly URLs part
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

php_flag register_globals Off

<ifModule mod_expires.c>
    ExpiresActive On
    ExpiresDefault "access plus 5 seconds"
    ExpiresByType image/x-icon "access plus 2592000 seconds"
    ExpiresByType image/jpeg "access plus 2592000 seconds"
    ExpiresByType image/png "access plus 2592000 seconds"
    ExpiresByType image/gif "access plus 2592000 seconds"
    ExpiresByType application/x-shockwave-flash "access plus 2592000 seconds"
    ExpiresByType text/css "access plus 604800 seconds"
    ExpiresByType text/javascript "access plus 216000 seconds"
    ExpiresByType application/javascript "access plus 216000 seconds"
    ExpiresByType application/x-javascript "access plus 216000 seconds"
    ExpiresByType text/html "access plus 600 seconds"
    ExpiresByType application/xhtml+xml "access plus 600 seconds"
</ifModule>
<ifModule mod_headers.c>
    <filesMatch "\.(ico|jpe?g|png|gif|swf)$">
        Header set Cache-Control "public"
    </filesMatch>
    <filesMatch "\.(css)$">
        Header set Cache-Control "public"
    </filesMatch>
    <filesMatch "\.(js)$">
        Header set Cache-Control "private"
    </filesMatch>
    <filesMatch "\.(x?html?|php)$">
        Header set Cache-Control "private, must-revalidate"
    </filesMatch>
</ifModule>

Options +FollowSymLinks
RewriteEngine On
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP
RewriteRule ^index\.php$ http://roural.ru/ [R=301,L]

Options +FollowSymLinks
RewriteEngine On
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.htm\ HTTP
RewriteRule ^index\.htm$ http://roural.ru/ [R=301,L]

这是怎么回事?

这是 URL 设置的样子

在此处输入图像描述

.htaccess url
  • 1 个回答
  • 20 Views
Martin Hope
etterwin
Asked: 2022-03-26 17:08:58 +0000 UTC

转换时引用错误,带有特定子域的 url(仅在 chrome 中)

  • 0

在线商店的区域具有独特的子域。在子域区域中从一个页面移动到另一个页面时,引用者总是存储协议+子域+域的值,即丢弃资源路径和参数。

例如,如果我们从产品卡片页面 ( https://spb.magazin.ru/tovar/kosilka/huter/huter_motokultivator_gmc-6.5/) 转到授权页面 ( https://www.magazin.ru/login/),那么只有https://spb.magazin.ru/.

如果我们不在子域区域中,那么引用者将是正确的https://www.magazin.ru/tovar/kosilka/huter/huter_motokultivator_gmc-6.5/

复制此案例的区域无关紧要,它适用于任何特定的子域。告诉我,由于什么原因可以错误地形成推荐人?

url
  • 1 个回答
  • 10 Views
Martin Hope
Blacit
Asked: 2020-01-17 02:10:06 +0000 UTC

如何在一个网址中发送多张图片

  • 0

对如何在一个链接中传输多张照片感兴趣,以便以后可以下载它们。

在这里传递参数,仅在我们的例子中链接到照片:

url
  • 1 个回答
  • 10 Views
Martin Hope
CppCat
Asked: 2020-06-27 22:38:45 +0000 UTC

是否可以写ip而不是域名?如何?

  • 3

例如,是否google.com可以写而不是或其他名称1.808.5789.908...(ip ненастоящий)等?

如果是这样,我怎样才能找到该网站的IP地址 ?

如果没有,为什么不 呢?

url
  • 2 个回答
  • 10 Views
Martin Hope
Gennadiy Dyomin
Asked: 2020-11-19 22:23:48 +0000 UTC

网页下载问题

  • 1

我需要从页面“ https://www.fonbet.ru/#!/bets/football ”获取信息,但我不能全部完成。那些。事实证明,但没有读取匹配表。尝试使用 Jsoup

Document doc = Jsoup.connect("https://www.fonbet.ru/#!/bets/football").get();
String text = doc.body().text();

并且还通过 URL 尝试过

URL url = new URL("https://www.fonbet.ru/#!/bets/football");
    BufferedReader reader = new BufferedReader(
            new InputStreamReader(url.openConnection().getInputStream(), "UTF-8"));
    while (true) {
        String line = reader.readLine();
        if (line == null)
            break;

我征求你的意见。感谢您的关注。

url
  • 1 个回答
  • 10 Views

Sidebar

Stats

  • 问题 10021
  • Answers 30001
  • 最佳答案 8000
  • 用户 6900
  • 常问
  • 回答
  • Marko Smith

    我看不懂措辞

    • 1 个回答
  • Marko Smith

    请求的模块“del”不提供名为“default”的导出

    • 3 个回答
  • Marko Smith

    "!+tab" 在 HTML 的 vs 代码中不起作用

    • 5 个回答
  • Marko Smith

    我正在尝试解决“猜词”的问题。Python

    • 2 个回答
  • Marko Smith

    可以使用哪些命令将当前指针移动到指定的提交而不更改工作目录中的文件?

    • 1 个回答
  • Marko Smith

    Python解析野莓

    • 1 个回答
  • Marko Smith

    问题:“警告:检查最新版本的 pip 时出错。”

    • 2 个回答
  • Marko Smith

    帮助编写一个用值填充变量的循环。解决这个问题

    • 2 个回答
  • Marko Smith

    尽管依赖数组为空,但在渲染上调用了 2 次 useEffect

    • 2 个回答
  • Marko Smith

    数据不通过 Telegram.WebApp.sendData 发送

    • 1 个回答
  • Martin Hope
    Alexandr_TT 2020年新年大赛! 2020-12-20 18:20:21 +0000 UTC
  • Martin Hope
    Alexandr_TT 圣诞树动画 2020-12-23 00:38:08 +0000 UTC
  • Martin Hope
    Air 究竟是什么标识了网站访问者? 2020-11-03 15:49:20 +0000 UTC
  • Martin Hope
    Qwertiy 号码显示 9223372036854775807 2020-07-11 18:16:49 +0000 UTC
  • Martin Hope
    user216109 如何为黑客设下陷阱,或充分击退攻击? 2020-05-10 02:22:52 +0000 UTC
  • Martin Hope
    Qwertiy 并变成3个无穷大 2020-11-06 07:15:57 +0000 UTC
  • Martin Hope
    koks_rs 什么是样板代码? 2020-10-27 15:43:19 +0000 UTC
  • Martin Hope
    Sirop4ik 向 git 提交发布的正确方法是什么? 2020-10-05 00:02:00 +0000 UTC
  • Martin Hope
    faoxis 为什么在这么多示例中函数都称为 foo? 2020-08-15 04:42:49 +0000 UTC
  • Martin Hope
    Pavel Mayorov 如何从事件或回调函数中返回值?或者至少等他们完成。 2020-08-11 16:49:28 +0000 UTC

热门标签

javascript python java php c# c++ html android jquery mysql

Explore

  • 主页
  • 问题
    • 热门问题
    • 最新问题
  • 标签
  • 帮助

Footer

RError.com

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

帮助

© 2023 RError.com All Rights Reserve   沪ICP备12040472号-5