RE: Authentifizierung über mehrer Server hinweg

2005-10-07 Thread Steffen Heil
Hi

 Der einzige Weg ist über spezielle Module die ein vorher beim 
 Sign On gesetztes Cookie abprüfen und dann ihr Ok geben.
 Zum Glück kann ich den Aufwand bei mir auf ein paar wenige 
 PHP Script begrenzen. Da kann ich den Cookie selbst setzen 
 und auf den anderen Servern prüfen.

Geht es um die selbe Domäne? Sonst ist schnell Essig mit Cookies...

Gruß,
  Steffen


smime.p7s
Description: S/MIME cryptographic signature


RE: Authentifizierung über mehrer Server hinweg

2005-10-07 Thread Andreas Müller
Hallo Steffen,
jo das ist schon klar. Wie in meiner Eingangsmail erläutert geht es um
Server die alle der gleichen Domain angehören. Daher sollte das wenig
Probleme bereiten.

Gruß,
Andreas



--
Apache HTTP Server Mailing List users-de
  unsubscribe-Anfragen an [EMAIL PROTECTED]
   sonstige Anfragen an [EMAIL PROTECTED]
--



RE: [EMAIL PROTECTED] SSL and directories

2005-10-07 Thread Axel-Stéphane SMORGRAV
I guess the problem is that you made a request over a non-SSL connection, and 
the error you get is exactly what SSLRequireSSL is supposed to do when the 
resource is accessed over a non-SSL connection.

Make sure that your request is submitted using the HTTPS scheme, i.e. 
https://myserver/mailscanner (or similar). Also make sure that all the requests 
for embedded documents are also made using HTTPS. Some of the documents that 
you receive may well contain links using the HTTP scheme rather than HTTPS.

A good tool for tracking such issues is HTTPWatch for IE, or LiveHTTPheaders 
for FireFox.

-ascs

-Original Message-
From: Dimitri Yioulos [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 06, 2005 9:28 PM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] SSL and directories

Hello to all.

I'm pretty new to apache and ssl.  I have httpd-2.0.46-46.3.ent.centos.1 and
mod_ssl-2.0.46-46.3.ent.centos.1 installed on a CentOS 3.3 box.  I have an SSL 
cert installed, and SSLCertificateFile and SSLCertificateKey locations 
specified correctly in ssl.conf.  I have a web mail app which I'm now able to 
access via SSL (but I did the SSL config in the app itself), so I'm pretty 
confident the basic SSL setup is correct.

I want to access another web-based program (Mailwatch for MailScanner, no SSL 
config directives in the program) via SSL.  According to everything I read, I 
should add the directive:

Directory /var/www/html/mailscanner
 SSLRequireSSL
/Directory

to my httpd.conf file.  When I do this, and restart httpd, I get a 403 error.  
The httpd error log reads access to var/www/html/mailscanner/ failed,
reason: SSL connection required.

This is driving me crazy.  Would someone be kind enough to point out my 
faux-pas?

Many thanks.

Dimitri

-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Re: Controlling Apache Win32 as a Console App

2005-10-07 Thread Joost de Heer
 If you want to script this, get something like ptree (from the resource
 kit) or pskill (from sysinternals) to kill the process.

I just remembered that ptree requires a service to be installed, so drop
that option. pskill is what you want.

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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] No Luck wuth VirtualHosts

2005-10-07 Thread Krist van Besien
On 10/7/05, kloomis [EMAIL PROTECTED] wrote:

 The most likely cause of this is that the cable modem is stripping (or
  rewriting) the Host header and not simply forwarding packets.  That
  means that apache doesn't have the information to do name-based
  virtual hosting.  You can confirm that by logging the Host header in
  the access log
  OK, now the initial page is opening at the right directory, but all the
 follow on links are reverting to only one directory.  Could this be an
 Apache problem or is it my configs for the application I'm using?

That will probably be the application. Often you need to configure
somewhere what the base URL is that it is being served from.
Do the pages contain relative or absolute links?

Krist

--
[EMAIL PROTECTED]
Solothurn, Switzerland

-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Dumping core

2005-10-07 Thread Joe Orton
On Fri, Oct 07, 2005 at 03:51:20AM +0100, binoj johny wrote:
  Iam working on  apache 2.0.47 with ssl and reverse
 proxy in AIX 5.2.Everything is working fine but apache
 is dumping core in a regular basis.THe dumping of sore
 is less during the night time but in peak hours it
 will be 2 times in hour  and in the  error log 
  iam getting like this 
...
 I have given log level  to debug mode 
 So iam getting like this 
 Mon Oct 03 20:00:02 2005] [debug] proxy_http.c(310):
 proxy: keepalive address match (keep original socket)
 [Mon Oct 03 20:00:02 2005] [info] SSL0240I: SSL
 Handshake Failed, Socket has been closed.

