niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Apps » Apache
serving millions of files
Post new topic   Reply to topic Page 60 of 61 [905 Posts] View previous topic :: View next topic
Goto page:  Previous  1, 2, 3, ..., 58, 59, 60, 61 Next
Author Message
Axel-Stéphane SMORGRAV
*nix forums Guru


Joined: 07 Feb 2005
Posts: 419

PostPosted: Mon Jul 03, 2006 6:09 am    Post subject: RE: SetOutputFilter doesn't work in s? Reply with quote

SetOutputFilter works very well, even in Location filters. There are lots of happy customers of this feature, using it for such things as for example compression of response bodies.

Are you quite sure your filter is NOT invoked? Could you possibly have it generate some output to stderr?

I copied your filter declarations into an Apache 2.0.54 configuration and was unable to reproduce the behaviour you describe. That said, the response was cached by the browser and when reloading the page, it issued a conditional request to which the server responded with a 304. Therefore, at first it appeared as if the filter was not invoked, but after forcing an unconditional request, the page was correctly updated.

Here are the relevant parts of the configuration I used:

LoadModule ext_filter_module /opt/apache2/modules/mod_ext_filter.so
Listen labelle16:80

NameVirtualHost *:80
<VirtualHost *:80>
ServerName labelle16.gsi.fr
DocumentRoot /www/apachetest/htdocs/labelle16
CustomLog /www/apachetest/logs/access16_log combined
ErrorLog /www/apachetest/logs/error16_log
LogLevel debug

ExtFilterDefine a mode=output intype=text/html outtype=text/html cmd="/bin/sed -e s/foo/bar/g"
ExtFilterDefine b mode=output intype=text/html outtype=text/html cmd="/bin/sed -e s/bing/boom/g"

<Location /test>
Header set Cache-Control no-cache
SetOutputFilter a
</Location>
</VirtualHost>

-ascs


-----Original Message-----
From: Andy Buckley [mailto:andy.buckley@durham.ac.uk]
Sent: Thursday, June 29, 2006 3:10 PM
To: users@httpd.apache.org
Subject: [users@httpd] SetOutputFilter doesn't work in <Location>s?

Hi,

(Before I begin: I sent two messages on a similar topic to this a couple of weeks ago but got no reply: can someone please give me some feedback on whether I should report this issue as a bug or if it is my fault?)

I have a long-standing problem with getting Apache 2 output filters to work on a per-<Location> basis. As far as I can tell, the SetOutputFilter directive either doesn't work in <Location> blocks, or is quite unpredictable in that context. I sent a test configuration in a previous email but recieved no response, so I've produced a simpler configuration and tested it on a different system, with the same results. Here's the configuration fragment:

<VirtualHost 80.68.95.15:80>
ServerAdmin webmaster@insectnation.org
DocumentRoot /www/filtertest
ServerName test.insectnation.org

#SetOutputFilter a;b

<Location />
Options Indexes FollowSymLinks MultiViews ExecCGI
AllowOverride None
Order allow,deny
Allow from all
DirectoryIndex index
</Location>

ExtFilterDefine a mode=output intype=text/html outtype=text/html cmd="/bin/sed -e s/foo/bar/g"
ExtFilterDefine b mode=output intype=text/html outtype=text/html cmd="/bin/sed -e s/bing/boom/g"
<Location /a>
SetOutputFilter a
</Location>
<Location /b>
SetOutputFilter b
#Order deny,allow
#Deny from all
</Location>
</VirtualHost>

The results of using this configuration are as follows:

* The sed replacements take place neither in test.insectnation.org/a or test.insectnation.org/b
* If the Location /b access is denied (by uncommenting the Order and Deny statements), this is correctly reflected in the browser behaviour
* If the SetOutputFilter at VirtualHost level (i.e not in any Location blocks) is uncommented, the sed replacements both take place as expected

So, the problem is not the Location matching because the access denial works as expected: there seems to be some problem specifically with SetOutputFilter used on a Location basis. This is observed using Apache
2.0.55 as packaged in Ubuntu Dapper:

andy@dirac:~$ apache2 -v
Server version: Apache/2.0.55
Server built: May 29 2006 01:52:53

