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
Solved

Apache - srm.conf

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Weird Samba Connectivity Issue... 7 52
CentOS/RHEL 7 Linux maillog worldwide readable 2 88
Linux haproxy: stop temporary haproxy service 9 47
centos linux 65 155
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…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
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.:

840 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