摘要: ubuntu apache2配置1.apache2.conf 是主配置文件,httpd.conf 用户配置文件 2.虚拟目录在 httpd.conf 中 <VirtualHost *> DocumentRoot "路径" ServerName 名称 <Direc×y "路径"> allow from all Options +Indexes </Direc×y> </VirtualHost> 3.根设置(默认主目录)在 /etc/apache2/sites-available/defau 阅读全文
posted @ 2012-05-15 21:48 简单的执着_俊 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 考虑到前不久在这儿测试Wordpress主题的惨痛经历,俺决定自己建一个web平台来先在本机测试本来想在openSUSE中安装,但想想apt-get这几键俺按得比较多,就先在Ubuntu中下手 按照 Unofficial Ubuntu 6.06 (Dapper Drake) Linux Starter Guide的步骤来一、安装Apache2 sudo apt-get install apache2 然后在Firefox中打开: http://localhost/ 提示成功二、安装PHP5 sudo apt-get install php5 sudo apt-get install libap 阅读全文
posted @ 2012-05-15 21:44 简单的执着_俊 阅读(483) 评论(0) 推荐(0) 编辑
摘要: 1 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> 2 3 <%@ Register Src="ChapterCourseware.ascx" TagName="ChapterCourseware" TagPrefix="uc2" %> 4 5 <head runat="se 阅读全文
posted @ 2012-05-15 13:44 简单的执着_俊 阅读(932) 评论(0) 推荐(0) 编辑
摘要: 最近做一个项目需要点击列名进行排序功能,并且要在分页后还能排序。自己琢磨这就写了一个,废话不多说贴出效果图如图可以点击列名进行排序,点击第一下为升序第二下则为降序说下实现思路1 gridview自带的有排序功能,但如果是自己绑定数据源的话就不怎么好用了所以我们要自己写上排序事件<asp:GridView ID="GvList" runat="server" AutoGenerateColumns="False" onrowdatabound="GvList_RowDataBound" Width=" 阅读全文
posted @ 2012-05-15 11:48 简单的执着_俊 阅读(993) 评论(0) 推荐(0) 编辑