I've also observed the same behaviour in Scientific Linux 4.x. Can anyone offer any suggestions / try this config for themselves and comment. If it's a genuine problem then it should be reported as a bug, but I'm not aware of any independent confirmations. Some assistance, please?

Thanks!
Andy


---------------------------------------------------------------------
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
" from the digest: users-digest-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
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Back to top
Axel-Stéphane SMORGRAV
*nix forums Guru


Joined: 07 Feb 2005
Posts: 419

PostPosted: Tue Jul 04, 2006 6:04 am    Post subject: RE: Configuring Siteminder 5.5 for apache2.0 on HP-UX 11- can't find libmod_sm20.sl Reply with quote

That piece of s**t has made me tear all of my hair out, but if you really have to use it, please make yourself a favor and use the latest and greatest (SMWA 5QMR8). I think I counted something like 160 bug fixes in that release, as compared to appx. 40 in other releases. Given all the problems I have had with previous releases of the so-called framework agent, I think they have had huge quality problems that have hopefully been solved after CA acquired Netegrity.

What I believe is your problem is that libmod_sm20 depends on another library, and since it appears that /opt/siteminder2/webagent/lib/ is not in your SHLIB_PATH, the run-time linker can't find it.

The definitions below relate to Solaris. You probably want to replace LD_LIBRARY_PATH with SHLIB_PATH

I added the following to the Apache environment. There are several ways of doing that. I personally prefer adding to the end of apache/bin/envvars:

NETE_WA_ROOT=/u01/netegrity/siteminder/webagent
NETE_WA_PATH=$NETE_WA_ROOT/lib
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/u01/opt/lib:$NETE_WA_PATH"
PATH=$NETE_WA_ROOT/bin:$PATH
export NETE_WA_PATH NETE_WA_ROOT PATH LD_LIBRARY_PATH

You absolutely need to set both LD_LIBRARY_PATH (SHLIB_PATH) and PATH in order for the LLAWP process to be able to start.

Good luck!
-ascs

-----Original Message-----
From: Lindsey_Lepisko@cargill.com [mailto:Lindsey_Lepisko@cargill.com]
Sent: Monday, July 03, 2006 7:06 PM
To: users@httpd.apache.org
Subject: [users@httpd] Configuring Siteminder 5.5 for apache2.0 on HP-UX 11- can't find libmod_sm20.sl

Hi,

I'm very new to the apache/unix world and am currently in charge of switching the web server my department's web pages run on to apache (currently they are running on a sun one server). My first goal is to get apache and siteminder working together nicely. I installed apache 2.0 and compiled it with mod.so as the only non-default module. The siteminder installation went well and it is registered as a trusted host with our policy servers. I followed the netegrity installation/configuration manual for configuring siteminder for apache and added the following to apache's httpd.conf file:

PassEnv SHLIB_PATH /opt/siteminder2/webagent/config
LoadModule sm_module "/opt/siteminder2/webagent/lib/libmod_sm20.sl"
SmInitFile "\opt\sitemindre2\webagent\config\WebAgent.conf"
(also tried \opt\web\apache2\conf\WebAgent.conf...the manual is very confusing as to what <web_agent_home> means. )

Alias /siteminderagent/ .<web_agent_home>/samples/.
<Directory "/export/webagent/samples/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

AddHandler smcookieprovider-handler .ccc

---------------------------------------------------------------------
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
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Back to top
Axel-Stéphane SMORGRAV
*nix forums Guru


Joined: 07 Feb 2005
Posts: 419

PostPosted: Tue Jul 04, 2006 6:16 am    Post subject: Re: SetOutputFilter doesn't work... Reply with quote

SetOutputFilter works very well, even in Location filters. There are lots of happy customers of this feature, using it for such things as for example compression of response bodies.

Are you quite sure your filter is NOT invoked? Could you possibly have it generate some output to stderr?

I copied your filter declarations into an Apache 2.0.54 configuration and was unable to reproduce the behaviour you describe. That said, the response was cached by the browser and when reloading the page, it issued a conditional request to which the server responded with a 304. Therefore, at first it appeared as if the filter was not invoked, but after forcing an unconditional request, the page was correctly updated.

Here are the relevant parts of the configuration I used:

LoadModule ext_filter_module /opt/apache2/modules/mod_ext_filter.so
Listen labelle16:80

