LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 02-09-2006, 06:45 AM   #1
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

Rep: Reputation: 31
Should I include srm.conf in httpd.conf in apache2?


Hi!
I've just mirrored an old server working with apache 1.3 to a new server working with apache2. Now I'm trying to take configuration elements from the old httpd.conf (apache 1.3) to put it in the httpd.conf of apache2. In apache1.3's http.conf there is a part called srm.conf. Can I just copy it in order to save time or should I copy each part (for example: Alias, Redirect, RedirectPermanent...) of it into the correct part of the new httpd.conf?

Transfering the infos from the old to the new httpd.conf is quite complicated because I've to be careful not to forget anything. Is there any easy to do it (when someone make an upgrade from apache1 to 2 for example)?

Thanks.
 
Old 02-10-2006, 06:21 PM   #2
kg4ysy
Member
 
Registered: May 2005
Location: North Carolina
Distribution: Gentoo
Posts: 123

Rep: Reputation: 19
When I reinstalled my system, I tried just copying the file directly into the new config file. Apache refused to run for me. I'm not saying that it won't work, it just didn't work for me. If you figure it out, I would really like to know.
 
Old 02-10-2006, 06:25 PM   #3
dmusulin
LQ Newbie
 
Registered: May 2005
Location: Netherlands,Haarlem
Distribution: debian Sarge, OpenBSD FreeBSD
Posts: 17

Rep: Reputation: 0
some options are diffrent like php config of apache 1.3 and apache 2
(not sure but 50-50) so guess it won't work)
 
Old 02-16-2006, 09:16 AM   #4
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by kg4ysy
When I reinstalled my system, I tried just copying the file directly into the new config file. Apache refused to run for me. I'm not saying that it won't work, it just didn't work for me. If you figure it out, I would really like to know.
sorry I had a lot of problems with apache and couldn't make it run (but for some other reasons).

The include of srm.conf works. Here more explanations:
http://httpd.apache.org/docs/2.0/upgrading.html
Quote:
The AccessConfig and ResourceConfig directives no longer exist. Existing instances of these directives can be replaced with the Include directive which has equivalent functionality. If you were making use of the default values of these directives without including them in the configuration files, you may need to add Include conf/access.conf and Include conf/srm.conf to your httpd.conf. In order to assure that Apache reads the configuration files in the same order as was implied by the older directives, the Include directives should be placed at the end of httpd.conf, with the one for srm.conf preceding the one for access.conf.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apache2 complains 'sysconfig.d/include.conf' not found tacca Linux - Software 1 03-24-2011 10:23 AM
Httpd.conf And Httpd2.conf ???? alejandroye Linux - General 2 11-07-2004 01:23 AM
httpd.conf & ssl.conf kevinm2 Linux - Security 12 08-31-2004 02:25 PM
saving changes to apache2/conf/httpd.conf file Zaius Linux - Newbie 6 01-10-2004 12:45 AM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 11:32 PM


All times are GMT -5. The time now is 03:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration