Questions tagged «ubuntu»

4
如何在Ubuntu上的Apache中启用.htaccess?
我试图在Ubuntu 14.04(Apache 2.4.7)中启用htaccess文件的使用。我知道这个问题有很多重复的地方,但是没有一个帮助我。 .htaccess ErrorDocument 404 /404.html 000-default.conf <VirtualHost *:80> AccessFileName .htaccess ServerAdmin webmaster@localhost DocumentRoot /var/www ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined <Directory /var/www/> Options Indexes FollowSymLinks Includes AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> 还需要什么?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.