This is IHS, I'd guess -- contact IBM for support.

joe

-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] PHP mystery on new server?

2005-10-07 Thread Michael Simpson
Greetings all. 

I'm completely baffled at the moment. Here's the scenario: 

I've designed, developed and administered my company's Intranet website,
employing HTML  PHP as the main browser technologies. We've recently moved
the Intranet from a Windows NT server to a Windows 2K server, with all
necessary software going with it (i.e. Apache, PHP, MySQL). Also, the old
server has been renamed and the new server given the old server's name. 

All seemed to be working okay until I tried a webpage which uses software
I'd written in PHP - this does not work on the new server, the old server is
fine though. Only one other webpage that uses PHP is not functioning,
otherwise all other PHP webpages are functioning as they should on the new
server. 

In more detail, the page that does not work uses forms to send and receive
data from a mainframe - the form shows up on both Intranet webpages fine,
but the new Intranet does not error but polls the page and eventually times
out (I guess). I'm wondering if I've missed anything out on the new server?
I don't think it's the respective code - they are identical on both servers.
I've checked php.ini and http.conf but nothing's seems to be (obviously)
wrong. 

The Apache versions are 2.0.45 and 2.0.54 resp. on the old and new servers.
Both servers have PHP 4.3.9 version. 

Can anyone suggest anything else I can check? Any help would be greatly
appreciated. 

Thanks in advance.

--
Michael Simpson
Systems Development
Express Newspapers
Number 10, Lower Thames Street
London, EC3R 6EN
0871-520-7225   (direct line)
0871-520-7799   (IT fax)
mailto:[EMAIL PROTECTED]
--




Visit our websites: 

http://www.dailysnack.com “bite size news and gossip”

http://www.express.co.uk The Worlds Greatest Newspaper

http://www.dailystar.co.uk Simply The Best 7 Days A Week

http://www.happymagazine.co.uk The One Stop Shopping Magazine

http://www.ok.co.uk First For Celebrity News

http://www.northernandshell.co.uk The Mark Of Excellence

http://www.expresspictures.com  Express Newspapers and OK Magazine online 
picture archive




Also visit:

The NMA: Opening Up Newspapers http://www.nmauk.co.uk

###2004###

Any views or opinions are solely those of the author 
and do not necessarily represent those of Express Newspapers

The information transmitted is intended only for the person 
or entity to which it is addressed and may contain confidential 
and/or privileged material.If you are not the intended recipient
of this message please do not read ,copy, use or disclose this 
communication and notify the sender immediately. It should be 
noted that any review, retransmission, dissemination or other 
use of, or taking action in reliance upon, this information by 
persons or entities other than the intended recipient is prohibited.
E-mail communications may be monitored.


##EXN2000##


-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] mod_rewrite Special % character problems

2005-10-07 Thread Axel-Stéphane SMORGRAV
There is a Bugzilla bug report 
http://issues.eu.apache.org/bugzilla/show_bug.cgi?id=34602 describing related 
problems with mod_rewrite. Maybe you should add your $0.02 .

-ascs

-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] SSL and directories

