我正在配置htdocs之外的网站,我做了所有的更改,这里描述的是Virtual Host。但这部分完成了,但路线不起作用。只有主页显示。显示Object not found!.的页面的其余部分
喜欢
<VirtualHost *:81>
DocumentRoot "C:\DevlopmentApps\VirtualMarket"
ServerName sjb.localhost
<Directory C:\DevlopmentApps\VirtualMarket>
Options Indexes
AllowOverride none
Require all granted
</Directory>
现在
http://sjb.localhost:81/sjb is working
http://sjb.localhost:81/sjb/find/ not working发布于 2016-10-23 07:57:45
现在我想出了一些其他人应该注意的事情。
如果要在htdocs之外进行配置,则需要在follwong链接中执行以下步骤
以下是一些不受欢迎的事情。https://stackoverflow.com/questions/9110179/adding-virtualhost-fails-access-forbidden-error-403-xampp-windows-7?answertab=votes#tab-top
<Directory ..........>
# AllowOverride All # Deprecated
# Order Allow,Deny # Deprecated
# Allow from all # Deprecated
# --New way of doing it
Require all granted
</Directory>现在有件事解决了我的问题
Options All
AllowOverride All
Require all grantedhttps://stackoverflow.com/questions/40200601
复制相似问题