访问首页的时候,路径时没有的,magneto会获取站点的默认路径Mage_Core_Controller_Varien_Router_Standard::match if ($path) { $p = explode('/', $path); } else { $p = explode('/', $...
分类:
其他好文 时间:
2015-06-20 11:52:21
阅读次数:
126
我自己随便写了个MVC网站,能够 在vs2010里直接运行。但是加到IIS里之后却显示403.14错误,说是服务器没有启动“目录浏览”或没指定默认的文件。当然,我没有必要启动“目录浏览”,又因为MVC是由router来控制的,我也没有必要指定其它的默认文件。我看了看C:\Windows\System...
分类:
Web程序 时间:
2015-06-18 00:38:32
阅读次数:
125
restfull路由如下:router.get('/:id', controller.show);mongoes代码如下:exports.show = function(req, res) { Notice.findById(req.params.id, function (err, notice....
分类:
其他好文 时间:
2015-06-17 16:35:08
阅读次数:
204
今天还是来说一下angular中的路由模块。我们实际项目中,各个页面的切换是经常会与Auth相关的。比如我网站的后台,是需要登录过的用户才能进去,那么我们用angularJS做前端路由的时候应该怎么完成这个功能呢--------------------------------------------...
分类:
其他好文 时间:
2015-06-15 11:08:37
阅读次数:
117
$stateservice in module ui.router.state Description$state service is responsible for representing states as well as transitioning between them. It als...
分类:
其他好文 时间:
2015-06-15 10:47:23
阅读次数:
379
router> enable从用户模式进入特权模式router# disable or exit从特权模式退出到用户模式router# show sessions查看本机上的TELNET会话router# disconnect关闭所有的TELNET会话router# show users查看本机上的...
分类:
其他好文 时间:
2015-06-09 23:21:35
阅读次数:
180
【资料整理】cisco[cli,static,rip,eigrp,ospf]3.CLI
{
1)设定密码、接口IP地址
router>
router>enable
router#
router#configureterminal
router(config)#hostnameA
A(config)#enablesecretAPwd
A(config)#interfacefastEthernet0/1
A(config-if)#ipaddress10.1.1.1255..
分类:
系统相关 时间:
2015-06-09 17:50:54
阅读次数:
143
【资料整理】cisco[OSI,IPAddress,NetworkSegment,SubnetMask]###Concept###
----------------------
from20110712to20110716
1.Networksegment
{
router;
switch;
bridge;
}
2.LANblocks
{
broadcastdomain;
broadcaststorm;
multicast;
lowbrandwidth;
}
3.benefitsoft..
分类:
Web程序 时间:
2015-06-09 17:49:15
阅读次数:
141
【资料整理】cisco[shell,command]PromotMode
{
UserMode:
Router>(input:enable)
PrivilegeMode:
Router#(input:conft)
GlobalConfigMode:
Router(config)#
----Ctrl-Z->PM,Exit->GCM
Interface:
Router(config-if)#
Sub-interface:
Router(config-subif)#
..
分类:
系统相关 时间:
2015-06-09 17:49:05
阅读次数:
168