NameVirtualHost *:80
<VirtualHost *:80>
ServerName labelle16.gsi.fr
DocumentRoot /www/apachetest/htdocs/labelle16
CustomLog /www/apachetest/logs/access16_log combined
ErrorLog /www/apachetest/logs/error16_log
LogLevel debug

ExtFilterDefine a mode=output intype=text/html outtype=text/html cmd="/bin/sed -e s/foo/bar/g"
ExtFilterDefine b mode=output intype=text/html outtype=text/html cmd="/bin/sed -e s/bing/boom/g"

<Location /test>
Header set Cache-Control no-cache
SetOutputFilter a
</Location>
</VirtualHost>

-ascs


-----Original Message-----
From: Andy Buckley [mailto:andy.buckley@durham.ac.uk]
Sent: Thursday, June 29, 2006 3:10 PM
To: users@httpd.apache.org
Subject: [users@httpd] SetOutputFilter doesn't work in <Location>s?

Hi,

(Before I begin: I sent two messages on a similar topic to this a couple of weeks ago but got no reply: can someone please give me some feedback on whether I should report this issue as a bug or if it is my fault?)

I have a long-standing problem with getting Apache 2 output filters to work on a per-<Location> basis. As far as I can tell, the SetOutputFilter directive either doesn't work in <Location> blocks, or is quite unpredictable in that context. I sent a test configuration in a previous email but recieved no response, so I've produced a simpler configuration and tested it on a different system, with the same results. Here's the configuration fragment:

<VirtualHost 80.68.95.15:80>
ServerAdmin webmaster@insectnation.org
DocumentRoot /www/filtertest
ServerName test.insectnation.org

#SetOutputFilter a;b

<Location />
Options Indexes FollowSymLinks MultiViews ExecCGI
AllowOverride None
Order allow,deny
Allow from all
DirectoryIndex index
</Location>

ExtFilterDefine a mode=output intype=text/html outtype=text/html cmd="/bin/sed -e s/foo/bar/g"
ExtFilterDefine b mode=output intype=text/html outtype=text/html cmd="/bin/sed -e s/bing/boom/g"
<Location /a>
SetOutputFilter a
</Location>
<Location /b>
SetOutputFilter b
#Order deny,allow
#Deny from all
</Location>
</VirtualHost>

The results of using this configuration are as follows:

* The sed replacements take place neither in test.insectnation.org/a or test.insectnation.org/b
* If the Location /b access is denied (by uncommenting the Order and Deny statements), this is correctly reflected in the browser behaviour
* If the SetOutputFilter at VirtualHost level (i.e not in any Location blocks) is uncommented, the sed replacements both take place as expected

So, the problem is not the Location matching because the access denial works as expected: there seems to be some problem specifically with SetOutputFilter used on a Location basis. This is observed using Apache
2.0.55 as packaged in Ubuntu Dapper:

andy@dirac:~$ apache2 -v
Server version: Apache/2.0.55
Server built: May 29 2006 01:52:53

I've also observed the same behaviour in Scientific Linux 4.x. Can anyone offer any suggestions / try this config for themselves and comment. If it's a genuine problem then it should be reported as a bug, but I'm not aware of any independent confirmations. Some assistance, please?

Thanks!
Andy


---------------------------------------------------------------------
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
" from the digest: users-digest-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
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Back to top
<Lindsey_Lepisko@cargi
*nix forums beginner


Joined: 03 Jul 2006
Posts: 4

PostPosted: Thu Jul 06, 2006 2:30 pm    Post subject: RE: Configuring Siteminder 5.5 for apache2.0 on HP-UX 11- can't find libmod_sm20.sl Reply with quote

Still isn't working. I put what you suggested in the envvars file and it didn't help. I even tried explicitly setting PATH to include /opt/siteminder2/webagent/bin and SHLIB_PATH to include /opt/siteminder2/webagent/lib by using export and even with that it didn't work. It still has a problem with the line
'LoadModule sm_module "/opt/siteminder2/webagent/lib/libmod_sm20.sl" ' and says it can't find libmod_sm20.sl.

So I really don't know what the heck to do now. I spent more time searching the web for linking issues and solutions to those issues, but nothing was very helpful. Any other ideas?