2005-10-07 Thread Dimitri Yioulos
Thanks so much for the reply.  I guess I didn't understand the SSLRequireSSL 
directive; it's an enforcement directive then.  I mistook it for a redirector 
(don't ask how I arrived at that conclusion :-(doh)  ).

May I press on?  As I previously mentioned, I installed a web mail program on 
my mail server, and through its conf file, ahve it SSL-enabled.  Users reach 
that program by being redirected by our web server (using the directive 
redirect /webmailprog https://mailserver.mydomain.com/webmailprog;, and it 
works great.  Now, however, if I add a similar redirector on the mail server 
to try and see that http://mailserver/program goes to 
https://mailserver/program, I get a complaint that there are too many 
redirectors for this http server.  Point of story - how can I make sure that 
http:// goes to https://?

For that matter, how can I set up so that any particular directory is 
SSL-enabled and http:// is redirected to https://?

I appreciate your help.

Dimitri


On Friday October 07 2005 2:34 am, Axel-Stéphane  SMORGRAV wrote:
 I guess the problem is that you made a request over a non-SSL connection,
 and the error you get is exactly what SSLRequireSSL is supposed to do when
 the resource is accessed over a non-SSL connection.

 Make sure that your request is submitted using the HTTPS scheme, i.e.
 https://myserver/mailscanner (or similar). Also make sure that all the
 requests for embedded documents are also made using HTTPS. Some of the
 documents that you receive may well contain links using the HTTP scheme
 rather than HTTPS.

 A good tool for tracking such issues is HTTPWatch for IE, or
 LiveHTTPheaders for FireFox.

 -ascs

 -Original Message-
 From: Dimitri Yioulos [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 06, 2005 9:28 PM
 To: users@httpd.apache.org
 Subject: [EMAIL PROTECTED] SSL and directories

 Hello to all.

 I'm pretty new to apache and ssl.  I have httpd-2.0.46-46.3.ent.centos.1
 and mod_ssl-2.0.46-46.3.ent.centos.1 installed on a CentOS 3.3 box.  I have
 an SSL cert installed, and SSLCertificateFile and SSLCertificateKey
 locations specified correctly in ssl.conf.  I have a web mail app which I'm
 now able to access via SSL (but I did the SSL config in the app itself), so
 I'm pretty confident the basic SSL setup is correct.

 I want to access another web-based program (Mailwatch for MailScanner, no
 SSL config directives in the program) via SSL.  According to everything I
 read, I should add the directive:

 Directory /var/www/html/mailscanner
  SSLRequireSSL
 /Directory

 to my httpd.conf file.  When I do this, and restart httpd, I get a 403
 error. The httpd error log reads access to var/www/html/mailscanner/
 failed, reason: SSL connection required.

 This is driving me crazy.  Would someone be kind enough to point out my
 faux-pas?

 Many thanks.

 Dimitri

 -
 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: [EMAIL PROTECTED]
   from the digest: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] No Luck wuth VirtualHosts

2005-10-07 Thread kloomis

At 01:09 PM 10/7/2005 +0200, you wrote:
 OK, now the initial page is opening
at the right directory, but all the
 follow on links are reverting to only one directory. Could
this be an
 Apache problem or is it my configs for the application I'm
using?

That will probably be the application. Often you need to configure
somewhere what the base URL is that it is being served from.
Do the pages contain relative or absolute 
links?
Yes, I do configure the base URLs, and I have set them up for each
directory, but one keeps getting precedence. The links are
resolving to absolute URLs. Could this be a mod-rewrite 
issue?

Ken




Krist

--
[EMAIL PROTECTED]
Solothurn, Switzerland

-
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: [EMAIL PROTECTED]
  from the digest:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]


RE: [EMAIL PROTECTED] SSL and directories

2005-10-07 Thread Axel-Stéphane SMORGRAV
Sounds like you have a redirect loop.

What I would do is define one virtual host for http and one for https. The 
redirect rule would go inside the http virtual host, and the business logic 
would go inside the https VH.

DocumentRoot /var/www/html
ErrorLog logs/error.log
CustomLog logs/access.log combined env=!dontlog
SSLCaCertificatePath ...
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin

Listen 192.168.1.10:80
Listen 192.168.1.10:443

# Make sure that the contents of this directory can only be read over SSL
Directory /var/www/html/program
SSLRequireSSL
/Directory

VirtualHost 192.168.1.10:80
ServerName mailserver
...
Redirect /program https://mailserver/program
/VirtualHost

VirtualHost 192.168.1.10:443
ServerName mailserver

SSLEngine On

SSLCertificateFile ... 
SSLCertificateKeyFile ... 

# Business logic

/VirtualHost

BR 
-ascs

-Original Message-
From: Dimitri Yioulos [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 07, 2005 2:22 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] SSL and directories

Thanks so much for the reply.  I guess I didn't understand the SSLRequireSSL 
directive; it's an enforcement directive then.  I mistook it for a redirector 
(don't ask how I arrived at that conclusion :-(doh)  ).

May I press on?  As I previously mentioned, I installed a web mail program on 
my mail server, and through its conf file, ahve it SSL-enabled.  Users reach 
that program by being redirected by our web server (using the directive 
redirect /webmailprog https://mailserver.mydomain.com/webmailprog;, and it 
works great.  Now, however, if I add a similar redirector on the mail server 
to try and see that http://mailserver/program goes to 
https://mailserver/program, I get a complaint that there are too many 
redirectors for this http server.  Point of story - how can I make sure that 
http:// goes to https://?

For that matter, how can I set up so that any particular directory is 
SSL-enabled and http:// is redirected to https://?

I appreciate your help.

Dimitri


-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] SSL and directories

2005-10-07 Thread Dimitri Yioulos
Thanks! You made it very easy to understand.  I'm most grateful.

I installed mod_ssl (had to, of course), and the SSLEngine, 
SSLCertificateFile ..., and SSLCertificateKeyFile ... directives are in 
ssl.conf.  If I put the same info in the httpd.conf https virtual host 
section, won't it bump into the stuff in ssl.conf, causing httpd to complain 
and fail?  If that's the case, and I think it is based on preevious tries, 
what would the https virtual host section then have to look like?

Dimitri


On Friday October 07 2005 9:02 am, Axel-Stéphane  SMORGRAV wrote:
 Sounds like you have a redirect loop.

 What I would do is define one virtual host for http and one for https. The
 redirect rule would go inside the http virtual host, and the business
 logic would go inside the https VH.

 DocumentRoot /var/www/html
 ErrorLog logs/error.log
 CustomLog logs/access.log combined env=!dontlog
 SSLCaCertificatePath ...
 SSLRandomSeed startup builtin
 SSLRandomSeed connect builtin

 Listen 192.168.1.10:80
 Listen 192.168.1.10:443

 # Make sure that the contents of this directory can only be read over SSL
 Directory /var/www/html/program
   SSLRequireSSL
 /Directory

 VirtualHost 192.168.1.10:80
   ServerName mailserver
   ...
   Redirect /program https://mailserver/program
 /VirtualHost

 VirtualHost 192.168.1.10:443
   ServerName mailserver

   SSLEngine On

   SSLCertificateFile ...
   SSLCertificateKeyFile ...

   # Business logic

 /VirtualHost

 BR
 -ascs

 -Original Message-
 From: Dimitri Yioulos [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 07, 2005 2:22 PM
 To: users@httpd.apache.org
 Subject: Re: [EMAIL PROTECTED] SSL and directories

 Thanks so much for the reply.  I guess I didn't understand the
 SSLRequireSSL directive; it's an enforcement directive then.  I mistook it
 for a redirector (don't ask how I arrived at that conclusion :-(doh)  ).

 May I press on?  As I previously mentioned, I installed a web mail program
 on my mail server, and through its conf file, ahve it SSL-enabled.  Users
 reach that program by being redirected by our web server (using the
 directive redirect /webmailprog
 https://mailserver.mydomain.com/webmailprog;, and it works great.  Now,
 however, if I add a similar redirector on the mail server to try and see
 that http://mailserver/program goes to
 https://mailserver/program, I get a complaint that there are too many
 redirectors for this http server.  Point of story - how can I make sure
 that http:// goes to https://?

 For that matter, how can I set up so that any particular directory is
 SSL-enabled and http:// is redirected to https://?

 I appreciate your help.

 Dimitri


 -
 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: [EMAIL PROTECTED]
   from the digest: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] SSL and directories

2005-10-07 Thread Axel-Stéphane SMORGRAV
I just gave you a rough, overall template of what you need. What file the 
directives are in does not matter as long as they are somewhere.

If in doubt, just use the VH _default_:443 present in ssl.conf. I suggest you 
remove all unnecessary comments from the file. Makes it more readable.

The configuration file structure I use consists of one file with all 
server-level directives, one file with all LoadModule directives, one file with 
server-level SSL directives, and one or more files containing virtual host 
definitions. That's just a matter of personal preference. If you want to, you 
can put the whole configuration into one single file.

-ascs

-Original Message-
From: Dimitri Yioulos [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 07, 2005 3:48 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] SSL and directories

Thanks! You made it very easy to understand.  I'm most grateful.

I installed mod_ssl (had to, of course), and the SSLEngine, SSLCertificateFile 
..., and SSLCertificateKeyFile ... directives are in ssl.conf.  If I put the 
same info in the httpd.conf https virtual host section, won't it bump into the 
stuff in ssl.conf, causing httpd to complain and fail?  If that's the case, and 
I think it is based on preevious tries, what would the https virtual host 
section then have to look like?

Dimitri


-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] SSL and directories

2005-10-07 Thread Dimitri Yioulos
Once again, thanks!

Dimitri


On Friday October 07 2005 10:11 am, Axel-Stéphane  SMORGRAV wrote:
 I just gave you a rough, overall template of what you need. What file the
 directives are in does not matter as long as they are somewhere.

 If in doubt, just use the VH _default_:443 present in ssl.conf. I suggest
 you remove all unnecessary comments from the file. Makes it more readable.

 The configuration file structure I use consists of one file with all
 server-level directives, one file with all LoadModule directives, one file
 with server-level SSL directives, and one or more files containing virtual
 host definitions. That's just a matter of personal preference. If you want
 to, you can put the whole configuration into one single file.

 -ascs

 -Original Message-
 From: Dimitri Yioulos [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 07, 2005 3:48 PM
 To: users@httpd.apache.org
 Subject: Re: [EMAIL PROTECTED] SSL and directories

 Thanks! You made it very easy to understand.  I'm most grateful.

 I installed mod_ssl (had to, of course), and the SSLEngine,
 SSLCertificateFile ..., and SSLCertificateKeyFile ... directives are in
 ssl.conf.  If I put the same info in the httpd.conf https virtual host
 section, won't it bump into the stuff in ssl.conf, causing httpd to
 complain and fail?  If that's the case, and I think it is based on
 preevious tries, what would the https virtual host section then have to
 look like?

 Dimitri


 -
 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: [EMAIL PROTECTED]
   from the digest: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] enable .htaccess on virtual host

2005-10-07 Thread Daniel Prieto

Hi all,
I want to enable .htaccess on my virtual host but I don't seem to get 
it working but it is enable outside the virtual host. Here is my 
httpd.conf and ssl.conf.

I need you help.

httpd.conf:

Directory /
Options Indexes FollowSymLinks
AllowOverride All
/Directory
Directory /var/apache/docs
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
/Directory


ssl.conf:
VirtualHost xxx.xxx.x.xx:443

#   General setup for the virtual host
DocumentRoot /var/apache/docs/virtualhost/
ServerName virtualhost.com
ServerAdmin [EMAIL PROTECTED]
ErrorLog /var/apache/logs/virtualhost-error_log
TransferLog /var/apache/logs/virtualhost-access_log
ScriptAlias /cgi-bin/ /var/apache/docs/virtualhost/cgi-bin/
AddHandler cgiwrap .cgi
Directory /var/apache/docs/virtualhost/cgi-bin
AllowOverride All
Options Indexes FollowSymLinks ExecCGI
SetHandler cgi-script
Order allow,deny
Allow from all
/Directory

--
Daniel Prieto
Phone: 813-974-3307
Fax: 813-974-5456
University of South Florida
CSE Dept. Sys Admin
Check CSE FAQ! http://www.cse.usf.edu/staff/techSupport/index.htm

-
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: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] No Luck wuth VirtualHosts

2005-10-07 Thread Krist van Besien
On 10/7/05, kloomis [EMAIL PROTECTED] wrote:
  At 01:09 PM 10/7/2005 +0200, you wrote:

   OK, now the initial page is opening at the right directory, but all the
   follow on links are reverting to only one directory.  Could this be an
   Apache problem or is it my configs for the application I'm using?

  That will probably be the application. Often you need to configure
  somewhere what the base URL is that it is being served from.
  Do the pages contain relative or absolute links?
  Yes, I do configure the base URLs, and I have set them up for each
 directory, but one keeps getting precedence.  The links are resolving to
 absolute URLs.  Could this be a mod-rewrite issue?

mod-rewrite does not touch anything going from your server to your
client. If your clients get webpages with the wrong absolute url's in
them, than this is because the webpages contain these absolute URLs,
or the application generating the webpages generates these URLs.

Krist
--
[EMAIL PROTECTED]
Solothurn, Switzerland

-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] Re: Error with ssl and php4

2005-10-07 Thread Com Puter
The openssl libraries are installed and can be verified with a static 
version of mod-ssl compiled in by checking the output of:


lsof |grep libssl

which returns several apache2 processes having /usr/lib/libssl.so.0.9.7 
open.


This has me puzzled, it should work but doesn't.  It is almost like the 
libssl .so is not being made available to the included loadmodule processes.


HELP!!





From: Joost de Heer [EMAIL PROTECTED]
Subject: [EMAIL PROTECTED] Re: Error with ssl and php4
Date: Fri, 7 Oct 2005 11:00:36 +0200 (CEST)

 Syntax error on line 1 of /etc/apache2/mods-enabled/ssl.load:
 Cannot load /usr/lib/apache2/modules/mod_ssl.so into server:
 /usr/lib/apache2/modules/mod_ssl.so: undefined symbol: SSL_get_error

Did you install the openssl libraries?

Joost



_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



-
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: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] No Luck wuth VirtualHosts

