You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Pravinkumar_Shivakumar <Pr...@Satyam.com> on 2002/03/11 07:14:39 UTC

Files directive

Hi all,

Can I use a space seperated list of files in the Files directive within
HTTPD.conf,say like 

<Files file1.txt file2.txt file3.txt>
	.............
	.............
	............

</Files>

or am I restricted to a single file.


regards,
Pravin Kumar S

************************************************************************** 
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Files directive

Posted by Daniel Lopez <da...@rawbyte.com>.
Try <FilesMatch (file1.txt|file2.txt|file3.txt)>

Daniel

> Hi all,
> 
> Can I use a space seperated list of files in the Files directive within
> HTTPD.conf,say like 
> 
> <Files file1.txt file2.txt file3.txt>
> 	.............
> 	.............
> 	............
> 
> </Files>
> 
> or am I restricted to a single file.
> 
> 
> regards,
> Pravin Kumar S
> 
> ************************************************************************** 
> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
> distribution or forwarding of any or all of the contents in this message is
> STRICTLY PROHIBITED. If you are not the intended recipient, please contact
> the sender by email and delete all copies; your cooperation in this regard
> is appreciated.
> **************************************************************************
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


apxs: error

Posted by pan <pa...@halcyonsoft.com>.
Hi ,

I installed apache 2.0.32 on redhat 7.2. and I generated mod_foo.c using apxs, but
the mod_foo.c was compiled failure. please Help !!!.

[root@redhat7 bin]# ./apxs -g -n foo
Creating [DIR]  foo
Creating [FILE] foo/Makefile
Creating [FILE] foo/modules.mk
Creating [FILE] foo/mod_foo.c
Creating [FILE] foo/.deps

[root@redhat7 foo]# ../apxs -o mod_foo.so -i -c mod_foo.c
/home/panxin/apache/build/libtool --silent --mode=compile gcc -prefer-pic
-DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -D_SVID_SOURCE -g -O2 -pthread -I/home/panxin/apache/include  -c -o
mod_foo.lo mod_foo.c && touch mod_foo.slo /home/panxin/apache/build/libtool
--silent --mode=link gcc -o mod_foo.so -rpath

/home/panxin/apache/modules -module -avoid-version   mod_foo.lo
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function `_start':
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18): undefined
reference to `main'
mod_foo.o: In function `foo_handler':
/home/panxin/apache/bin/foo/mod_foo.c:54: undefined reference to `ap_rputs'
mod_foo.o: In function `foo_register_hooks':
/home/panxin/apache/bin/foo/mod_foo.c:60: undefined reference to `ap_hook_handler'

collect2: ld returned 1 exit status
apxs:Error: Command failed with rc=65536

Thanks
Pan

apxs: error

Posted by pan <pa...@halcyonsoft.com>.
Hi ,

I installed apache 2.0.32 on redhat 7.2. and I generated mod_foo.c using apxs,
but the mod_foo.c was compiled failure. please Help !!!.

[root@redhat7 bin]# ./apxs -g -n foo
Creating [DIR]  foo
Creating [FILE] foo/Makefile
Creating [FILE] foo/modules.mk
Creating [FILE] foo/mod_foo.c
Creating [FILE] foo/.deps

[root@redhat7 foo]# ../apxs -o mod_foo.so -i -c mod_foo.c
/home/panxin/apache/build/libtool --silent --mode=compile gcc -prefer-pic
-DAP_
HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500
-D_BSD_SO
URCE -D_SVID_SOURCE -g -O2 -pthread -I/home/panxin/apache/include  -c -o
mod_foo
.lo mod_foo.c && touch mod_foo.slo
/home/panxin/apache/build/libtool --silent --mode=link gcc -o mod_foo.so -rpath

/home/panxin/apache/modules -module -avoid-version   mod_foo.lo
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function `_start':
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18): undefined
r
eference to `main'
mod_foo.o: In function `foo_handler':
/home/panxin/apache/bin/foo/mod_foo.c:54: undefined reference to `ap_rputs'
mod_foo.o: In function `foo_register_hooks':
/home/panxin/apache/bin/foo/mod_foo.c:60: undefined reference to
`ap_hook_handler'

collect2: ld returned 1 exit status
apxs:Error: Command failed with rc=65536

Thanks
Pan


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org