-Lindsey


-----Original Message-----
From: Axel-Stéphane SMORGRAV
[mailto:Axel-Stephane.SMORGRAV@europe.adp.com]
Sent: Tuesday, July 04, 2006 1:04 AM
To: users@httpd.apache.org
Subject: RE: [users@httpd] Configuring Siteminder 5.5 for apache2.0 on
HP-UX 11- can't find libmod_sm20.sl


That piece of s**t has made me tear all of my hair out, but if you really have to use it, please make yourself a favor and use the latest and greatest (SMWA 5QMR8). I think I counted something like 160 bug fixes in that release, as compared to appx. 40 in other releases. Given all the problems I have had with previous releases of the so-called framework agent, I think they have had huge quality problems that have hopefully been solved after CA acquired Netegrity.

What I believe is your problem is that libmod_sm20 depends on another library, and since it appears that /opt/siteminder2/webagent/lib/ is not in your SHLIB_PATH, the run-time linker can't find it.

The definitions below relate to Solaris. You probably want to replace LD_LIBRARY_PATH with SHLIB_PATH

I added the following to the Apache environment. There are several ways of doing that. I personally prefer adding to the end of apache/bin/envvars:

NETE_WA_ROOT=/u01/netegrity/siteminder/webagent
NETE_WA_PATH=$NETE_WA_ROOT/lib
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/u01/opt/lib:$NETE_WA_PATH"
PATH=$NETE_WA_ROOT/bin:$PATH
export NETE_WA_PATH NETE_WA_ROOT PATH LD_LIBRARY_PATH

You absolutely need to set both LD_LIBRARY_PATH (SHLIB_PATH) and PATH in order for the LLAWP process to be able to start.

Good luck!
-ascs

-----Original Message-----
From: Lindsey_Lepisko@cargill.com [mailto:Lindsey_Lepisko@cargill.com]
Sent: Monday, July 03, 2006 7:06 PM
To: users@httpd.apache.org
Subject: [users@httpd] Configuring Siteminder 5.5 for apache2.0 on HP-UX 11- can't find libmod_sm20.sl

Hi,

I'm very new to the apache/unix world and am currently in charge of switching the web server my department's web pages run on to apache (currently they are running on a sun one server). My first goal is to get apache and siteminder working together nicely. I installed apache 2.0 and compiled it with mod.so as the only non-default module. The siteminder installation went well and it is registered as a trusted host with our policy servers. I followed the netegrity installation/configuration manual for configuring siteminder for apache and added the following to apache's httpd.conf file:

PassEnv SHLIB_PATH /opt/siteminder2/webagent/config
LoadModule sm_module "/opt/siteminder2/webagent/lib/libmod_sm20.sl"
SmInitFile "\opt\sitemindre2\webagent\config\WebAgent.conf"
(also tried \opt\web\apache2\conf\WebAgent.conf...the manual is very confusing as to what <web_agent_home> means. )

Alias /siteminderagent/ .<web_agent_home>/samples/.
<Directory "/export/webagent/samples/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

AddHandler smcookieprovider-handler .ccc

---------------------------------------------------------------------
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
" from the digest: users-digest-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
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Back to top
Axel-Stéphane SMORGRAV
*nix forums Guru


Joined: 07 Feb 2005
Posts: 419

PostPosted: Fri Jul 07, 2006 5:51 am    Post subject: RE: Configuring Siteminder 5.5 for apache2.0 on HP-UX 11- can't find libmod_sm20.sl Reply with quote

Although this subject does not seem to be related to Apache, and I have not been near HP-UX for years...

I had a look at the Siteminder WebAgent Installation guide. There is a section called "Enabling SHLIB Path for an Agent on Apache2/HP-UX 11" which states: For the Web Agent to operate to operate on an Apache 2.0 web server running HP-UX 11, be sure the SHLIB_PATH is enabled in the Apache executable.

You can check if SHLIB_PATH is enabled by executing "chatr httpd". If enabled, you should find a line in the output saying "SHLIB_PATH enabled second". If it says "SHLIB_PATH enabled second" instead, execute "chatr +s enable httpd"

-ascs

-----Original Message-----
From: Lindsey_Lepisko@cargill.com [mailto:Lindsey_Lepisko@cargill.com]
Sent: Thursday, July 06, 2006 4:31 PM
To: users@httpd.apache.org
Subject: RE: [users@httpd] Configuring Siteminder 5.5 for apache2.0 on HP-UX 11- can't find libmod_sm20.sl

Still isn't working. I put what you suggested in the envvars file and it didn't help. I even tried explicitly setting PATH to include /opt/siteminder2/webagent/bin and SHLIB_PATH to include /opt/siteminder2/webagent/lib by using export and even with that it didn't work. It still has a problem with the line 'LoadModule sm_module "/opt/siteminder2/webagent/lib/libmod_sm20.sl" ' and says it can't find libmod_sm20.sl.

So I really don't know what the heck to do now. I spent more time searching the web for linking issues and solutions to those issues, but nothing was very helpful. Any other ideas?

-Lindsey

---------------------------------------------------------------------
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
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Back to top
Joost de Heer
*nix forums Guru


Joined: 30 Mar 2005
Posts: 339

PostPosted: Fri Jul 07, 2006 6:26 am    Post subject: RE: Configuring Siteminder 5.5 for apache2.0 on HP-UX 11- can't find libmod_sm20.sl Reply with quote

Lindsey_Lepisko@cargill.com wrote:
Quote:
Still isn't working. I put what you suggested in the envvars file and it
didn't help. I even tried explicitly setting PATH to include
/opt/siteminder2/webagent/bin and SHLIB_PATH to include
/opt/siteminder2/webagent/lib by using export and even with that it didn't
work. It still has a problem with the line
'LoadModule sm_module "/opt/siteminder2/webagent/lib/libmod_sm20.sl" ' and
says it can't find libmod_sm20.sl.

What does 'ldd /opt/siteminder2/webagent/lib/libmod_sm20.sl' give? 'File
not found' can also mean that one of the libs it depends on can't be
found. You may have to set the LD_LIBRARY_PATH var in apachectl to fix
this.

Joost


---------------------------------------------------------------------
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
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Back to top
Mididoc Productions
*nix forums beginner


Joined: 30 May 2005
Posts: 16

PostPosted: Tue Jul 11, 2006 8:50 pm    Post subject: spamassassin Reply with quote

Hello,

my name is mike roland.
i'm not a unix expert.

we have a vps server with for virtual host domains.
everything is working fine so far:
the webs are accessible the mails can be sent and received.

but we want to install a blacklist to refuse emails from certain
email-addresses for the whole server, say one list for the whole server.

so we proceeded like in the spamassassin manual and edited the file:
/usr/local/etc/mail/spamassassin/local.cf

we inserted a blacklist entry: blacklist_from example@domain

we have also rebooted the server, but it is not working.
emails from the address: example@domain are stil beeing received.

could anybody please help us setting the blacklist?

thank you

best regards

mike roland


---------------------------------------------------------------------
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
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Back to top
Joshua Slive
*nix forums Guru


Joined: 07 Feb 2005
Posts: 1647

PostPosted: Tue Jul 11, 2006 9:11 pm    Post subject: Re: spamassassin Reply with quote

On 7/11/06, Mididoc Productions <mail@mididoc.com> wrote:
Quote:
Hello,

my name is mike roland.
i'm not a unix expert.

we have a vps server with for virtual host domains.
everything is working fine so far:
the webs are accessible the mails can be sent and received.

but we want to install a blacklist to refuse emails from certain
email-addresses for the whole server, say one list for the whole server.

so we proceeded like in the spamassassin manual and edited the file:
/usr/local/etc/mail/spamassassin/local.cf

we inserted a blacklist entry: blacklist_from example@domain

we have also rebooted the server, but it is not working.
emails from the address: example@domain are stil beeing received.

could anybody please help us setting the blacklist?

You're on the wrong list. Head over to http://spamassassin.apache.org/

Joshua.

---------------------------------------------------------------------
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
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Back to top
Pid
*nix forums beginner


Joined: 19 Jun 2006
Posts: 32

PostPosted: Tue Jul 11, 2006 9:13 pm    Post subject: Re: spamassassin Reply with quote

you would probably want the spamassassin mailing list for that, rather
than the httpd list.