2005-10-07 Thread kloomis

At 05:27 PM 10/7/2005 +0200, you wrote:
mod-rewrite does not touch anything going from
your server to your
client. If your clients get webpages with the wrong absolute url's
in
them, than this is because the webpages contain these absolute 
URLs,
or the application generating the webpages generates these
URLs.
Hmm.. Ok. Thanks, Krist


[EMAIL PROTECTED] httpd not resolving DNS queries

2005-10-07 Thread Jadel Menard

I have an email validation script written in PHP that works on most
Apache machines I try it on, with the exception (of course) of my production
box that it needs to go on.  This production machine is a Slackware 10.2 box,
running Apache 1.33 and PHP 4.4.0.

The script works if I call it from the command line with PHP -f
filename however, if I try to call the same script from a browser (served by
httpd) the DNS check is never made, and the script returns that the domain of
the email address is invalid.

This sounds to me like httpd is missing whatever modules/plugin it
uses to execute a DNS lookup requested from PHP for a given page.  Why else
would the page work when called from the command line, but fail when called
from httpd?

Thoughts?

Best,
Jadel

-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] httpd not resolving DNS queries

2005-10-07 Thread Davide Bianchi
Jadel Menard wrote:
   This sounds to me like httpd is missing whatever modules/plugin it
 uses to execute a DNS lookup requested from PHP for a given page.

