惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

云风的 BLOG
云风的 BLOG
P
Privacy International News Feed
Vercel News
Vercel News
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
博客园 - 叶小钗
F
Fortinet All Blogs
Security Archives - TechRepublic
Security Archives - TechRepublic
L
LINUX DO - 最新话题
AWS News Blog
AWS News Blog
Engineering at Meta
Engineering at Meta
Attack and Defense Labs
Attack and Defense Labs
Recent Announcements
Recent Announcements
Recent Commits to openclaw:main
Recent Commits to openclaw:main
PCI Perspectives
PCI Perspectives
Cloudbric
Cloudbric
AI
AI
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
IT之家
IT之家
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
J
Java Code Geeks
M
MIT News - Artificial intelligence
Cisco Talos Blog
Cisco Talos Blog
V2EX - 技术
V2EX - 技术
Webroot Blog
Webroot Blog
Microsoft Security Blog
Microsoft Security Blog
Cyberwarzone
Cyberwarzone
博客园 - 聂微东
G
Google Developers Blog
W
WeLiveSecurity
罗磊的独立博客
P
Privacy & Cybersecurity Law Blog
阮一峰的网络日志
阮一峰的网络日志
A
About on SuperTechFans
WordPress大学
WordPress大学
The GitHub Blog
The GitHub Blog
T
Tailwind CSS Blog
V
Visual Studio Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
S
Secure Thoughts
Apple Machine Learning Research
Apple Machine Learning Research
Hugging Face - Blog
Hugging Face - Blog
Google DeepMind News
Google DeepMind News
Google DeepMind News
Google DeepMind News
雷峰网
雷峰网
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
F
Full Disclosure
Blog — PlanetScale
Blog — PlanetScale
The Last Watchdog
The Last Watchdog
P
Proofpoint News Feed

博客园 - 系咪噶

[JAVA基础]流文件读写文件编码转换 最近转战东软 apache 新建虚拟机 +Zend Framework建立 php基础教程之PHP面向对象技术(全面讲解) 今日无事,将一同志之毕设完结 SQL查询基本练习1:(作业) SQL Server 高级应用(周六讲座) 面向对象之CoreJava(第一课) CVS的使用(一课时) PL/SQL第三课(学习笔记) PL/SQL第二课(作业) PL/SQL第二课(学习笔记) PL/SQL第一课(学习笔记) Oracle第五课(学习笔记) Oracle第四课(学习笔记) 全步骤安装mysql SQL Server 存储过程的分页 无法连接到Visual Studio 的Localhost Web服务器 Oracle第三课(学习中笔记)
Apache + php 配置
系咪噶 · 2009-07-07 · via 博客园 - 系咪噶

      1、下载apache与php

            apache 下载地址 http://apache.etoak.com/httpd/binaries/win32/apache_2.0.63-win32-x86-no_ssl.msi

            php 下载地址 http://cn2.php.net/distributions/php-5.3.0.tar.bz2

      2、安装apache      

            next->next->next .....

            填写三内容 包括email

      3、安装php

            解压缩下载的php-5.2.0-Win32.zip

      4、apache接入php

            1、添加变量 path="php安装路径";

            2、conf/httpd.conf 更改内容

            LoadModule php5_module "php安装路径/php5apache2.dll"
            AddType application/x-httpd-php .php

            3、php.ini-dist或php.ini-recommended 更名为php.ini 拷贝在apache目录下

            4、重新启动apache

      5、test

      OTHERS

      httpd.conf 配置虚拟路径

      Alias /mp4/ “/mylovemusic/”                                    #mp4:是虚拟目录的名称,/mylovemusic/是真正目录
      <Directory “/mylovemusic/”>
            Options Indexes MultiViews
            AllowOverride AuthConfig                                     #为None 时为不用有身份验证
            AuthName “please input your name and passwd”
            AuthType Basic
            AuthUserFile   /mylovemusic/.htpasswd                  #验证用户名和密码的配置文件
            AuthGroupFile /mylovemusic/.htgroup                    #验证用户组的配置文件
            Require group gdlcgroup                                      #许可GDLCGROUP用户组登陆
            Require user   gdlc                                             #许可gdlc用户登陆
            Allow from 10.0.2.0/24                                        #许可10.0.2.0/24网内登陆 为all 时是许可所有
      </Directory>
      1,创建验证用户
            htpasswd -c /var/www/html/.htpasswd 用户名
            创建验证用户组
            cd /var/www/html/
            vi .htgroup
            gdlcgroup; jake gdlc
      2,在/var/www/html/ 下创建 .htaccess认证文件
            AuthName “please input name&passwd”
            AuthType Basic
            AuthUserFile /var/www/html/.htpasswd
            AuthGroupFile /var/www/html/.htgroup
            Require group gdlcgroup                                     #接收组内所有信息
            Require user jake                                              #接收jake这个用户