try here:
http://wiki.apache.org/spamassassin/MailingLists



Mididoc Productions wrote:
Quote:
Hello,

my name is mike roland.
i'm not a unix expert.

we have a vps server with for virtual host domains.
everything is working fine so far:
the webs are accessible the mails can be sent and received.

but we want to install a blacklist to refuse emails from certain
email-addresses for the whole server, say one list for the whole server.

so we proceeded like in the spamassassin manual and edited the file:
/usr/local/etc/mail/spamassassin/local.cf

we inserted a blacklist entry: blacklist_from example@domain

we have also rebooted the server, but it is not working.
emails from the address: example@domain are stil beeing received.

could anybody please help us setting the blacklist?

thank you

best regards

mike roland


---------------------------------------------------------------------
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
" from the digest: users-digest-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
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Back to top
Mididoc Productions
*nix forums beginner


Joined: 30 May 2005
Posts: 16

PostPosted: Tue Jul 11, 2006 9:24 pm    Post subject: AW: spamassassin Reply with quote

thank you will do.

best regards

mike roland

Quote:
-----Ursprüngliche Nachricht-----
Von: Pid [mailto:p@pidster.com]
Gesendet: Dienstag, 11. Juli 2006 23:14
An: users@httpd.apache.org
Betreff: Re: [users@httpd] spamassassin


you would probably want the spamassassin mailing list for that, rather
than the httpd list.

try here:
http://wiki.apache.org/spamassassin/MailingLists



Mididoc Productions wrote:
Hello,

my name is mike roland.
i'm not a unix expert.

we have a vps server with for virtual host domains.
everything is working fine so far:
the webs are accessible the mails can be sent and received.

but we want to install a blacklist to refuse emails from certain
email-addresses for the whole server, say one list for the whole server.

so we proceeded like in the spamassassin manual and edited the file:
/usr/local/etc/mail/spamassassin/local.cf

we inserted a blacklist entry: blacklist_from example@domain

we have also rebooted the server, but it is not working.
emails from the address: example@domain are stil beeing received.

could anybody please help us setting the blacklist?

thank you

best regards

mike roland


---------------------------------------------------------------------
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
" from the digest: users-digest-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
" from the digest: users-digest-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
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Back to top
Boyle Owen
*nix forums Guru


Joined: 07 Feb 2005
Posts: 618

PostPosted: Wed Jul 12, 2006 7:09 am    Post subject: RE: limiting log files' size Reply with quote

Quote:
-----Original Message-----
From: Mario Pavlov [mailto:freebsd@abv.bg]
Sent: Wednesday, July 12, 2006 8:43 AM
To: users@httpd.apache.org
Subject: [users@httpd] limiting log files' size

Hi guys Smile
I was searching the documentation for a while for some way to
get my httpd-access.log limited by size
but I didn't found anything...
is there a way to limit my log files by size ?
for example when the log file reaches 100Mbytes to stop
growing and evry new line to overwrites the oldest

Apache won't do this for you - all it does is write lines to a filehandle. However, the filhandle doesn't need to lead to a file, it can be a pipe to a program you write that can do whatever you like see: http://httpd.apache.org/docs/2.2/mod/mod_log_config.html

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.

Quote:

apache2.2.2
FreeBSD 6.1 RELEASE

thank you :)

-----------------------------------------------------------------
http://ide.li/ - ÐÏÒÔÁÌ ÚÁ ÂßÌÇÁÒÉÔÅ ÐÏ Ó×ÅÔÁ. óÔÁÔÉÉ,
ÎÏ×ÉÎÉ, ÆÏÒÕÍÉ, ÓÎÉÍËÉ, ÉÎÆÏÒÍÁÃÉÑ.

---------------------------------------------------------------------
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
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
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
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Back to top
Kim Leng Goh
*nix forums beginner


Joined: 07 Jul 2006
Posts: 2

PostPosted: Wed Jul 12, 2006 7:23 am    Post subject: Re: Fwd: Problem checking signature of httpd, apr, apr-util rpms Reply with quote

Hi Marx,
Thanks for the quick reply. I'm cc-ing to the apache user's list for
the benefit of others.

On 7/12/06, Apache Security Response Team <security@apache.org> wrote:
Quote:
Dear Kim Leng Goh:

