Apache无法加载本地主机的文件,返回错误500
我的服务器没有在其html页面标题上加载直接链接。其中dev.pauloxavier.com是127.0.0.1的别名。例如:Apache无法加载本地主机的文件,返回错误500,apache,.htaccess,Apache,.htaccess,我的服务器没有在其html页面标题上加载直接链接。其中dev.pauloxavier.com是127.0.0.1的别名。例如: http://dev.pauloxavier.com/certified/framework/assets/css/custom.css http://dev.pauloxavier.com/certified/framework/assets/css/bootstrap.css 我也无法通过浏览器直接访问此文件。返回错误500 在我得到的错误日志中: [Mon Ma
http://dev.pauloxavier.com/certified/framework/assets/css/custom.css
http://dev.pauloxavier.com/certified/framework/assets/css/bootstrap.css
我也无法通过浏览器直接访问此文件。返回错误500
在我得到的错误日志中:
[Mon May 11 12:26:28.724782 2015] [cgi:error] [pid 2864:tid 1828] (9)Bad file descriptor: [client 127.0.0.1:51598] AH01222: don't know how to spawn child process: E:/GitHub/certified/framework/assets/img/favicon.png, referer: http://dev.pauloxavier.com/certified/
我的htaccess文件:
RewriteEngine On # Turn on the rewriting engine
RewriteBase /certified/
RewriteRule ^user/([a-z]+)/?$ user.php?id=$1 [L]
RewriteRule ^([0-9a-zA-Z-_]{1,100})/?$ index.php?to=$1 [L]
RewriteRule ^import/([0-9a-zA-Z-_]{1,100})/?$ index.php?to=import&id_evento=$1 [L]
RewriteRule ^evento/([0-9a-zA-Z-_]{1,100})/?$ index.php?to=evento&id_evento=$1 [L]
RewriteRule ^inserir/([0-9a-zA-Z-_]{1,100})/?$ index.php?to=inserir&id_evento=$1 [L]
RewriteRule ^remover/([0-9a-zA-Z-_]{1,100})/([0-9a-zA-Z-_]{1,100})/?$ index.php?to=remover&id_evento=$1&id_participante=$2 [L]
RewriteRule ^envio/([0-9a-zA-Z-_]{1,100})/?$ index.php?to=envio&id_evento=$1 [L]
RewriteRule ^certificado/([0-9a-zA-Z-_]{1,100})/([0-9a-zA-Z-_]{1,100})/?$ index.php?to=certificado&evento=$1&particip=$2 [L]
apache上的我的目录配置为:
<Directory "E:/GitHub/certified">
AllowOverride All
Require all granted
Allow from all
</Directory>
最奇怪的是:这个版本在我的Web服务器上运行,以前在我的本地服务器上运行,但我丢失了hd,不得不从头开始重新安装所有东西。我真的认为这是apache的一个问题,就像一个误解
提前谢谢
ScriptAlias /certified/ "E:/GitHub/certified/"