简体   繁体   English

位于Linux Red Hat中的“.htaccess”apache文件在哪里?

[英]Where is “.htaccess” apache file located in Linux Red Hat?

有没有人知道我在linux red hat 5中安装后.htaccess文件位于何处?

There is no .htaccess file that's installed. 没有安装.htaccess文件。 You will have a global config file for Apache, which is in /etc/httpd/conf/httpd.conf on RedHat (see http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/4/html/Reference_Guide/s1-apache-config.html ). 您将拥有Apache的全局配置文件,该文件位于RedHat上的/etc/httpd/conf/httpd.conf中(请参阅http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/4/html/Reference_Guide /s1-apache-config.html )。 On the other hand, .htaccess files are something you create on a per-directory basis where the actual web files live. 另一方面,.htaccess文件是您在每个目录的基础上创建的,其中实际的Web文件存在。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM