dmin.php 作弊后台,Lesson2 drupal7入门,drupal后台密码取回,httdp.conf伪静态,php.ini,phpmyadmin的介绍和配置...

本课内容:

关于伪静态:

Use URLs like   example.com/user/aa

instead of     example.com/?q=user&sfasd

httpd.conf

LoadModule rewrite_module modules/mod_rewrite.so

Options -Indexes FollowSymLinks    //index前加一横,这样就禁止目录浏览了

AllowOverride All

DirectoryIndex index.html index.html.var

-------------

php.ini

extension=php_pdo.dll ---开启这个扩展,就是把前面的分号去掉就可以了。

---------

file_uploads = On must be set to "On"

upload_max_filesize = 24M   can't be larger than post_max_size

post_max_size = 24M limits the size of input submitted to the website (including attached files)

max_input_time = 300 small values may cause timeouts for large file uploads

memory_limit = 64M small values may cause out of memory errors for large file uploads

max_execution_time = 180 small values may cause timeouts for large file uploads

============

phpmyqdmin

/libraries/config.default.php

$cfg['ExecTimeLimit'] = 900;

$cfg['LoginCookieValidity'] = 14400000;

cfg['Servers'][$i]['AllowNoPassword'] = false;

-------------

后台密码找回:

可以添加一个用户,得到一个密码

admin 的加密是 :

$S$DWFcaSn1MP3c/K43oxB8O3CPL5HDM.4Br5g7UCAorhp2txVXhQC3

如果密码锁住了,要清空flood表。是清空,可不是删除。

Drupal错误报告:

https://drupal.org/SA-CORE-2013-003

C:/WINDOWS/Temp 下编辑 .htaccess

-----------------

xampp:

windows XP下XAMPP不能运行Apache

是缺少VC9运行时库(Microsoft Visual C++ 2008 Redistributable Package (x86) )vcredist_x86.exe,下载安装即可。下载地址:http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值