第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

httpd.conf修改了之后顯示下面這個(gè)錯(cuò)誤,看了日志說是RewriteCond %{REQUSET_FILENAME}!-d無效

Internal Server Error

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

Please contact the server administrator at ?1533750031@qq.com to inform them of the time this error occurred, and the actions you performed just before this error.

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


正在回答

2 回答

Rewritebase /index.php? ?可以忽略不寫

0 回復(fù) 有任何疑惑可以回復(fù)我~

首先說下我用的是thinkphp3.2.3版,剛開始按照老師的流程寫下來是問題,后百度解決了

第一步:

1.httpd.conf中去掉LoadModule rewrite_module modules/mod_rewrite.so 前面的#號(hào)

2.AllowOverride None 修改為了AllowOverride All(如果有兩處,就都修改了吧)

(記得重啟wrap服務(wù))

二:這里不是Apache的配置文件了

(通過index.php生成的列如APP文件下的conf)

3.在config文件中添加以下配置:?

// URL地址不區(qū)分大小寫

'URL_CASE_INSENSITIVE' => true,

//REWRITE模式

'URL_MODEL' => 2,


4.根目錄.htaccess如果沒有自己建也可以。

<IfModule mod_rewrite.c>

RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{REQUEST_FILENAME} !-f

Rewritebase /index.php

RewriteRule ^(.*)$ /index.php?/$1 [L]

</IfModule>

(這第4最好是別用,我用了官方自帶的.htaccess沒有問題,按照老師的寫下來有問題)


0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消
快速入門ThinkPHP框架—理論篇
  • 參與學(xué)習(xí)       89109    人
  • 解答問題       587    個(gè)

快速入門ThinkPHP框架教程,掌握ThinkPHP的理論基礎(chǔ)

進(jìn)入課程

httpd.conf修改了之后顯示下面這個(gè)錯(cuò)誤,看了日志說是RewriteCond %{REQUSET_FILENAME}!-d無效

我要回答 關(guān)注問題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)