杨杨杨 Dec 22, 2012 3987 3 0 关于youbbs本地安装 YB站长 不知道有没有同学本地安装youbbs时会不会出现如下状况: 0 See Also youbbs安装出错 如何在已经有 lnmp 的环境下 安装 youbbs 服务器上已经安装了 lnmp 再装 youbbs 可以吗 youbbs的安装出现的数据库问题 90秒完成youBBS安装 Nearby 上一篇 › 成本最低的SEO投入方法 下一篇 › 怎么在本机安装该软件 Discussion (3) Comment 杨杨杨 2012-12-22 12:18 Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. If you think this is a server error, please contact the webmaster. Error 404 localhost 12/22/12 20:06:10 Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 原因是你没有把youbbs直接安装在htdoc文件夹上,也就是说你要把youbbs文件夹上的东西全复制出来到htdoc里。 0 ego008 2012-12-23 03:06 @杨杨杨 可以在本地环境配置一个虚拟主机,如 修改host 把sae.youbbs.com 指向127.0.0.1 修改Apache配置,添加虚拟主机信息,类似: <VirtualHost :80> ServerName sae.youbbs.com DocumentRoot "D:/sae/wwwroot/youbbs/1" <Directory "D:/sae/wwwroot/youbbs/1"> Options FollowSymLinks IncludesNOEXEC Indexes DirectoryIndex index.html index.htm default.htm index.php default.php index.cgi default.cgi index.shtml index.aspx default.aspx AllowOverride all Order Deny,Allow Allow from all php_admin_value open_basedir "D:/sae/wwwroot/youbbs/1/;C:/APMServ/tmp/uploadtemp/;" RewriteEngine on RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) RewriteRule . - [F] php_admin_value safe_mode On </Directory> </VirtualHost> 0 ego008 2012-12-23 03:07 我用 APMServ 还能支持rewrite、Memcached 0
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
12/22/12 20:06:10
Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1
原因是你没有把youbbs直接安装在htdoc文件夹上,也就是说你要把youbbs文件夹上的东西全复制出来到htdoc里。
@杨杨杨 可以在本地环境配置一个虚拟主机,如
修改host 把sae.youbbs.com 指向127.0.0.1
修改Apache配置,添加虚拟主机信息,类似:
<VirtualHost :80>
ServerName sae.youbbs.com
DocumentRoot "D:/sae/wwwroot/youbbs/1"
<Directory "D:/sae/wwwroot/youbbs/1">
Options FollowSymLinks IncludesNOEXEC Indexes
DirectoryIndex index.html index.htm default.htm index.php default.php index.cgi default.cgi index.shtml index.aspx default.aspx
AllowOverride all
Order Deny,Allow
Allow from all
php_admin_value open_basedir "D:/sae/wwwroot/youbbs/1/;C:/APMServ/tmp/uploadtemp/;"
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule . - [F]
php_admin_value safe_mode On
</Directory>
</VirtualHost>
我用 APMServ 还能支持rewrite、Memcached