It sounds to me that your *machine* is missing something, Apache
doesn't have anything to do with PHP or DNS.

 would the page work when called from the command line, but fail when called
 from httpd?

Because the Path is different? Because from the CLI you have a SHELL
and as a CGI you don't? Because from the CLI you invoke one version of
PHP while from a CGI you don't?

Davide

-- 
Q: Does Bill Gates use public domain software?
A: Yes, as all of the public has become Bill Gates' domain.

-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] issue with IHS 1.3.26.2

2005-10-07 Thread Mishra, Pawan
Title: Message



Hi 
Guys,

we are 
having an issue with the I.H.S. 1.3.26.2 where the number of "httpd" processes 
keep multiplying until the MaxClient limit is reached and I.H.S. stops 
responding. 

Following is the output of the server_status -

 183054 in state: W , 170482 in state: W 
, 126168 in state: W  175852 in state: W 
, 178818 in state: W , 143104 in state: W 
 181718 in state: W , 183028 in state: W 
, 41540 in state: W  30764 in state: W , 
157298 in state: W , 140012 in state: W  65410 in 
state: W , 25508 in state: W , 122738 in state: W 
 81550 in state: W , 55164 in state: W , 
141140 in state: W  97390 in state: W , 162958 in 
state: W , 55654 in state: W  61810 in state: W 
, 184318 in state: W , 28464 in state: W 
 84742 in state: W , 144784 in state: W 
