Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

redirect from a file

Status
Not open for further replies.

kaancho12

Technical User
Feb 22, 2005
191
i have about 100 redirects setup in httpd.conf file and to avoid it from being a pain is it possible for the redirects to be entered in a file and then read those from httpd.conf when the server restarts?
thanks
i am running apache 2.0 on RH linux 9 (ES)
 
You should be able to use the Include directive to tell Apache to include an external file in its httpd.conf.

Just place the directive in the spot you want the file contents to appear. The directive is in the format Include path/to/filename.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top