This is actually a known problem with rpm signature checking. rpm will
not correctly validate a key where the public key contains signatures.
Therefore you cannot simply rpm --import the httpd KEYS file (or even an
extraction of one key from it).

If you want to import a public key into rpm you need to import a clean
version without signatures. If this is not provided (as in this case)
then you can only use "rpm --checksig -vv" which will validate the
signature and show you the key used to sign. Alternatively, upstream
versions of rpm since 4.4.2 are known to fix this issue (unverified).

For gory details see
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=90952

Thank you, Mark
--
Mark J Cox
Apache Software Foundation

On Wed, 12 Jul 2006, Kim Leng Goh wrote:

Hi,
I'm forwarding my email to the security mailing list as this appears
to be a security issue. Apologies if this is the wrong place.


---------- Forwarded message ----------
[...]
Date: Jul 7, 2006 3:02 PM
Subject: Problem checking signature of httpd, apr, apr-util rpms
To: users@httpd.apache.org
Cc: minfrin@apache.org, dev@apr.apache.org


Hi all,

I encountered some problems with the KEYS at
http://www.apache.org/dist/httpd/KEYS and
http://www.apache.org/dist/apr/KEYS with the "rpm --checksig" or "rpm
-K" command on some of the rpms such as
http://www.apache.org/dist/httpd/binaries/rpm/SRPMS/httpd-2.0.58-1.src.rpm,
http://www.apache.org/dist/apr/binaries/rpm/SRPMS/apr-0.9.12-1.src.rpm,
http://www.apache.org/dist/apr/binaries/rpm/i386/apr-1.2.7-1.i386.rpm

Without importing any public key, I get "NOKEY":

# rpm -K -v httpd-2.0.58-1.src.rpm
httpd-2.0.58-1.src.rpm:
Header V3 DSA signature: NOKEY, key ID 751d7f27
Header SHA1 digest: OK (18af314df2009ad54b2b638ea379f306e1a0bf95)
MD5 digest: OK (20168dc0056ecdccc824a5bdef1c9216)
V3 DSA signature: NOKEY, key ID 751d7f27


Using http://www.apache.org/dist/apr/KEYS, I extracted lines 513 to
712 of the file into another file "KEYS.2":

# head -712 KEYS|tail -200 > KEYS.2

# rpm --import KEYS.2

# rpm -qa|grep gpg
...
gpg-pubkey-751d7f27-3ddd0dfa
...


and I get "BAD":

# rpm -K -v httpd-2.0.58-1.src.rpm
httpd-2.0.58-1.src.rpm:
Header V3 DSA signature: BAD, key ID 751d7f27
Header SHA1 digest: OK (18af314df2009ad54b2b638ea379f306e1a0bf95)
MD5 digest: OK (20168dc0056ecdccc824a5bdef1c9216)
V3 DSA signature: BAD, key ID 751d7f27


If I use the key from
http://pgp.mit.edu:11371/pks/lookup?search=0x751D7F27&op=index
(e.g. http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x751D7F27), I
get f88341d9 as the key ID. Apparently, f88341d9 should belong to Lars
Eilebrecht.

# rpm --import KEYS.3
# rpm -qa|grep gpg
...
gpg-pubkey-f88341d9-3ddd3c97
...
gpg-pubkey-751d7f27-3ddd0dfa

Regards,
KL

---------------------------------------------------------------------
To unsubscribe, e-mail: security-unsubscribe@apache.org
For additional commands, e-mail: security-help@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
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Back to top
Mario Pavlov
*nix forums beginner


Joined: 12 Jul 2006
Posts: 2

PostPosted: Wed Jul 12, 2006 7:26 am    Post subject: Re: RE: limiting log files' size Reply with quote

Quote:
-----Original Message-----
From: Mario Pavlov [mailto:freebsd@abv.bg]
Sent: Wednesday, July 12, 2006 8:43 AM
To: users@httpd.apache.org
Subject: [users@httpd] limiting log files' size

Hi guys Smile
I was searching the documentation for a while for some way to
get my httpd-access.log limited by size
but I didn't found anything...
is there a way to limit my log files by size ?
for example when the log file reaches 100Mbytes to stop
growing and evry new line to overwrites the oldest