, 172618 in state: W  197034 in state: W 
, 202750 in state: W , 122886 in state: W 
 68514 in state: W , 82320 in state: W , 
193834 in state: W  172964 in state: W , 29550 in 
state: W , 34794 in state: W  183568 in state: W 
, 164640 in state: W , 150430 in state: W 
 52344 in state: W , 184022 in state: W 
, 113158 in state: W  159814 in state: W 
, 161652 in state: W , 213332 in state: W 
 142700 in state: W , 74314 in state: W 
, 34410 in state: W  211366 in state: W 
, 136414 in state: W , 219898 in state: W 
 201172 in state: W , 163466 in state: W 
, 92352 in state: W  35402 in state: W , 
54280 in state: W , 176012 in state: W  88550 in 
state: W , 113714 in state: W , 37060 in state: W 
 56048 in state: W , 78546 in state: W , 
96782 in state: W  168006 in state: W , 107544 in 
state: W , 27454 in state: W  156344 in state: W 
, 22586 in state: W , 72180 in state: W  
195700 in state: W , 186644 in state: W , 156754 in 
state: W  27748 in state: W , 47610 in state: W 
, 86902 in state: W  133510 in state: W 
, 179894 in state: W , 199384 in state: W 
 28090 in state: W , 188516 in state: W 
, 151120 in state: W  204490 in state: W 
, 201640 in state: W , 173598 in state: W 
 214502 in state: W , 120260 in state: W 
, 49384 in state: W  142170 in state: W 
, 171518 in state: W , 90236 in state: W 
 214050 in state: W , 209644 in state: W 
, 35964 in state: W  220910 in state: W 
, 87088 in state: W , 160732 in state: W 
 19980 in state: W , 199656 in state: W 
, 216000 in state: W  195326 in state: W 
, 212758 in state: W , 169522 in state: W 
 149444 in state: W , 83486 in state: W 
, 146326 in state: W  114574 in state: W 
, 164210 in state: W , 205546 in state: W 
 76112 in state: W , 38510 in state: W , 
115170 in state: W  47198 in state: W , 126976 in 
state: W , 10 in state: W  127586 in state: W 
, 143684 in state: W , 173500 in state: W 
 132138 in state: W , 76520 in state: W 
, 92788 in state: W  158046 in state: W 
, 142518 in state: W , 100264 in state: W 
 176286 in state: W , 162460 in state: W 
, 163720 in state: W  148730 in state: W 
, 205768 in state: W , 91054 in state: W 
 213194 in state: W , 125066 in state: W 
, 111998 in state: W  92488 in state: W 
, 110334 in state: W , 58704 in state: W 
 141670 in state: W , 31462 in state: W 
, 136496 in state: W  65888 in state: W 
, 151812 in state: W , 107076 in state: W 
 179428 in state: W , 198346 in state: W 
, 166778 in state: W  212202 in state: W 
, 35266 in state: W , 100438 in state: W 
 56726 in state: W , 81894 in state: W , 
177978 in state: W  24706 in state: W , 106388 in 
state: W , 215622 in state: W  126634 in state: W 
, 210304 in state: W , 40728 in state: W 
 82742 in state: W , 87978 in state: W , 
181316 in state: W  198702 in state: W , 156148 in 
state: W , 43790 in state: W  184370 in state: W 
, 167800 in state: W , 159432 in state: W 
 213772 in state: W , 152908 in state: W 
, 115204 in state: W  141364 in state: W 
, 131752 in state: W , 131160 in state: W 
 157570 in state: W , 204848 in state: W 
