apache Setting on ubuntu
2016-06-12 01:26
363 查看
打开服务:sudo a2enmod rewrite
检查是否打开:apache2ctl -M | grep rewrite
重启服务:service apache2 restart
DocumentRoot设置:/etc/apache2/sites-available/000-default.conf
DocumentRoot /home/ubuntu/ExecSearch/public
<Directory "/home/ubuntu/ExecSearch/public">
AllowOverride All
</Directory>
检查是否打开:apache2ctl -M | grep rewrite
重启服务:service apache2 restart
DocumentRoot设置:/etc/apache2/sites-available/000-default.conf
DocumentRoot /home/ubuntu/ExecSearch/public
<Directory "/home/ubuntu/ExecSearch/public">
AllowOverride All
</Directory>
相关文章推荐
- Ubuntu下安装php7后无法启动Apache
- bug:ERROR org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode: Exception in doCheckpoint
- Python:统计Apache进程占用的物理内存比
- Ubuntu 14.04 Web服务器,Apache的安装和配置
- Apache的对象池化工具commons-pool
- JAVA利用Apache Poi读取Excel文件
- apache 虚拟主机配置
- apache 开启 url_rewrite
- apache+php环境,时遇到php5ts.dll错误
- centos7下安装Apache
- kylin cube测试时,报错:org.apache.hadoop.security.AccessControlException: Permission denied: user=root, access=WRITE, inode="/user":hdfs:supergroup:drwxr-xr-x
- .htaccess Rewrite apache重写和配置
- ant安装使用指南
- Caused by: org.xml.sax.SAXParseException; systemId: file:/opt/apache-nutch-2.2.1/runtime/local/conf/
- 用eclips连hadoop报Unknown protocol to job tracker: org.apache.hadoop.hdfs.protocol.ClientProtoco
- apache+mysql+php实现最大负载的方法
- Ubuntu下Apache配置SSL笔记
- apache目录浏览
- Win7如何部署apache服务器(包括SSL设置)
- linux下SVN+apache搭建