04-24-2002
The only change I would make would be to put the filename strings inside double quotes:
SetEnvIf Request_URI "\.bmp" image-request
your syntax appears to be correct otherwise.
10 More Discussions You Might Find Interesting
1. IP Networking
I have found in the httpd.conf where it it states the default parse pages like index.htm, index.html, index.php and etc....However, my computer box does not seem to want to automatically load the index.php files. Anyone have any ideas? (5 Replies)
Discussion started by: macdonto
5 Replies
2. UNIX for Dummies Questions & Answers
I have just configured httpd.conf on a new Redhat 9 install. Below are my additions to httpd.conf. Everything works fine except that when typing http://spetnik.d2g.com into my web browser, I am sent to the "Default catch all" site. Any clues?
NameVirtualHost *:80
#Default catch all ... (5 Replies)
Discussion started by: Spetnik
5 Replies
3. Ubuntu
Hi everybody,
I have installed Apache 2 + Tomcat 5.5. on Ubuntu 7.04 and the default httpd.conf is empty (0 lines), however there is a file called apache2.conf that looks like a default httpd.conf.
I didn't use Apache in ages, since 1.3.x release, but I remember that the httpd.conf by default... (2 Replies)
Discussion started by: sspirito
2 Replies
4. UNIX for Dummies Questions & Answers
Hi ,
Need to add a following line to many webserver configuration .
ie. Need to make following entry in "LimitRequestLine 4000" in httpd.conf.
Any ideas welcome
Regards,
logic0 (2 Replies)
Discussion started by: logic0
2 Replies
5. Web Development
I'd like to know if servername in apache httpd.conf is the machine name or domain name. If it is domain name like example.com, should it be registered before in use? (1 Reply)
Discussion started by: yzhang738
1 Replies
6. Red Hat
Hi, I was wondering if someone could help me out here. I am super-paranoid, so am trying to limit what PHP files can be executed on this server. I have a small list of files that I want to allow. The rest, deny. So I have base rule that denies all php files server-wide: order allow,deny ... (0 Replies)
Discussion started by: Lobster
0 Replies
7. Red Hat
Hi, I was wondering if someone could help me out here. I am super-paranoid, so am trying to limit what PHP files can be executed on this server. I have a small list of files that I want to allow. The rest, deny:
<Files ~ "\.(php|php3)$">
order allow,deny
deny from all
</Files>
I... (0 Replies)
Discussion started by: Lobster
0 Replies
8. UNIX for Dummies Questions & Answers
What is the command to see what httpd.conf file is apache using. Apache is started. (1 Reply)
Discussion started by: galford
1 Replies
9. Shell Programming and Scripting
Hello Guys !!
wanted to use SED to pull cout the full vertualhost entry for domain which is specified from command line
Like (IP base httpd.conf)
domain="ServerName takemewithyou.in"
sed -n '/<VirtualHost* $domain/,/<\/VirtualHost>/p' httpd.conf
File can take to test is below
... (0 Replies)
Discussion started by: SilvesterJ
0 Replies
10. Red Hat
hi
is it possible ?
explain tome about below items
StartServers 8
MinSpareServers 10
MaxSpareServers 20
ServerLimit 4000
MaxClients 4000
MaxRequestsPerChild 4000
this is my servers 8gig ram & cpu 12 core...
what cann i putting in order this ?
tnx (1 Reply)
Discussion started by: mnnn
1 Replies
LEARN ABOUT OPENSOLARIS
unifdef
unifdef(1) User Commands unifdef(1)
NAME
unifdef - resolve and remove ifdef'ed lines from C program source
SYNOPSIS
unifdef [-clt] [-Dname] [-Uname] [-iDname] [-iUname] ...
[filename]
DESCRIPTION
unifdef removes ifdefed lines from a file while otherwise leaving the file alone. It is smart enough to deal with the nested ifdefs, com-
ments, single and double quotes of C syntax, but it does not do any including or interpretation of macros. Neither does it strip out com-
ments, though it recognizes and ignores them. You specify which symbols you want defined with -D options, and which you want undefined with
-U options. Lines within those ifdefs will be copied to the output, or removed, as appropriate. Any ifdef, ifndef, else, and endif lines
associated with filename will also be removed.
ifdefs involving symbols you do not specify are untouched and copied out along with their associated ifdef, else, and endiff1 lines.
If an ifdefX occurs nested inside another ifdefX, then the inside ifdef is treated as if it were an unrecognized symbol. If the same symbol
appears in more than one argument, only the first occurrence is significant.
unifdef copies its output to the standard output and will take its input from the standard input if no filename argument is given.
OPTIONS
The following options are supported:
-c Complement the normal operation. Lines that would have been removed or blanked are retained, and vice versa.
-l Replace ``lines removed'' lines with blank lines.
-t Plain text option. unifdef refrains from attempting to recognize comments and single and double quotes.
-Dname Lines associated with the defined symbol name.
-Uname Lines associated with the undefined symbol name.
-iDname Ignore, but print out, lines associated with the defined symbol name. If you use ifdefs to delimit non-C lines, such as comments
or code which is under construction, then you must tell unifdef which symbols are used for that purpose so that it will not try
to parse for quotes and comments within them.
-iUname Ignore, but print out, lines associated with the undefined symbol name.
EXIT STATUS
The following exit values are returned:
0 Successful operation.
1 Operation failed.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWbtool |
+-----------------------------+-----------------------------+
SEE ALSO
diff(1), attributes(5)
DIAGNOSTICS
Premature EOF Inappropriate else or endif.
SunOS 5.11 14 Jan 1992 unifdef(1)