Solved

Apache - srm.conf

Posted on 1998-11-30
4
616 Views
Last Modified: 2012-06-27
Where is the srm.conf file for Apache?
0
Comment
Question by:Theophilus
  • 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

831 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