?
Solved

Apache - srm.conf

Posted on 1998-11-30
4
Medium Priority
?
641 Views
Last Modified: 2012-06-27
Where is the srm.conf file for Apache?
0
Comment
Question by:Theophilus
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 1

Accepted Solution

by:
squimph earned 40 total points
ID: 1638648
If you installed a recent version of apache for Unix (1.3.0 or later) and kept the default file locations, srm.conf is in the directory /usr/local/apache/conf/

Older versions of apache have a default location of /usr/local/etc/httpd/conf/

The windows apache prefers to stick .conf files in c:\program fles\apache group\apache\conf\
0
 
LVL 1

Author Comment

by:Theophilus
ID: 1638649
I'm afraid it's in none of those locations. I have S.u.S.E Linux 5.2.0-5 and the version of Apache that came with it. The directory /usr/local/apache/ doesn't exist. The directory /usr/local/etc/httpd/ does but the only subdirectories are cgi-bin, htdocs and icons.



   Older versions of apache have a default location of conf/
0
 
LVL 1

Expert Comment

by:squimph
ID: 1638650
Ah, I see... then SUSE has modified their installation of Apache from the defaults. In that case you can try 'man apache' ... often Linux distributions will customize man pages and list their chosen file locations, or if all else fails there is always the find command:

find / -name srm.conf -print

.but the above will slow your system while it runs.

It's also possible that SUSE has further customized their version of Apache to not have an srm.conf (it's possible to combine httpd.conf, access.conf and srm.conf into one big httpd.conf). So if you find only an httpd.conf on your system, look inside it for commands like AddIcon or DefaultType which are traditionally found in the srm.conf
0
 
LVL 1

Author Comment

by:Theophilus
ID: 1638651
Thank you. I found it using the find command. it was in /etc/httpd/
0

Featured Post

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month9 days, 9 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question