ubuntu apache2 配置问题
2007-05-30 13:49
344 查看
1.apache2.conf 是主配置文件,httpd.conf 用户配置文件
2.虚拟目录在 httpd.conf 中
3.根设置(默认主目录)在
4.重启命令
2.虚拟目录在 httpd.conf 中
<VirtualHost *> DocumentRoot "路径" ServerName 名称 <Directory "路径"> allow from all Options +Indexes </Directory> </VirtualHost>
3.根设置(默认主目录)在
/etc/apache2/sites-available/default
4.重启命令
sudo /etc/init.d/apache2 restart或者
cd /etc/init.d sudo apache2 -k restart stop 停止;start 启动5.日志文件在 /var/log/apache2/
相关文章推荐
- UBUNTU Apache2的配置文件httpd.conf问题
- ubuntu apache2的配置问题
- Ubuntu安装配置记5(TOMCAT6 ,APACHE2优化,常见问题处理)
- ubuntu14.04 配置opencv249种种问题记录
- Ubuntu10.04上apache2: bad user name ${APACHE_RUN_USER}问题解决
- ubuntu配置apache2的nginx的转发
- Ubuntu-server 下Apache2 配置.htaccess 隐藏thinkPHP项目index.php
- Ubuntu 16.04 + GTX970 + cuda8.0.44安装配置等问题
- ubuntu下安装配置minicom(解决默认的端口/dev/tty8,改不过来的问题)
- Ubuntu下安装和配置Apache2
- ubuntu16.04下配置apache2与php
- Ubuntu14.04配置OpenCL版本caffe (AMD显卡)---- 问题总结(持续更新)
- Ubuntu 配置Apache2虚拟目录及对应端口
- Ubuntu下安装和配置Apache2
- ubuntu 12.04 apache2利用gnupg安装配置及加密邮件示例
- Eclipse CDT配置c++标准库目录(includes的问题)(Ubuntu 11.10)
- ubuntu apache2配置详解
- apache2配置杂记--再次冲击Ubuntu之server篇
- 在ubuntu16.04下安装Anaconda配置TensorFlow-GPU+MNIST: Resource exhausted: OOM的问题解决