杨杨杨 avatar

关于youbbs本地安装

🕐 by 杨杨杨

不知道有没有同学本地安装youbbs时会不会出现如下状况:

💘 相关文章

评论

共3条关于"关于youbbs本地安装"的评论

杨杨杨 avatar
#1 杨杨杨 回复

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里。

ego008 avatar
#2 ego008 回复

@杨杨杨 可以在本地环境配置一个虚拟主机,如 修改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>

ego008 avatar
#3 ego008 回复

我用 APMServ 还能支持rewrite、Memcached

写一条评论

Based on Golang + fastHTTP + sdb | go1.17.3 Processed in 0ms