小编use*_*274的帖子

.htaccess php_value auto_prepend_file导致500错误.我怎样才能解决这个问题?

我的.htaccess如下:

Options +FollowSymLinks
RewriteEngine On
RewriteBase /school
RewriteRule ^([a-zA-Z0-9]+)/$ index.php?page=$1
RewriteRule ^([a-zA-Z0-9]+)$ index.php?page=$1

php_value auto_prepend_file ./inc/library.php

ErrorDocument 404 /school/index.php?page=404
Run Code Online (Sandbox Code Playgroud)

截至./,我读到表明相对路径.

php .htaccess

4
推荐指数
1
解决办法
2万
查看次数

标签 统计

.htaccess ×1

php ×1