, 122558 in state: W  167364 in state: W 
, 112512 in state: W , 62378 in state: W 
 84406 in state: W , 81066 in state: W , 
177254 in state: W  151614 in state: W , 213554 in 
state: W , 68638 in state: W  211546 in state: W 
, 202952 in state: W , 117824 in state: W 
 143028 in state: W , 104244 in state: W 
, 146470 in state: W  197586 in state: W 
, 41762 in state: W , 43610 in state: W  
142056 in state: W , 215376 in state: W , 46014 in 
state: W  63372 in state: W , 69680 in state: W 
, 76756 in state: W  90542 in state: W , 
27020 in state: W , 93570 in state: W  186050 in 
state: W , 104740 in state: W , 113946 in state: W 
 160868 in state: W , 182556 in state: W 
, 168840 in state: W  90636 in state: W 
, 139678 in state: W , 116004 in state: W 
 63540 in state: W , 88910 in state: W , 
153400 in state: W  95280 in state: W , 210878 in 
state: W , 166266 in state: W  195566 in state: W 
, 191378 in state: W , 120354 in state: W 
 150556 in state: W , 174084 in state: W 
, 155038 in state: W  77734 in state: W 
, 23542 in state: W , 178212 in state: W 
 212304 in state: W , 196114 in state: W 
, 105260 in state: W  

[EMAIL PROTECTED] only 64k per file downloading from my webserver

2005-10-07 Thread Ashley Williams

Apache/2.0.52 Mac OS X Tiger)
Hi,

I'm trying to configure my apache instance to serve jar files so have  
simply added the following entry to my httpd.conf file:


Alias /maven/repository /Users/ashley/Webroot/maven/repository
Directory /Users/ashley/Webroot/maven/repository
Options None
AllowOverride None
Order Allow,Deny
Allow from all
/Directory

As a test I placed a jar file in the repository and went to it's url  
in my browser. Every single time the jar file was only partially  
downloaded so that viewing it with

jar tvf my.jar
always resulted in an unexpected end of file error.

The odd thing is that I run a subversion repository successfully on  
the same server. Any pointers as to where to start looking would be  
great. For completeness I've pasted my conf file below. In case it's  
relevant I've tried to slim it down roughly by removing directory  
listings and some mods that give info about my server.


I saw this in the error logs when I tried to do the download:
[Fri Oct 07 23:57:39 2005] [error] Optional hook test said: GET / 
maven/repository/javax/xml/jaxb-api/1.0.5/jaxb-api-1.0.5.jar HTTP/1.1
[Fri Oct 07 23:57:39 2005] [error] Optional function test said: GET / 
maven/repository/javax/xml/jaxb-api/1.0.5/jaxb-api-1.0.5.jar HTTP/1.1


also I notice that only 64k of the jar file downloads which is bound  
to be important!


It's highly likely that some of my attempts to secure my apache  
instance are causing this problem, not sure where to start though.


Thanks
AW


ServerRoot /sw/var/apache2

IfModule !mpm_winnt.c
IfModule !mpm_netware.c
#LockFile logs/accept.lock
/IfModule
/IfModule

IfModule !mpm_netware.c
IfModule !perchild.c
#ScoreBoardFile logs/apache_runtime_status
/IfModule
/IfModule


IfModule !mpm_netware.c
PidFile /private/var/run/httpd.pid
#PidFile logs/httpd.pid
/IfModule

Timeout 300

KeepAlive On

MaxKeepAliveRequests 100

KeepAliveTimeout 15

IfModule prefork.c
StartServers 5
MinSpareServers  5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild  0
/IfModule

IfModule worker.c
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild  0
/IfModule

IfModule perchild.c
NumServers   5
StartThreads 5
MinSpareThreads  5
MaxSpareThreads 10
MaxThreadsPerChild  20
MaxRequestsPerChild  0
/IfModule

IfModule mpm_winnt.c
ThreadsPerChild 250
MaxRequestsPerChild  0
/IfModule

IfModule beos.c
StartThreads   10
MaxClients 50
MaxRequestsPerThread   1
/IfModule

IfModule mpm_netware.c
ThreadStackSize  65536
StartThreads   250
MinSpareThreads 25
MaxSpareThreads250
MaxThreads1000
MaxRequestsPerChild  0
/IfModule

IfModule mpmt_os2.c
StartServers   2
MinSpareThreads5
MaxSpareThreads   10
MaxRequestsPerChild0
/IfModule

Listen 80

LoadModule access_module /sw/lib/apache2/modules/mod_access.so
LoadModule auth_module /sw/lib/apache2/modules/mod_auth.so
LoadModule file_cache_module /sw/lib/apache2/modules/mod_file_cache.so
LoadModule echo_module /sw/lib/apache2/modules/mod_echo.so
LoadModule charset_lite_module /sw/lib/apache2/modules/ 
mod_charset_lite.so

