程序要开启虚拟主机
将httpd.conf中的LoadModule vhost_alias_module modules/mod_vhost_alias.so和
Include conf/extra/httpd-vhosts.conf前面的#号去掉
然后在httpd-vhosts.conf中添加如下内容.然后重启apache服务器
<VirtualHost *:80>
DocumentRoot D:/projects/guestbook
ServerName test.guestbook
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} ^/.+\.php$ [NC]
RewriteRule . - [R=404,L]
RewriteRule \.php /index.php [L]
RewriteRule !\. /index.php [L]
<directory "D:/projects/guestbook">
allow from all
</directory>
</VirtualHost>
管理员:username:admin password:administrator
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
guestbook.rar (96个子文件)
guestbook
index.php 112B
view
index.phtml 776B
register.phtml 331B
admin
index.phtml 449B
login.phtml 406B
writable
cache
config
compiled
%%34^347^347A6ED9%%index.phtml.php 1KB
%%8D^8D2^8D2AA624%%index.phtml.php 913B
%%79^799^7993E126%%login.phtml.php 549B
%%10^10B^10B12AB7%%register.phtml.php 438B
model
mMessage.php 2KB
mUser.php 2KB
mBase.php 36B
controller
Front.php 2KB
Message.php 800B
User.php 2KB
admin
Admin.php 2KB
Index.php 642B
Controller.php 2KB
config
config.php 665B
tools
tSmarty.php 986B
readme.txt 655B
guestbook.sql 2KB
data
dBase.php 3KB
dMessage.php 1KB
dUser.php 1KB
lib
debug.tpl 3KB
internals
core.create_dir_structure.php 2KB
core.write_compiled_include.php 3KB
core.get_microtime.php 360B
core.assign_smarty_interface.php 1KB
core.write_file.php 1KB
core.write_cache_file.php 4KB
core.load_resource_plugin.php 2KB
core.rmdir.php 1KB
core.load_plugins.php 4KB
core.get_include_path.php 1002B
core.is_trusted.php 1KB
core.write_compiled_resource.php 1KB
core.run_insert_handler.php 3KB
core.process_cached_inserts.php 2KB
core.process_compiled_include.php 1011B
core.read_cache_file.php 4KB
core.get_php_resource.php 2KB
core.rm_auto.php 2KB
core.smarty_include_php.php 2KB
core.is_secure.php 2KB
core.assemble_plugin_filepath.php 2KB
core.display_debug_console.php 2KB
Smarty_Compiler.class.php 90KB
Smarty.class.php 62KB
plugins
modifier.string_format.php 579B
function.html_options.php 4KB
modifier.nl2br.php 717B
modifier.truncate.php 1KB
function.html_image.php 5KB
modifier.strip.php 742B
modifier.cat.php 623B
modifier.date_format.php 2KB
modifier.capitalize.php 1KB
modifier.upper.php 481B
shared.escape_special_chars.php 774B
modifier.replace.php 585B
shared.make_timestamp.php 1KB
function.html_radios.php 5KB
modifier.lower.php 481B
function.eval.php 1014B
modifier.regex_replace.php 989B
modifier.wordwrap.php 613B
function.html_select_time.php 7KB
modifier.indent.php 567B
function.popup.php 3KB
function.popup_init.php 979B
function.html_select_date.php 12KB
function.mailto.php 5KB
modifier.debug_print_var.php 3KB
modifier.count_paragraphs.php 630B
modifier.strip_tags.php 676B
modifier.escape.php 3KB
function.counter.php 2KB
compiler.assign.php 1KB
modifier.count_characters.php 743B
modifier.spacify.php 644B
function.math.php 3KB
modifier.default.php 635B
function.assign_debug_info.php 1KB
function.cycle.php 3KB
function.fetch.php 9KB
modifier.count_sentences.php 653B
outputfilter.trimwhitespace.php 3KB
modifier.count_words.php 751B
function.html_table.php 5KB
function.debug.php 835B
function.html_checkboxes.php 4KB
function.config_load.php 6KB
block.textformat.php 3KB
Config_File.class.php 12KB
共 96 条
- 1
资源评论
sunny5211
- 粉丝: 7
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功