Solved

Apache - srm.conf

Posted on 1998-11-30
4
625 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 10 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

740 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