Apache won't do this for you - all it does is write lines to a filehandle. However, the filhandle doesn't need to lead to a file, it can be a pipe to a program you write that can do whatever you like see: http://httpd.apache.org/docs/2.2/mod/mod_log_config.html

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.


apache2.2.2
FreeBSD 6.1 RELEASE

thank you Smile

OK, thank you :)

-----------------------------------------------------------------
http://ide.li/ - ïîðòàë çà áúëãàðèòå ïî ñâåòà. Ñòàòèè, íîâèíè, ôîðóìè, ñíèìêè, èíôîðìàöèÿ.

---------------------------------------------------------------------
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
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Back to top
sniedermeyer@cob.org
*nix forums beginner


Joined: 29 Jun 2006
Posts: 4

PostPosted: Fri Jul 14, 2006 5:57 pm    Post subject: RE: Mismatched server name and SSL cert Reply with quote

I'm still chipping away at getting SSL working for our reverse proxy server
(RPS). Currently, it looks like our RPS is going secure:

https://www.cob.org

However, we're getting the following entry in the Apache HTTPD error log:

RSA server certificate CommonName (CN) 'www.cob.org' does NOT match server
name!?

Here are the settings in my httpd.conf file:

ServerName www.cob.org

<VirtualHost www.cob.org:443>

SSLEngine on
SSLProxyEngine on
SSLCertificateFile ...somepath/public.crt
SSLCertificateKeyFile ...somepath/private.key
SSLCertificateChainFile ...somepath/intermediate.crt
ProxyPass /webapp1 https://x.x.x.x/webapp1
ProxyPassReverse /webapp1 https://x.x.x.x/webapp1

</VirtualHost>


Once I get this working correctly, I'll move on to trying to get the
connection from the RPS to the webapp1 server secure without a browser
complaining ;)

Any help would be appreciated.

Thanks.

____________________________
Steven Niedermeyer
Information Technology Services
City of Bellingham
625 Halleck St
Bellingham, WA 98225
Phone: (360) 676-6671 x156
Fax: (360) 676-7693


---------------------------------------------------------------------
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
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Back to top
Boyle Owen
*nix forums Guru


Joined: 07 Feb 2005
Posts: 618

PostPosted: Tue Jul 18, 2006 12:10 pm    Post subject: RE: Won't restart/graceful but no syntax error Reply with quote

Quote:
-----Original Message-----
From: Andre Ambrosio [mailto:andre.ambrosio@eminit.com]
Sent: Tuesday, July 18, 2006 1:35 PM
To: users@httpd.apache.org
Subject: [users@httpd] Won't restart/graceful but no syntax error

Hi guys,

What can be wrong if I try to restart Apache (apachectl
restart) and he says: "won't restart" but also "syntax ok"?

What I'm trying to do is load mod_dav_svn that comes with Subversion.

Re-arrange the following words to form a well-known phrase:

error_log in What's the ?

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.
Quote:

Thanks for any help,

Andre.



This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
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
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 60 of 61 [905 Posts] Goto page:  Previous  1, 2, 3, ..., 58, 59, 60, 61 Next
View previous topic :: View next topic
The time now is Tue Dec 02, 2008 6:18 am | All times are GMT
navigation Forum index » Apps » Apache
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts howto log in from one bsd-server to another and move file... Tobias Steer FreeBSD 3 Thu Jul 20, 2006 10:02 am
No new posts Binary Files Ronin C++ 8 Wed Jul 19, 2006 3:12 pm
No new posts Bug#378877: ITP: libsvm-doc -- documentation and example ... Rudi Cilibrasi devel 0 Wed Jul 19, 2006 1:50 pm
No new posts Bug#378873: ITP: libsvm0-dev -- development files for Lib... Rudi Cilibrasi devel 0 Wed Jul 19, 2006 1:20 pm
No new posts Bug#378866: ITP: libnanohttp1-dev -- header files for nan... Rudi Cilibrasi devel 0 Wed Jul 19, 2006 12:40 pm

Babb Fest | Loan | Credit Cards | Stag Weekend Nottingham | Mobile Phones
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.4658s ][ Queries: 16 (0.1984s) ][ GZIP on - Debug on ]