LoadModule cache_module /sw/lib/apache2/modules/mod_cache.so
LoadModule disk_cache_module /sw/lib/apache2/modules/mod_disk_cache.so
LoadModule mem_cache_module /sw/lib/apache2/modules/mod_mem_cache.so
LoadModule example_module /sw/lib/apache2/modules/mod_example.so
LoadModule case_filter_module /sw/lib/apache2/modules/mod_case_filter.so
LoadModule case_filter_in_module /sw/lib/apache2/modules/ 
mod_case_filter_in.so

LoadModule ext_filter_module /sw/lib/apache2/modules/mod_ext_filter.so
LoadModule include_module /sw/lib/apache2/modules/mod_include.so
LoadModule deflate_module /sw/lib/apache2/modules/mod_deflate.so
LoadModule log_config_module /sw/lib/apache2/modules/mod_log_config.so
LoadModule logio_module /sw/lib/apache2/modules/mod_logio.so
LoadModule env_module /sw/lib/apache2/modules/mod_env.so
LoadModule cern_meta_module /sw/lib/apache2/modules/mod_cern_meta.so
LoadModule setenvif_module /sw/lib/apache2/modules/mod_setenvif.so
LoadModule optional_hook_export_module /sw/lib/apache2/modules/ 
mod_optional_hook_export.so
LoadModule optional_hook_import_module /sw/lib/apache2/modules/ 
mod_optional_hook_import.so
LoadModule optional_fn_import_module /sw/lib/apache2/modules/ 
mod_optional_fn_import.so
LoadModule optional_fn_export_module /sw/lib/apache2/modules/ 
mod_optional_fn_export.so

LoadModule mime_module /sw/lib/apache2/modules/mod_mime.so
LoadModule dav_module /sw/lib/apache2/modules/mod_dav.so
LoadModule status_module /sw/lib/apache2/modules/mod_status.so
LoadModule asis_module /sw/lib/apache2/modules/mod_asis.so
LoadModule cgi_module /sw/lib/apache2/modules/mod_cgi.so
LoadModule dav_fs_module /sw/lib/apache2/modules/mod_dav_fs.so
LoadModule negotiation_module 

[EMAIL PROTECTED] how can I work offline with Apache

2005-10-07 Thread Mahmoud Badreddine
Hi
I have a running web/database server which was running fine at my workplace. We recently upgragded the station and I decided to bring the old one home where I am unable to connect to the Lan at work.

I changed the followig in the httpd.conf 
listen 127.0.0.1:80

and I changed my /etc/hosts file where I now have the following
127.0.0.1 localhost localhost.localdomain

I ran apachectl start 
and I had no problems, but I still can't launch my website. Is there a way to get around that. That is to not have a network connection but still test your website. 
Thank you.
		Yahoo! for Good 
Click here to donate to the Hurricane Katrina relief effort. 


Re: [EMAIL PROTECTED] issue with IHS 1.3.26.2

2005-10-07 Thread Joshua Slive
On 10/7/05, Mishra, Pawan [EMAIL PROTECTED] wrote:

 Hi Guys,

 we are having an issue with the I.H.S. 1.3.26.2 where the number of httpd
 processes keep multiplying until the MaxClient limit is reached and I.H.S.
 stops responding.

I think you'll want to contact IBM about that.  I.H.S. is not an apache product.

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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] enable .htaccess on virtual host

2005-10-07 Thread Joshua Slive
On 10/7/05, Daniel Prieto [EMAIL PROTECTED] wrote:
 Hi all,
 I want to enable .htaccess on my virtual host but I don't seem to get
 it working but it is enable outside the virtual host. Here is my
 httpd.conf and ssl.conf.

You'll need to start by specifying exactly what you are trying to do
with .htaccess and exactly what happens when you try it.

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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] only 64k per file downloading from my webserver

2005-10-07 Thread Joshua Slive
On 10/7/05, Ashley Williams [EMAIL PROTECTED] wrote:
 Apache/2.0.52 Mac OS X Tiger)
 I saw this in the error logs when I tried to do the download:
 [Fri Oct 07 23:57:39 2005] [error] Optional hook test said: GET /
 maven/repository/javax/xml/jaxb-api/1.0.5/jaxb-api-1.0.5.jar HTTP/1.1
 [Fri Oct 07 23:57:39 2005] [error] Optional function test said: GET /
 maven/repository/javax/xml/jaxb-api/1.0.5/jaxb-api-1.0.5.jar HTTP/1.1

 also I notice that only 64k of the jar file downloads which is bound
 to be important!

You have every single apache module loaded, including experimental
modules and developer-only modules.  You shouldn't be doing that.  Go
back to the default set of modules.

From the above messages, you may be having a problem with one of the
optional_*_export modules.

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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]