httpd.conf
|
|
The topic of this article may not meet Wikipedia's general notability guideline. Please help to establish notability by adding reliable, secondary sources about the topic. If notability cannot be established, the article is likely to be merged, redirected, or deleted. (September 2011) |
| This article relies on references to primary sources or sources affiliated with the subject, rather than references from independent authors and third-party publications. Please add citations from reliable sources. (September 2011) |
httpd.conf is a configuration file which is used by the Apache HTTP Server. It stores information on various functions of the server, which can be edited by removing or adding a number sign "#" at the beginning of the line, thus setting values for each directive.
The httpd.conf file can be located on any UNIX-based system that complies with the Filesystem Hierarchy Standard under the following path: /etc/httpd/httpd.conf.
This file, httpd.conf was once used in Microsoft's Internet Information Services
There is a module, invented and originally written in April 1996, called mod_rewrite that is designed to provide a rule-based rewriting engine, based on a regular expression parser, to rewrite requested URLs on the fly. This module operates on the full URLs (including the path-info part) both in per-server context (httpd.conf) and per-directory context (.htaccess) and can generate query string parts on result. The rewritten result can lead to internal sub-processing, external request redirection or to an internal proxy throughput. It has been described as "voodoo," and Brian Behlendorf of the Apache Group has said, "The great thing about mod_rewrite is it gives you all the configurability and flexibility of Sendmail. The downside to mod_rewrite is that it gives you all the configurability and flexibility of Sendmail."[1]
[edit] Commands
The RewriteRule, RewriteCond and alias commands can be used to configure URLs. The latter command is simpler and more reliable. However, it may require root access
[edit] References
[edit] External links
| This software article is a stub. You can help Wikipedia by expanding it. |