[EMAIL PROTECTED] htaccess with mod_auth_mysql

2006-01-27 Thread Daniel Silva
Hi,

I have a .htaccess file in a direcory of my web server, that contains:
---
AuthName "Conteudo exclusivo"
AuthType Basic

AuthMySQLUser usuario
AuthMySQLPassword senha
AuthMySQLDB banco
AuthMySQLUserTable tabela
AuthMySQLNameField usuario
AuthMySQLPasswordField senha

require valid-user

ErrorDocument 401 /solicitar_acesso.php
---

The question is: when i try to access a file in the protected
directory, cancelling the authentication, the file
"solicitar_acesso.php" is loaded, but on load, trying to open CSS
files e images of the page, the authentication is required again, and
if don´t make it the files don´t open. The file "solicitar_acesso.php"
and others files aren´t in the protected directory.

RHEL3
httpd-2.0.46-25.ent
mod_auth_mysql-20030510-1.ent

Any idea?

PS: Sorry my poor english.

[]s
Daniel

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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]



Fw: [EMAIL PROTECTED] False "Out of Memory" errors - on new Suse Linux SLES 9.1 - Apache 2.0.54 - Blade servers running 4 GB of RAM

2006-01-27 Thread Jignesh Badani
Can somebody me in debugging the "Out of Memory" error we have been 
having...

regards
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- - 
Jignesh Badani
Intranet/Extranet Technical Services

- Forwarded by Jignesh Badani/MMSA/MMCX on 01/27/2006 06:38 PM -

Jignesh Badani <[EMAIL PROTECTED]> 
01/24/2006 01:23 PM
Please respond to
users@httpd.apache.org


To
users@httpd.apache.org
cc
users@httpd.apache.org
Subject
Re: [EMAIL PROTECTED] False "Out of Memory" errors - on new Suse Linux SLES 
9.1 - Apache 2.0.54 - Blade servers running 4 GB of RAM






Keith, my problem is not that. I am not running out of physical memory. 
But Apache sees it that way and logs an error "Out of Memory"

I have 4GB of RAM on each server and the available RAM is over 2.5GB on 
each server. So what memory is Apache runing out of ?

regards
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- - 
Jignesh Badani
Intranet/Extranet Technical Services






[EMAIL PROTECTED] 
01/24/2006 12:57 AM
Please respond to
users@httpd.apache.org


To
users@httpd.apache.org
cc

Subject
Re: [EMAIL PROTECTED] False "Out of Memory" errors - on new Suse Linux SLES 
9.1 - Apache 2.0.54 - Blade servers running 4 GB of RAM







>From what I have been reading, if I understand it correctly, 
apache will try to hang on to as much memory it has 
allocated for processes from the OS, even when it is not to 
busy anymore. This directive should limit the amount of 
memory you allow apache to cling to, after a busy period. 

Otherwise, it will just hang on to the allocated memory 
without returning it to the OS, even when it no longer 
requires it. So setting a value of 0 will make apache hog 
whatever memory it has taken from the OS indefinately.

Keith


In theory, theory and practice are the same;
In practice they are not. 

On Mon, 23 Jan 2006, Jignesh Badani wrote:

> To: users@httpd.apache.org From: Jignesh Badani 
> <[EMAIL PROTECTED]> Subject: Re: [EMAIL PROTECTED] False "Out 
> of Memory" errors - on new Suse Linux
> SLES 9.1 - Apache 2.0.54 - Blade servers running 4 GB of RAM
> 
> Thanks Kieth, well I learned something new, but no I do not have the 
> parameter set anywhere in my conf. So MaxMemFree should be unlimited, 
> right ?
> 
> regards
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- 
> - - 
> Jignesh Badani
> Intranet/Extranet Technical Services
> 
> 
> 
> 
> [EMAIL PROTECTED] 
> 01/23/2006 03:24 PM
> Please respond to
> users@httpd.apache.org
> 
> 
> To
> users@httpd.apache.org
> cc
> 
> Subject
> Re: [EMAIL PROTECTED] False "Out of Memory" errors - on new Suse Linux SLES 
> 9.1 - Apache 2.0.54 - Blade servers running 4 GB of RAM
> 
> 
> 
> 
> 
> 
> 
> Is this of any relevance Jignesh?
> 
> 
> MaxMemFree Directive
> 
> Description:
> Maximum amount of memory that the main allocator is allowed 
> to hold without calling free()
> 
> Syntax:
> MaxMemFree KBytes
> 
> Default:
> MaxMemFree 0
> 
> Context:
> server config
> 
> Status:
> MPM
> 
> Module:
> beos, leader, mpm_netware, prefork, threadpool, worker, 
> mpm_winnt
> 
> The MaxMemFree directive sets the maximum number of free 
> Kbytes that the main allocator is allowed to hold without 
> calling free(). When not set, or when set to zero, the 
> threshold will be set to unlimited.
> 
> Keith
> 
> In theory, theory and practice are the same;
> In practice they are not. 
> 
> On Mon, 23 Jan 2006, Jignesh Badani wrote:
> 
> > To: users@httpd.apache.org From: Jignesh Badani 
> > <[EMAIL PROTECTED]> Subject: [EMAIL PROTECTED] False "Out of 
> > Memory" errors - on new Suse Linux SLES
> > 9.1 - Apache 2.0.54 - Blade servers running 4 GB of RAM
> > 
> > Hello all,
> > 
> > We recently migrated from a very stable Solaris 8 
> > /Apache2.0.48/Siteminder Web Agent platform to SLES 9.1 on 
> > IBM Blade (Intel) servers running Apache 2.0.54 with 4 GB 
> > of RAM.
> > 
> > We have 3 load balanced servers and each are running 3 instance of 
> > Apache2.0.54.
> > 
> > Almost on a daily basis we see "out of memory" errors on the most 
> heavily 
> > used instance (Dealer Extranet) serving about 5000-7000 users daily 
and 
> > about 30-60 simultaneous users (or about 100-150 request).
> > 
> > But when we look at the usage (top or vmstat), there is 
> > tonnes of memory left (about 2.5GB atleast). We also have 
> > configured about 2GB of swap, but swap usage is 0k.
> > 
> > We do have any content on this servers apart from the login pages 
> > (Siteminder Agent), nor we have run any php, perl, etc. Everything is 
> > proxied back to the backend servers (JAVA/ASP).
> > 
> > We never had this issue on the Solaris running 2.0.48 and 
> > the same version of Web Agent.
> > 
> > Is there a hidden setting available to tell Apache to use all 
available 
> > memory for its processing / caching ? BTW, we do have even mod_cache 
> > enabled !
> > 
> > Anything I can run to capture some more debug info, could 
> > get 

[EMAIL PROTECTED] mod_auth_ldap mod_auth_mysql on OS-X

2006-01-27 Thread William Paredes
Just before going "live" I noticed that mod_auth_mysql and mod_auth_ldap 
do not "fail through" properly when protecting the same realm.


1] The mysql protected area below works as expected. entering a bad 
password or unknown user produces the correct response.
[Fri Jan 27 19:34:10 2006] [error] [client 129.98.98.98] user jones: 
password mismatch: /area51/
[Fri Jan 27 19:34:18 2006] [error] [client 129.98.98.98] MySQL user  not 
found: /area51/


2] The LDAP protected area works but it NEEDS to have the mysql 
directives in place with AuthMysqlEnable set to off otherwise the server 
returns the following error:


[Fri Jan 27 19:15:03 2006] [error] [client 129.98.98.98] MySQL user 
jones not found: /area52
[Fri Jan 27 19:15:59 2006] [error] [client 129.98.98.98] MySQL ERROR: 
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)


It's as if mod_auth_mysql is "stuck" in memory. With the mysql 
directives in place the realm is properly protected.


3] The problem is in the third realm with LDAP not "failing through" to 
MYSQL.  The server always ignores LDAP regardless of the 
AuthLDAPAuthoritative or AuthMySQLAuthoritative settings. Swapping the 
order of the LDAP and MYSQL directives has no effect. A bad password 
always results in:


[Fri Jan 27 19:52:41 2006] [error] [client 129.98.98.98] user jones: 
password mismatch: /area53

. . . which is the mysql error return.

I know that the module load order is NOT supposed to matter but 
systematically changing the load order of mod_auth_mysql and 
mod_ladp/mod_auth_ldap produces the opposite results. The end result is 
that that the MYSQL-LDAP protected realm does not "fail through" properly.


4] I've scoured the web, groups and blogs for any hint in using both 
mod_auth_ldap together with mod_auth_mysql to protect a realm. I'm now 
considering looking at Apache2.2


Any hint or area to look at would be much appreciated!

System stats

OS=OS-X [10.3.9]
Apache = 2.0.55
mod_auth_ldap, mod_ldap = [apache's own module]
mod_auth_mysql = 3.0 [sourceforge]

Extracts from http.conf =
-
# Dynamic Shared Object (DSO) Support
LoadModule mysql_auth_module  modules/mod_auth_mysql.so
LoadModule access_module modules/mod_access.so
LoadModule auth_module modules/mod_auth.so
LoadModule ldap_module modules/mod_ldap.so
LoadModule auth_ldap_module modules/mod_auth_ldap.so
LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule env_module modules/mod_env.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule asis_module modules/mod_asis.so
#LoadModule info_module modules/mod_info.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule imap_module modules/mod_imap.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule php5_modulemodules/libphp5.so


   Options FollowSymLinks
   AllowOverride None
   allow from all



   Options FollowSymLinks
   AuthType Basic
   AuthName "area51-MySQL protected"
   AuthMySQLHost xxx..xxx.xxx
   AuthMySQLUser httpd
   AuthMySQLPassword x
   AuthMySQLDB http_auth
   AuthMysqlUserTable mysql_auth
   AuthMySQLNameField username
   AuthMySQLPasswordField passwd
   AuthMysqlGroupTable mysql_groups
   AuthMySQLGroupField groups
   AuthMySQLAuthoritative on
   AuthMySQLEnable on
   #AuthMySQLNoPasswd off
   AuthMySQLPwEncryption crypt
   require group administration



  Options FollowSymLinks
  AuthType Basic
  AuthName "ldap secured - area 52"
#Disabled mod_auth_mysql place holder- this has to do with the way 
mod_auth_mysql
#sits in memory. Will not work any other way. mysql vs ldap order not 
important.

#Very strange.
  AuthMySQLAuthoritative off
  AuthMySQLHost xxx..xxx.xxx
  AuthMySQLUser httpd
  AuthMySQLPassword x
  AuthMySQLDB http_auth
  AuthMysqlUserTable mysql_auth
  AuthMySQLNameField username
  AuthMySQLPasswordField passwd
  AuthMysqlGroupTable mysql_groups
  AuthMySQLGroupField groups
  AuthMySQLEnable off
  #AuthMySQLNoPasswd off
  AuthMySQLPwEncryption crypt
  require group meduser teaching_faculty testing administration
#allow authenticated access - ldap
  AuthLDAPURL ldap://..xxx.xxx:389/ou=people,dc=,dc=xxx,dc=xxx
  AuthLDAPAuthoritative on
  require valid-user



   Options FollowSymLinks
   AuthType Basic
   AuthName "LDAP and mysql secured area 53"
 #mod_auth_ldap
   AuthLDAPAuthoritative off
   AuthLDAPURL 
"ldap://..xxx.xxx:389/ou=people,dc=,dc=xxx,dc=xxx";

   require valid-user
#mod_auth_mysql
   AuthMySQLHost xxx..xxx.xxx
   AuthMySQLUser httpd
   AuthMySQLPassword x
   AuthMySQLDB http_auth
   AuthMysqlUserTable mysql_auth
   AuthMySQLNameField username
   AuthMySQLPasswordField passwd
   AuthMysqlGroupTable mysql_groups
   AuthMySQLGroupFiel

Re: [EMAIL PROTECTED] Yet another Redirect/ RedirectMatch question

2006-01-27 Thread Mukarram Syed
Hi,I am trying to reproduce the error that you all have mentioned in your emails to me.  Where do you get the part where it says:  [HTTP/1.1 *301 Moved Permanently*\r\nServer:  Netscape-Enterprise/6.0\r\nDate: Fri, 27 Jan 2006 20:30: 20 GMT\r\nContent-length: 0\r\n*Location:  http://www.esalton.com/store/application*\r\nConnection: keep-alive\r\n\r]I have used Live Http Headers and when I hit http://maxim-toastmaster.com I get the following:http://www.esalton.com/store/applicationGET /store/application HTTP/1.1Host: www.esalton.comUser-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/2005 Firefox/1.5Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5Accept-Language: en-us,en;q=0.5Accept-Encoding: gzip,deflateAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7Keep-Alive: 300Connection:
 keep-aliveCookie: root.autoUserLoginId=muksyed; JSESSIONID=15BA62B88A1C9A40D8C02445B8D06E40.sprod1If-Modified-Since: Mon, 22 Nov 2004 19:19:56 GMTIf-None-Match: "369b8e-649-bde1af00;b025fec0"HTTP/1.x 404 Not FoundDate: Fri, 27 Jan 2006 22:42:58 GMTServer: Apache/2.0.46 (Red Hat)Last-Modified: Mon, 14 Nov 2005 18:22:29 GMTEtag: "48264-649-8dc58340;8dc58340"Accept-Ranges: bytesContent-Length: 1609Connection: closeContent-Type: text/html; charset=UTF-8Please help.  I am confused.Thanks very much for the help provided so far.Mukarram Syed <[EMAIL PROTECTED]> wrote: Thanks Anderson.To answer the last part " Yet, it should work... Anyways, I think your best shot would be to redirect http://www.max-toastmaster.com/ directly to
 http://www.esalton.com/control/main/ , instead of just http://www.esalton.com/ ."I tried that i.e.,  ServerName maxim-toastmaster.com  Redirect / http://www.esalton.com/control/main/It still doesn't work.Thanks for your help.  They help narrow down to the problem immensely.Regards-Mukarram Anderson Miranda <[EMAIL PROTECTED]> wrote: Hi Syed, List...First off, I'm getting the headers from my proxy log files (squid).When I try to access http://www.esalton.com/ , I'm getting this:[HTTP  /1.1  *302 Moved Temporarily*\r\nDate: Fri, 27 Jan 2006 20:31:52 GMT\r\nServer: Apache/2.0.46 (Red Hat)\r\nSet-Cookie: JSESSIONID=448CA44547341BDABA5A08DA36180DAB.sprod1; Path=/\r\n*Locati
 on:
 http://www.esalton.com/control/main*\r\nContent-Type: text/html;charset=ISO-8859-1\r\nContent-Length: 0\r\nConnection: close\r\n\r]which means you have, somewhere, a Temporary Redirection for the http://www.esalton.com/ address.When I try to access http://www.maxim-toastmaster.com/ , I'm getting this:[HTTP/1.1 *301 Moved Permanently*\r\nServer: Netscape-Enterprise/6.0\r\nDate: Fri, 27 Jan 2006 20:30:20 GMT\r\nContent-length: 0\r\n*Location: http://www.esalton.com/store/application*\r\nConnection: keep-alive\r\n\r]which means you have, somewhere, a Permanent Redirection for the http://www.maxim-toastmaster.com/ address.I'm not 100% sure how HTTP protocol works with such redirections but, it's at least confusing to   have an  address permanently redirected to a second address and then, to have this second address temporarily redirected to a third one... Yet, it should work... Anyways, I think your 
 best
 shot would be to redirect http://www.max-toastmaster.com/ directly to http://www.esalton.com/control/main/ , instead of just http://www.esalton.com/ .Hope this all can help you.Regards,asm__Mukarram Syed escreveu:>> Thanks Joost.  This helps.  What do we do next since it is not > pointing to Apache.  It looks like someone else is displaying this 404 > error page.>> Silly question...How did you look at the headers.  I downloaded http > liveheaders for firefox and when I opened it up, I am not seeing > anything in the headers.> I know this is slightly out of scope, but I appreciate the help.>> thanks> -Mukarram Syed.>> */Joost de   Heer  <[EMAIL PROTECTED]>/* wrote:>> Mukarram Syed wrote:> > Hi.> > Thanks for replying Joshua. Sorry for delay in responding back.>
 >> > Here is my redirect:> >> >> > ServerName maxim-toastmaster.com> > Redirect / http://www.esalton.com/> >>> Here are the headers when I go to 'http://maxim-toastmaster.com':>> HTTP/1.x 301 Moved Permanently> Server: Netscape-Enterprise/6.0> Date: Fri, 27 Jan 2006 09:51:16 GMT> Content-Length: 0> Location: http://www.esalton.com/store/application> Connection: close>> I.e. a Sun ONE webserver is answering and not Apache>> Joost>>> -> The official User-To-User support forum of t  he  Apache HTTP Server> Project.> See for more info.> To unsubscribe, e-mail: [EMAIL PROTECTED]> " from the digest:
 [EMAIL PROTECTED]> For additional commands, e-mail: [EMAIL PROTECTED]>>> > Do you Yahoo!?> With a free 1 GB, there's more in store with Yahoo! Mail. >  -

Re: [EMAIL PROTECTED] Apache 2.0 running but http://localhost won't work.

2006-01-27 Thread Benjamin Adams
If you are behind a router You have to set your ServerName to your  
outside ip.



On Jan 27, 2006, at 4:17 PM, Boysenberry Payne wrote:


You might need to set:

ServerName 127.0.0.1

in your httpd.conf file


Boysenberry

boysenberrys.com | habitatlife.com | selfgnosis.com

On Jan 27, 2006, at 12:41 PM, Chris D'Ambrosio wrote:

hi, i just recently downloaded Apache 2.0 to my system  
(apache_2.0.55-win32-x86-no_ssl.msi)


i'm running windows XP home edition.

the msi would not start downloading until i turned off my  
wireless connection (not sure if this could be the root of the  
problem). once turned off the msi wizard began. i selected a  
typical install... setting my network domain and server domain to  
"localhost".


once complete, i noticed the feather in the taskbar with the  
green light indicating that the apache application had downloaded  
successfully and was running properly. i then opened up an  
internet explorer browser and typed:


http://localhost/

this is where the problem occ urs. the page will not load. I get  
your typical, "the page cannot be displayed" message. i even  
tried shutting down my compu

ter and
starting apache. still no luck. i've also tried this with my  
wireless connection on and off.


seems like i'm close but can figure out why i cannot see the  
default apache page in my browser.


any help would be appreciated.
thanks.
chris.



-
The official User-To-User support forum of the Apache HTTP Server  
Project.

See 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]





-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] Apache 2.0 running but http://localhost won't work.

2006-01-27 Thread java_nutt
You also need to make sure you have some kind of index.htm(l) file in your 
DocumentRoot folder.  Apache can't serve you a page if there isn't one to 
serve.  I only bring this up because you didn't specify.

James

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] Yet another Redirect/ RedirectMatch question

2006-01-27 Thread Mukarram Syed
Thanks Anderson.To answer the last part " Yet, it should work... Anyways, I think your best shot would be to redirect http://www.max-toastmaster.com/ directly to http://www.esalton.com/control/main/ , instead of just http://www.esalton.com/ ."I tried that i.e.,  ServerName maxim-toastmaster.com  Redirect / http://www.esalton.com/control/main/It still doesn't work.Thanks for your help.  They help narrow down to the problem immensely.Regards-Mukarram Anderson Miranda <[EMAIL PROTECTED]> wrote: Hi Syed, List...First off, I'm getting the headers from my proxy log files (squid).When I try to access http://www.esalton.com/ , I'm getting this:[HTTP
 /1.1
 *302 Moved Temporarily*\r\nDate: Fri, 27 Jan 2006 20:31:52 GMT\r\nServer: Apache/2.0.46 (Red Hat)\r\nSet-Cookie: JSESSIONID=448CA44547341BDABA5A08DA36180DAB.sprod1; Path=/\r\n*Location: http://www.esalton.com/control/main*\r\nContent-Type: text/html;charset=ISO-8859-1\r\nContent-Length: 0\r\nConnection: close\r\n\r]which means you have, somewhere, a Temporary Redirection for the http://www.esalton.com/ address.When I try to access http://www.maxim-toastmaster.com/ , I'm getting this:[HTTP/1.1 *301 Moved Permanently*\r\nServer: Netscape-Enterprise/6.0\r\nDate: Fri, 27 Jan 2006 20:30:20 GMT\r\nContent-length: 0\r\n*Location: http://www.esalton.com/store/application*\r\nConnection: keep-alive\r\n\r]which means you have, somewhere, a Permanent Redirection for the http://www.maxim-toastmaster.com/ address.I'm not 100% sure how HTTP protocol works with such redirections but, it's at least confusing to 
 have an
 address permanently redirected to a second address and then, to have this second address temporarily redirected to a third one... Yet, it should work... Anyways, I think your best shot would be to redirect http://www.max-toastmaster.com/ directly to http://www.esalton.com/control/main/ , instead of just http://www.esalton.com/ .Hope this all can help you.Regards,asm__Mukarram Syed escreveu:>> Thanks Joost.  This helps.  What do we do next since it is not > pointing to Apache.  It looks like someone else is displaying this 404 > error page.>> Silly question...How did you look at the headers.  I downloaded http > liveheaders for firefox and when I opened it up, I am not seeing > anything in the headers.> I know this is slightly out of scope, but I appreciate the help.>> thanks> -Mukarram Syed.>> */Joost de
  Heer
 <[EMAIL PROTECTED]>/* wrote:>> Mukarram Syed wrote:> > Hi.> > Thanks for replying Joshua. Sorry for delay in responding back.> >> > Here is my redirect:> >> >> > ServerName maxim-toastmaster.com> > Redirect / http://www.esalton.com/> >>> Here are the headers when I go to 'http://maxim-toastmaster.com':>> HTTP/1.x 301 Moved Permanently> Server: Netscape-Enterprise/6.0> Date: Fri, 27 Jan 2006 09:51:16 GMT> Content-Length: 0> Location: http://www.esalton.com/store/application> Connection: close>> I.e. a Sun ONE webserver is answering and not Apache>> Joost>>> -> The official User-To-User support forum of t
 he
 Apache HTTP Server> Project.> See for more info.> To unsubscribe, e-mail: [EMAIL PROTECTED]> " from the digest: [EMAIL PROTECTED]> For additional commands, e-mail: [EMAIL PROTECTED]>>> > Do you Yahoo!?> With a free 1 GB, there's more in store with Yahoo! Mail. >  -The official User-To-User support forum of the Apache HTTP Server Project.See  for more info.To unsubscribe, e-mail: [EMAIL PROTECTED]   "   from the digest: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]Mukarram
 Syed[EMAIL PROTECTED]
		  
What are the most popular cars? Find out at Yahoo! Autos 

Re: [EMAIL PROTECTED] Apache 2.0 running but http://localhost won't work.

2006-01-27 Thread Boysenberry Payne

You might need to set:

ServerName 127.0.0.1

in your httpd.conf file


Boysenberry

boysenberrys.com | habitatlife.com | selfgnosis.com

On Jan 27, 2006, at 12:41 PM, Chris D'Ambrosio wrote:

hi, i just recently downloaded Apache 2.0 to my system 
(apache_2.0.55-win32-x86-no_ssl.msi)

 
i'm running windows XP home edition.
 
the msi would not start downloading until i turned off my wireless 
connection (not sure if this could be the root of the problem). once 
turned off the msi wizard began. i selected a typical install... 
setting my network domain and server domain to "localhost".

 
once complete, i noticed the feather in the taskbar with the green 
light indicating that the apache application had downloaded 
successfully and was running properly. i then opened up an internet 
explorer browser and typed:

 
http://localhost/
 
this is where the problem occ urs. the page will not load. I get your 
typical, "the page cannot be displayed" message. i even tried 
shutting down my compu

ter and
starting apache. still no luck. i've also tried this with my wireless 
connection on and off.

 
seems like i'm close but can figure out why i cannot see the default 
apache page in my browser.

 
any help would be appreciated.
thanks.
chris.



-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] perl and suexec

2006-01-27 Thread Victor Sterpu

I configured apache suexec with php.
Now I want to do the same with apache suexec and perl, but I get a 
"Premature end of script headers".


This is the only error in the logs.
It a make su with the user of the virtual domain, I can execute 
succesfuly the perl program(and the result is a html page).






-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] Yet another Redirect/ RedirectMatch question

2006-01-27 Thread Anderson Miranda

Hi Syed, List...

First off, I'm getting the headers from my proxy log files (squid).

When I try to access http://www.esalton.com/ , I'm getting this:
[HTTP/1.1 *302 Moved Temporarily*\r\nDate: Fri, 27 Jan 2006 20:31:52 
GMT\r\nServer: Apache/2.0.46 (Red Hat)\r\nSe
t-Cookie: JSESSIONID=448CA44547341BDABA5A08DA36180DAB.sprod1; 
Path=/\r\n*Location: http://www.esalton.com/control/main*\r\nCon
tent-Type: text/html;charset=ISO-8859-1\r\nContent-Length: 
0\r\nConnection: close\r\n\r]


which means you have, somewhere, a Temporary Redirection for the 
http://www.esalton.com/ address.


When I try to access http://www.maxim-toastmaster.com/ , I'm getting this:
[HTTP/1.1 *301 Moved Permanently*\r\nServer: 
Netscape-Enterprise/6.0\r\nDate: Fri, 27 Jan 2006 20:30:
20 GMT\r\nContent-length: 0\r\n*Location: 
http://www.esalton.com/store/application*\r\nConnection: keep-alive\r\n\r]


which means you have, somewhere, a Permanent Redirection for the 
http://www.maxim-toastmaster.com/ address.


I'm not 100% sure how HTTP protocol works with such redirections but, 
it's at least confusing to have an address permanently redirected to a 
second address and then, to have this second address temporarily 
redirected to a third one... Yet, it should work... Anyways, I think 
your best shot would be to redirect http://www.max-toastmaster.com/ 
directly to http://www.esalton.com/control/main/ , instead of just 
http://www.esalton.com/ .


Hope this all can help you.

Regards,
asm

__
Mukarram Syed escreveu:



Thanks Joost.  This helps.  What do we do next since it is not 
pointing to Apache.  It looks like someone else is displaying this 404 
error page.


Silly question...How did you look at the headers.  I downloaded http 
liveheaders for firefox and when I opened it up, I am not seeing 
anything in the headers.

I know this is slightly out of scope, but I appreciate the help.

thanks
-Mukarram Syed.

*/Joost de Heer <[EMAIL PROTECTED]>/* wrote:

Mukarram Syed wrote:
> Hi.
> Thanks for replying Joshua. Sorry for delay in responding back.
>
> Here is my redirect:
>
>
> ServerName maxim-toastmaster.com
> Redirect / http://www.esalton.com/
>

Here are the headers when I go to 'http://maxim-toastmaster.com':

HTTP/1.x 301 Moved Permanently
Server: Netscape-Enterprise/6.0
Date: Fri, 27 Jan 2006 09:51:16 GMT
Content-Length: 0
Location: http://www.esalton.com/store/application
Connection: close

I.e. a Sun ONE webserver is answering and not Apache

Joost


-
The official User-To-User support forum of the Apache HTTP Server
Project.
See for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Do you Yahoo!?
With a free 1 GB, there's more in store with Yahoo! Mail. 
 





-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] Apache directives

2006-01-27 Thread Brenda Washington


 
o If you want freely available support for running Apache please join the   Apache user community by subscribing to Users Mailing List at   http://httpd.apache.org/userslist.html or one of the following USENET   newsgroups:   comp.infosystems.www.servers.unix   comp.infosystems.www.servers.ms-windows   Also available at:   http://groups.google.com/groups?group=comp.infosystems.www.servers>>> [EMAIL PROTECTED] 01/27/06 12:26 PM >>>

brenda, wish i could help you but i only joined the group to get help myself... not really that knowledgeable yet... still learning. how did you find my email address and is their a larger list of participants so that i might ask my own question? i joined the group but can't find where to ask my question.
 
thanks.
chris.Brenda Washington <[EMAIL PROTECTED]> wrote:



I upgraded my apache server from apache 1.3 with Openldap-2.0 and mod_ssl-2.0 to apache 2.0. With openldap-2.0 and mod_ssl-2.0 running.  I configured the mod_auth_ldap directives AuthLDAPBindAsUser and AuthLDAPcryptPasswords in the apache 1.3 httpd. conf file which worked great with my ldap server and portal. These directives are no longer available for apache 2.0. What directive in apache 2.0 can I replace the directives with that will work with my ldap server and portal? I can connect to the ldap server, but the portal does not work. These are the mod_auth_ldap directives I have in apache 1.3 httpd.conf file. 
 
AllowOverride Noneorder allow,denyallow from allAuthName 
AuthType BasicAuthLDAPHosts 
AuthLDAPBindAsUser 
AuthLDAPBaseDN  
AuthLDAPUserKey AuthLDAPCryptPasswords require valid-user
These are the mod_auth_ldap dire ctive for apache 2.0 in my ssl.config file. 
 
AllowOverride Noneorder allow,denyallow from allAuthName "Faculty"AuthType BasicAuthLDAPUrl ldap:// urlAuthLDAPRemoteUserIsDN onrequire valid-user
 
 



Re: [EMAIL PROTECTED] Yet another Redirect/ RedirectMatch question

2006-01-27 Thread Mukarram Syed
Thanks Joost.  This helps.  What do we do next since it is not pointing to Apache.  It looks like someone else is displaying this 404 error page.Silly question...How did you look at the headers.  I downloaded http liveheaders for firefox and when I opened it up, I am not seeing anything in the headers.I know this is slightly out of scope, but I appreciate the help.thanks-Mukarram Syed.Joost de Heer <[EMAIL PROTECTED]> wrote: Mukarram Syed wrote:> Hi.> Thanks for replying Joshua.  Sorry for delay in responding back.>> Here is my redirect:>> > ServerName maxim-toastmaster.com> Redirect / http://www.esalton.com/> Here are the headers when I go to
 'http://maxim-toastmaster.com':HTTP/1.x 301 Moved PermanentlyServer: Netscape-Enterprise/6.0Date: Fri, 27 Jan 2006 09:51:16 GMTContent-Length: 0Location: http://www.esalton.com/store/applicationConnection: closeI.e. a Sun ONE webserver is answering and not ApacheJoost-The official User-To-User support forum of the Apache HTTP Server Project.See  for more info.To unsubscribe, e-mail: [EMAIL PROTECTED]   "   from the digest: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]
		Do you Yahoo!? 
With a free 1 GB, there's more in store with Yahoo! Mail.

[EMAIL PROTECTED] Apache for embedded arm - seeking advice

2006-01-27 Thread yan seiner
I am not an apache guru  I've managed to set up a few websites, 
which so far run and do what they need to do, but I am not very 
knowledgeable about apache as a developer, which is the role I find 
myself in.


I am working on an embedded arm project.  I've been trying (so far 
unsuccessfully) to build apache from source, using a cross-tool chain...


I really don't care if I use 1.3 or 2.x; I just need something that 
compiles from source so that we can document the build process.


All I really need is PHP+ming support... Nothing else. No virtual 
hosting, nothing fancy I just need to serve up a few pages  I 
would appreciate any suggestions, both for ./confiugure options - what 
can I safely jettison if I don't care about security, will only serve 
static and php pages, and don't ever want apache to write anything to 
disk


In the build process, I've gotten as far as PTHREADS in the configure 
for 2.2, where ./configure dies with


checking for PTHREAD_PROCESS_SHARED in pthread.h... yes
checking for pthread_mutexattr_setpshared... yes
checking for working PROCESS_SHARED locks... configure: error: cannot 
run test program while cross compiling

See `config.log' for more details.

Unfortunately config.log doesn't give any details.  I can't hit on a 
magic combination of ac_*=yes to get it to go past that step


1.3 dies during the build because it tries to build some executables, 
and the build script doesn't allow for HOST_CC and BUILD_CC...


Anyone have a hacked 1.3 build script for cross compiling?

I've googled for answers, and while this seems to be an FAQ, there 
appear to be precious few answers.


Any information or pointers to docs welcome (and if I missed a doc 
somewhere, apologies)


--Yan

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] Apache directives

2006-01-27 Thread Chris D'Ambrosio
brenda, wish i could help you but i only joined the group to get help myself... not really that knowledgeable yet... still learning. how did you find my email address and is their a larger list of participants so that i might ask my own question? i joined the group but can't find where to ask my question.     thanks.  chris.Brenda Washington <[EMAIL PROTECTED]> wrote:I upgraded my apache server from apache 1.3 with Openldap-2.0 and mod_ssl-2.0 to apache 2.0. With openldap-2.0 and mod_ssl-2.0 running.  I configured the mod_auth_ldap directives AuthLDAPBindAsUser and AuthLDAPcryptPasswords in the apache 1.3 httpd.
 conf
 file which worked great with my ldap server and portal. These directives are no longer available for apache 2.0. What directive in apache 2.0 can I replace the directives with that will work with my ldap server and portal? I can connect to the ldap server, but the portal does not work. These are the mod_auth_ldap directives I have in apache 1.3 httpd.conf file.      AllowOverride Noneorder allow,denyallow from allAuthName   AuthType BasicAuthLDAPHosts   AuthLDAPBindAsUser   AuthLDAPBaseDN    AuthLDAPUserKey AuthLDAPCryptPasswords require valid-user  These are the mod_auth_ldap dire
 ctive
 for apache 2.0 in my ssl.config file.      AllowOverride Noneorder allow,denyallow from allAuthName "Faculty"AuthType BasicAuthLDAPUrl ldap:// urlAuthLDAPRemoteUserIsDN onrequire valid-user        

[EMAIL PROTECTED] Apache 2.0 running but http://localhost won't work.

2006-01-27 Thread Chris D'Ambrosio
hi, i just recently downloaded Apache 2.0 to my system (apache_2.0.55-win32-x86-no_ssl.msi)     i'm running windows XP home edition.     the msi would not start downloading until i turned off my wireless connection (not sure if this could be the root of the problem). once turned off the msi wizard began. i selected a typical install... setting my network domain and server domain to "localhost".     once complete, i noticed the feather in the taskbar with the green light indicating that the apache application had downloaded successfully and was running properly. i then opened up an internet explorer browser and typed:     http://localhost/     this is where the problem occ
 urs. the
 page will not load. I get your typical, "the page cannot be displayed" message. i even tried shutting down my computer andstarting apache. still no luck. i've also tried this with my wireless connection on and off.     seems like i'm close but can figure out why i cannot see the default apache page in my browser.     any help would be appreciated.  thanks.  chris.

[EMAIL PROTECTED] Apache directives

2006-01-27 Thread Brenda Washington



I upgraded my apache server from apache 1.3 with Openldap-2.0 and mod_ssl-2.0 to apache 2.0. With openldap-2.0 and mod_ssl-2.0 running.  I configured the mod_auth_ldap directives AuthLDAPBindAsUser and AuthLDAPcryptPasswords in the apache 1.3 httpd.conf file which worked great with my ldap server and portal. These directives are no longer available for apache 2.0. What directive in apache 2.0 can I replace the directives with that will work with my ldap server and portal? I can connect to the ldap server, but the portal does not work. These are the mod_auth_ldap directives I have in apache 1.3 httpd.conf file. 
 
AllowOverride Noneorder allow,denyallow from allAuthName 
AuthType BasicAuthLDAPHosts 
AuthLDAPBindAsUser 
AuthLDAPBaseDN  
AuthLDAPUserKey AuthLDAPCryptPasswords require valid-user
These are the mod_auth_ldap directive for apache 2.0 in my ssl.config file. 
 
AllowOverride Noneorder allow,denyallow from allAuthName "Faculty"AuthType BasicAuthLDAPUrl ldap:// urlAuthLDAPRemoteUserIsDN onrequire valid-user
 
 


RE: [EMAIL PROTECTED] problem hosting a webpage in apache(asap)..

2006-01-27 Thread Schultz, Gary - COMM



Start simple. Does http://localhost bring 
up the Apache start page? If not the Apache 
servcie isn't running. 
 
 


From: mohan devanoor 
[mailto:[EMAIL PROTECTED] Sent: Friday, January 27, 2006 2:59 
AMTo: users@httpd.apache.orgSubject: [EMAIL PROTECTED] problem 
hosting a webpage in apache(asap)..

Hi Stephane
as you said,  iam  getting the following errors 
 
 In error log file
[Fri Jan 27 14:16:37 2006] [error] [client 172.16.100.4] File does not 
exist: D:/Apache2/htdocs/status.html
 In access log
172.16.100.4 - - [27/Jan/2006:14:16:37 +0530] "GET /status.html HTTP/1.1" 
404 296
 
But i placed status.html in   D:/Apache2/htdocs
 
 
 
 
 
 
 
Axel-Stéphane SMORGRAV 
<[EMAIL PROTECTED]> wrote: 
Some 
  web server replied with a HTTP 404, whether apache or another. What you need 
  to find out is whether it was Apache that replied.Supposing you r 
  ServerRoot is d:/apache2 and your ErrorLog is logs/error.log, please post the 
  relevant parts of the file d:\apache2\logs\error.logIf Apache is 
  actually started, your error log file should contain something 
  like:[Mon Oct 17 09:05:26 2005] [notice] Apache configured -- resuming 
  normal operationsIf Apache served the HTTP 404, you should see 
  something like:[Mon Oct 17 18:51:35 2005] [error] [client 10.0.0.1] 
  File does not exist: d:/apache2/htdocs/hello.htmland the access 
  log10.0.0.1 - - [17/Oct/2005:18:51:35 +0100] "GET /hello.html 
  HTTP/1.1" 404 271 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; 
  Q312461; .NET CLR 1.1.4322)"If nothing like the above appears in any 
  log file, you have another HTTP server running - maybe 
  IIS.-ascsFrom: mohan 
  devanoor [mailto:[EMAIL PROTECTED] Sent: Friday, January 27, 2006 
  9:34 AMTo: users@httpd.apache.orgSubje ct: [EMAIL PROTECTED] problem 
  hosting a webpage in apache(asap)..Hi,Actually i want my web 
  page to run on apache server.(Ex: hello.html)i want it to get it accesed 
  from the same system in whic i have my apache serverEx: 
  http://localhost/Mywebsite then i need to get my webpage (hello.html)I 
  have checked the Document root and placed my hello.html in that 
  directory.i.e d:/apache2/htdocsand tried accessing 
  http://localhost/hello.htmlhttp://localhost/htdocs/hello.htmlbut the 
  page couldnt be served.This is the 
  problem-The 
  official User-To-User support forum of the Apache HTTP Server Project.See 
  for more info.To unsubscribe, 
  e-mail: [EMAIL PROTECTED]" from the digest: 
  [EMAIL PROTECTED]For additional commands, e-mail: 
  [EMAIL PROTECTED]


What are the most popular cars? Find out at Yahoo! 
Autos 


Re: [EMAIL PROTECTED] Re: apache 2.2 mod_proxy failover/lb

2006-01-27 Thread Robby Pedrica




Joost de Heer wrote:

  
Does anyone know the syntax to disable a node in the balancer-member
config for mod_proxy? I'm currently using the following config:

  
  
  
  
BalancerMember http://ip2:80 status=D ( or status=d )

  
  
Should be 'status=disabled'. And yes, that's undocumented...

Joost
  

Hi Joost,

Thanks for the replay, however I've tried with status=disabled and
apache balks at the syntax.

Please see the following thread:
http://www.nabble.com/WG%3A-mod_proxy_balancer%3A-how-to-define-failover-%28only%29-hot-standby-behavior--t993228.html#a2572619

Here they seem to indicate that status=d/D is the correct method. Also
they keep on mentioning using prefixes and I can't seem to get that
working.

Regards, Robby



-
The official User-To-User support forum of the Apache HTTP Server Project.
See  for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Re: apache 2.2 mod_proxy failover/lb

2006-01-27 Thread Joost de Heer
> Does anyone know the syntax to disable a node in the balancer-member
> config for mod_proxy? I'm currently using the following config:

> BalancerMember http://ip2:80 status=D ( or status=d )

Should be 'status=disabled'. And yes, that's undocumented...

Joost


-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] apache 2.2 mod_proxy failover/lb

2006-01-27 Thread Robby Pedrica

Hi All,

Does anyone know the syntax to disable a node in the balancer-member 
config for mod_proxy? I'm currently using the following config:



BalancerMember http://ip1:80 redirect=192.168.4.3
BalancerMember http://ip2:80 status=D ( or status=d )


Apache starts fine and doesn't say anything about the syntax but when I 
go to the web i/f for balancer-manager, it says that both my members are 
enabled. I have to disable the failover node manually.


Any ideas would be appreciated. Regards, Robby.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] Alias and directory path

2006-01-27 Thread Brian E Miller

I have been looking at this for several days.  No matter how I configure,
I still get either "Object not found" or "Permission denied" depending on
the configuration.

You would think that this would be straight forward.  I have searched and
read and everything should be working.

Any suggestions would be appreciated.

Setup:

I want to call squirrelmail from the browser
http://www.hingedmind.com/mindmail

The actual path is /srv/www/htdocs/hingedmind/squirrelmail-1.4.5/src or
http://www.hingedmind.com/squirrelmail-1.4.5/src/index.php

The document root is /srv/www/htdocs/hingedmind (I should change this to
/srv/www/htdocs for virtual hosting).

Current configuration: I looked at the directives page and in particular
FollowSymLinks and it was enabled.

Alias /mindmail "/srv/www/htdocs/hingedmind/squirrelmail-1.4.5/src"



Options Indexes FollowSymLinks
DirectoryIndex index.php redirect.php login.php
AllowOverride None
Order allow,deny
Allow from all



-- 


Thank you,
Brian E. Miller
hingedmind.com








-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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: problem while access .htaccess

2006-01-27 Thread Boyle Owen
> -Original Message-
> From: sachin sachin [mailto:[EMAIL PROTECTED] 
> Sent: Freitag, 27. Januar 2006 11:58
> To: users@httpd.apache.org
> Cc: sachin sachin
> Subject: [EMAIL PROTECTED] Re: problem while access .htaccess
> 
> Hi all,
> 
> Yes, I found out the problem is AllowOverride as None.Now, I 
> modified the  AllowOverride option as All then Apache reads 
> the .htacess file.
> 
> But .htaccess configuration does not allow to configure 
> ProxyPass & ProxyHTMLURLMap configuration. 
> 
> Please let me know 
> Is ProxyPass & ProxyHTMLURLMap configuration can be apply 
> through by .htaccess file ?

How to check this in the documentation:

1) Go to the page for the directive "ProxyPass"
http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#proxypass

2) In the box at the top, look for the line "Context:"

3) This tells you where you can use the directive. In this case, only as far as 
"directory", .htaccess is not allowed.

4) To see what Context: means, click on its link:
http://httpd.apache.org/docs/2.0/mod/directive-dict.html#Context

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

> 
> Thanks & Regards,
> Senthilkumar.
> 
> 
> 
> On 1/27/06, sachin sachin <[EMAIL PROTECTED]> wrote:
> 
>   Hi all,
>   
>   I configured the proxypass configuration in .htaccess 
> file, but it doesn't effect proxy the request.
>   
>   I set the Document root directory as /home/Test/, And I 
> create a test file inside the /home/Test/test.txt file. I try 
> to access http://servername:8080/ the apache server, It 
> displays test.txt file list.
>   
>   Now I try to access the same with .htaccess file with 
> following configuration.
>   
>   ProxyPass /b http://192.168.112.53:8080/
>   SetOutputFilter  proxy-html
>   ProxyHTMLURLMap (.*) http://192.168.112.53:8080/a/$1 RXi
>   RequestHeaderunset  Accept-Encoding
>   
>   If I try to access http://servername:8080/b from apache 
> server, It does not display the test.txt file list. It shows 
> 404 error.
>   
>   What should i do to be effect the ProxyPass & 
> ProxyHTMLURLMap configuration in .htaccess file.
>   
>   Please help me to effect the .htaccess configuration.
>   
>   Thanks & Regards,
>   sachin.
>   
>   
>   
>   
> 

Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen 
Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a 
private and personal nature. It is not related to the exchange or business 
activities of the SWX Group. Le présent e-mail est un message privé et 
personnel, sans rapport avec l'activité boursière du Groupe SWX.

> 
>
 
 
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 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] How to execute cgi on a proxied host ?

2006-01-27 Thread Annie Dumont




Axel-Stéphane SMORGRAV a écrit :

  I reproduce the exact same behaviour you describe.

Is there any reason why you should allow the execution of CGI scripts on the reverse proxy at all? If not you could remove the ScriptAlias directive from your configuration altogether...
  


Tested ! Great, it works ! Thank you very much for you help.

Cdt. annie

  
Cdt
-ascs

-Original Message-
From: Annie Dumont [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, January 26, 2006 2:20 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] How to execute cgi on a proxied host ?


Le 26 janv. 06 à 17:00, Axel-Stéphane SMORGRAV a écrit :

  
  
 Could you provide me with your list of AddModule directives as well 
as the output of the "httpd -l" command?

  
  
-
The official User-To-User support forum of the Apache HTTP Server Project.
See  for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  






[EMAIL PROTECTED] Warnings during configure command execution for Apache 2.0.53 Installation

2006-01-27 Thread Lekha Menon



Hi All,
 
While trying to install Apache 2.0.53, i 
get the following warnings -
 
configure: WARNING: db43/db.h: present but 
cannot 
 
be compiledconfigure: WARNING: 
db43/db.h: check for 
 
missing prerequisite 
headers?configure: WARNING: db43/db.h: see the Autoconf 
 
documentationconfigure: WARNING: 
db43/db.h: section 
 
"Present But Cannot Be 
Compiled"configure: WARNING: db43/db.h: proceeding with the 
 
preprocessor's resultconfigure: 
WARNING: db43/db.h: in the future, the 
 
compiler will take 
precedenceconfigure: WARNING: ## 
 
-- 
##configure: WARNING: ## Report this to the 

 
AC_PACKAGE_NAME lists.  
##configure: WARNING: ## 
 
-- 
##
 
Can anyone pls help??
 
Thanks & Regards,Lekha 
Menonhttp://www.patni.com
World-Wide Partnerships. World-Class Solutions.

_
 
This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete  this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at [EMAIL PROTECTED] and delete this mail. 
_



[EMAIL PROTECTED] Re: problem while access .htaccess

2006-01-27 Thread sachin sachin
Hi all,

Yes, I found out the problem is AllowOverride as None.Now, I modified
the  AllowOverride option as All then Apache reads the .htacess
file.

But .htaccess configuration does not allow to configure ProxyPass & ProxyHTMLURLMap configuration. 

Please let me know 
Is ProxyPass & ProxyHTMLURLMap configuration can be apply through by .htaccess file ?

Thanks & Regards,
Senthilkumar.
On 1/27/06, sachin sachin <[EMAIL PROTECTED]> wrote:
Hi all,

I configured the proxypass configuration in .htaccess file, but it doesn't effect proxy the request.

I set the Document root directory as /home/Test/, And I create a test
file inside the /home/Test/test.txt file. I try to access
http://servername:8080/ the apache server, It displays test.txt file
list.

Now I try to access the same with .htaccess file with following configuration.

ProxyPass /b http://192.168.112.53:8080/
SetOutputFilter  proxy-html
ProxyHTMLURLMap (.*) http://192.168.112.53:8080/a/$1 RXi
RequestHeader    unset  Accept-Encoding

If I try to access
http://servername:8080/b from apache server, It does not display the test.txt file
list. It shows 404 error.

What should i do to be effect the ProxyPass & ProxyHTMLURLMap configuration in .htaccess file.

Please help me to effect the .htaccess configuration.

Thanks & Regards,
sachin.







[EMAIL PROTECTED] problem while access .htaccess

2006-01-27 Thread sachin sachin
Hi all,

I configured the proxypass configuration in .htaccess file, but it doesn't effect proxy the request.

I set the Document root directory as /home/Test/, And I create a test
file inside the /home/Test/test.txt file. I try to access
http://servername:8080/ the apache server, It displays test.txt file
list.

Now I try to access the same with .htaccess file with following configuration.

ProxyPass /b http://192.168.112.53:8080/
SetOutputFilter  proxy-html
ProxyHTMLURLMap (.*) http://192.168.112.53:8080/a/$1 RXi
RequestHeader    unset  Accept-Encoding

If I try to access
http://servername:8080/b from apache server, It does not display the test.txt file
list. It shows 404 error.

What should i do to be effect the ProxyPass & ProxyHTMLURLMap configuration in .htaccess file.

Please help me to effect the .htaccess configuration.

Thanks & Regards,
sachin.





RE: [EMAIL PROTECTED] alias domains

2006-01-27 Thread Boyle Owen
> -Original Message-
> From: shaun [mailto:[EMAIL PROTECTED] 
> Sent: Freitag, 27. Januar 2006 10:35
> To: users@httpd.apache.org
> Subject: [EMAIL PROTECTED] alias domains
> 
> Hi
> 
>  
> 
> I need to set up a server that will allow me to use 
> www.domain.co.za   as well as 
> www.name.domain.co.za   and 
> name.domain.co.za.
> 
> Which files do I edit and how do I go about setting this up. 
> The server currently only recognizes www.domain.co.za 
>   and domain.co.za.

First, DNS has to route all the various domain names to your server IP.

Presumably you already have registered domain.co.za with the co.za domain name 
registrars. You have informed them of the IP addresses of your website's domain 
name servers. So, now you have to add the new domains to the DNS - this is not 
really and apache issue - contact your ISP.

Next step, is to configure apache to serve these domains.

If they are new websites, then they need a new virtual-host definition with new 
DocumentRoot etc. If they are just aliases for existing websites, then add:

ServerAlias wibble.domain.co.za
ServerAlias wabble.domain.co.za

to the existing VH definition.


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


> 
>  
> 
> Thank You
> 
> Shaun
> 
> 
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen 
Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a 
private and personal nature. It is not related to the exchange or business 
activities of the SWX Group. Le présent e-mail est un message privé et 
personnel, sans rapport avec l'activité boursière du Groupe SWX.
 
 
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 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] Yet another Redirect/ RedirectMatch question

2006-01-27 Thread Joost de Heer
Mukarram Syed wrote:
> Hi.
> Thanks for replying Joshua.  Sorry for delay in responding back.
>
> Here is my redirect:
>
> 
> ServerName maxim-toastmaster.com
> Redirect / http://www.esalton.com/
> 

Here are the headers when I go to 'http://maxim-toastmaster.com':

HTTP/1.x 301 Moved Permanently
Server: Netscape-Enterprise/6.0
Date: Fri, 27 Jan 2006 09:51:16 GMT
Content-Length: 0
Location: http://www.esalton.com/store/application
Connection: close

I.e. a Sun ONE webserver is answering and not Apache

Joost


-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] alias domains

2006-01-27 Thread shaun








Hi

 

I need to set up a server that will allow me to use www.domain.co.za as well as www.name.domain.co.za and name.domain.co.za.

Which files do I edit and how do I go about setting this up.
The server currently only recognizes www.domain.co.za
and domain.co.za.

 

Thank You

Shaun







-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://linux.bitdefender.com/

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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: Solved [EMAIL PROTECTED] problem hosting a webpage in apache(asap)..

2006-01-27 Thread mohan devanoor
hello guys,  Thank you all my problem is solved  and sorry tooo  i have called hello.html instead of hello.htm  sorry guys and thanku very much for helping me out      
		Bring words and photos together (easily) with 
PhotoMail  - it's free and works with Yahoo! Mail.

RE: [EMAIL PROTECTED] problem hosting a webpage in apache(asap)..

2006-01-27 Thread Axel-Stéphane SMORGRAV
Open an Internet explorer on your apache server host.
 
Go to File > Open
 
Paste D:\Apache2\htdocs\status.html into the field and press Return.

What happens then?

-ascs



From: mohan devanoor [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 27, 2006 9:59 AM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] problem hosting a webpage in apache(asap)..


Hi Stephane
as you said,  iam  getting the following errors 
 
 In error log file
[Fri Jan 27 14:16:37 2006] [error] [client 172.16.100.4] File does not exist: 
D:/Apache2/htdocs/status.html
 In access log
172.16.100.4 - - [27/Jan/2006:14:16:37 +0530] "GET /status.html HTTP/1.1" 404 
296
 
But i placed status.html in   D:/Apache2/htdocs
 
 
 

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] Mass configured virtual hosts and dynamic alias's

2006-01-27 Thread Tom Turrisi



Joshua Slive wrote:

On 1/26/06, Tom Turrisi <[EMAIL PROTECTED]> wrote:


Thanks for you reply. It's put me in the right direction but i'm still
having a problem working out the correct regex for what i need to do.

I don't know how to get the first and second characters of the domain
into the places where i have put <1> and <2> in the following config.
I also don't know how to strip www from the server_name if it's present.
I hope someone can be of help with this!




RewriteEngine On
RewriteMap  lowercase  int:tolower
RewriteRule  ^/dshop/(.*)$
/domains/<1>/<2>/${lowercase:%{SERVER_NAME}}/shop/$1



Something like

RewriteCond ${lowercase:%{SERVER_NAME}} ^(www\.)?(.)(.)(.*)
RewriteRule ^/dshop/(.*) /domains/%2/%3/%2%3%4/shop/$1

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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]





That has worked perfectly. Thank you so much!

Tom


-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] problem hosting a webpage in apache(asap)..

2006-01-27 Thread mohan devanoor
Hi Stephane  as you said,  iam  getting the following errors       In error log file  [Fri Jan 27 14:16:37 2006] [error] [client 172.16.100.4] File does not exist: D:/Apache2/htdocs/status.html   In access log  172.16.100.4 - - [27/Jan/2006:14:16:37 +0530] "GET /status.html HTTP/1.1" 404 296     But i placed status.html in   D:/Apache2/htdocs                       Axel-Stéphane SMORGRAV <[EMAIL PROTECTED]> wrote:  Some web server replied with a HTTP 404, whether apache or another. What you need to find out is whether it was Apache that replied.Supposing you
 r
 ServerRoot is d:/apache2 and your ErrorLog is logs/error.log, please post the relevant parts of the file d:\apache2\logs\error.logIf Apache is actually started, your error log file should contain something like:[Mon Oct 17 09:05:26 2005] [notice] Apache configured -- resuming normal operationsIf Apache served the HTTP 404, you should see something like:[Mon Oct 17 18:51:35 2005] [error] [client 10.0.0.1] File does not exist: d:/apache2/htdocs/hello.htmland the access log10.0.0.1 - - [17/Oct/2005:18:51:35 +0100] "GET /hello.html HTTP/1.1" 404 271 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461; .NET CLR 1.1.4322)"If nothing like the above appears in any log file, you have another HTTP server running - maybe IIS.-ascsFrom: mohan devanoor [mailto:[EMAIL PROTECTED] Sent: Friday, January 27, 2006 9:34 AMTo: users@httpd.apache.orgSubje
 ct:
 [EMAIL PROTECTED] problem hosting a webpage in apache(asap)..Hi,Actually i want my web page to run on apache server.(Ex: hello.html)i want it to get it accesed from the same system in whic i have my apache serverEx: http://localhost/Mywebsite then i need to get my webpage (hello.html)I have checked the Document root and placed my hello.html in that directory.i.e d:/apache2/htdocsand tried accessing http://localhost/hello.htmlhttp://localhost/htdocs/hello.htmlbut the page couldnt be served.This is the problem-The official User-To-User support forum of the Apache HTTP Server Project.See for more info.To unsubscribe, e-mail: [EMAIL PROTECTED]" from the digest: [EMAIL PROTECTED]For additional commands, e-mail:
 [EMAIL PROTECTED]
		  
What are the most popular cars? Find out at Yahoo! Autos 

RE: [EMAIL PROTECTED] problem hosting a webpage in apache(asap)..

2006-01-27 Thread Axel-Stéphane SMORGRAV
 Some web server replied with a HTTP 404, whether apache or another. What you 
need to find out is whether it was Apache that replied.

Supposing your ServerRoot is d:/apache2 and your ErrorLog is logs/error.log, 
please post the relevant parts of the file d:\apache2\logs\error.log

If Apache is actually started, your error log file should contain something 
like:

[Mon Oct 17 09:05:26 2005] [notice] Apache configured -- resuming normal 
operations

If Apache served the HTTP 404, you should see something like:

[Mon Oct 17 18:51:35 2005] [error] [client 10.0.0.1] File does not exist: 
d:/apache2/htdocs/hello.html

and the access log

10.0.0.1 - - [17/Oct/2005:18:51:35 +0100] "GET /hello.html HTTP/1.1" 404 271 
"-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461; .NET CLR 
1.1.4322)"

If nothing like the above appears in any log file, you have another HTTP server 
running - maybe IIS.

-ascs



From: mohan devanoor [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 27, 2006 9:34 AM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] problem hosting a webpage in apache(asap)..


Hi,
Actually i want my web page to run on apache server.(Ex: hello.html)
i want it to get it accesed from the same system in whic i have my apache server
Ex: http://localhost/Mywebsite 
   then i need to get my webpage (hello.html)
I have checked the Document root and placed my hello.html in that directory.
i.e d:/apache2/htdocs
and tried accessing http://localhost/hello.html
http://localhost/htdocs/hello.html
but the page couldnt be served.
This is the problem
 
 
 

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] problem hosting a webpage in apache(asap)..

2006-01-27 Thread mohan devanoor
Hi,  Actually i want my web page to run on apache server.(Ex: hello.html)  i want it to get it accesed from the same system in whic i have my apache server  Ex: http://localhost/Mywebsite      then i need to get my webpage (hello.html)  I have checked the Document root and placed my hello.html in that directory.  i.e d:/apache2/htdocs  and tried accessing http://localhost/hello.html  http://localhost/htdocs/hello.html  but the page couldnt be served.  This is the problem                          Axel-Stéphane SMORGRAV
 <[EMAIL PROTECTED]> wrote:  Hey guys, wake up!Where do you think Mohan got the HTTP 404 from???There are two possibilities:1. It was the apache httpd server that actually served the HTTP 404 in which case Mohan did not put the file in the right place. Check the DocumentRoot and make sure the file is in that directory2. The apache httpd did not serve the HTTP 404. That means that there is another http server running on the host and apache probably failed to start because it tried to bind a port already bound.IN any event the Apache logs will give you the answer. When you have a problem, that's always the first thing you should check. Verify the values of ServerRoot and TransferLog/CustomLog/ErrorLog. That will tell you where the log files are located. The ErrorLog will tell you whether apache was started or fail
 ed to
 start. Supposing it was Apache that returned the HTTP 404, it will also tell you where it tried to find the file.BR-ascs-Original Message-From: gayatri sekhar [mailto:[EMAIL PROTECTED] Sent: Friday, January 27, 2006 8:46 AMTo: users@httpd.apache.orgSubject: Re: [EMAIL PROTECTED] problem hosting a webpage in apache(asap)..check for port number in httpd.conf normal default is  in that case you should use localhost:OR change the port to 80 in httpd.conf-Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] Sent: Friday, January 27, 2006 8:18 AMTo: users@httpd.apache.orgCc: mohan devanoorSubject: Re: [EMAIL PROTECTED] problem hosting a webpage in apache(asap)..If the apache server is running on the same machine you are trying to access it from, using localhost should do the trick. Have you confirm
 ed that
 the httpd process is running? Some system information would be helpful as well.James-Original Message-From: mohan devanoor [mailto:[EMAIL PROTECTED] Sent: Friday, January 27, 2006 8:13 AMTo: users@httpd.apache.orgSubject: [EMAIL PROTECTED] problem hosting a webpage in apache(asap)..hi sanjay , i have put it. but how to access.i have tried http://localhost/hello.htmlhttp://localhost/htdocs/hello.htmlHTTP 404 - File not foundInternet Explorer is displayed.-The official User-To-User support forum of the Apache HTTP Server Project.See for more info.To unsubscribe, e-mail: [EMAIL PROTECTED]" from the digest: [EMAIL PROTECTED]For additional commands, e-mail:
 [EMAIL PROTECTED]
	
		 Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.

RE: [EMAIL PROTECTED] problem hosting a webpage in apache(asap)..

2006-01-27 Thread java_nutt
 "Axel-Stéphane  SMORGRAV" <[EMAIL PROTECTED]> wrote: 
> Hey guys, wake up!
> 
> Where do you think Mohan got the HTTP 404 from???

Well, I'm a complete n00b, so there's my excuse.  Not sure about everyone else, 
though.

;-)

James

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] problem hosting a webpage in apache(asap)..

2006-01-27 Thread Axel-Stéphane SMORGRAV
Hey guys, wake up!

Where do you think Mohan got the HTTP 404 from???

There are two possibilities:
1. It was the apache httpd server that actually served the HTTP 404 in which 
case Mohan did not put the file in the right place. Check the DocumentRoot and 
make sure the file is in that directory
2. The apache httpd did not serve the HTTP 404. That means that there is 
another http server running on the host and apache probably failed to start 
because it tried to bind a port already bound.

IN any event the Apache logs will give you the answer. When you have a problem, 
that's always the first thing you should check. Verify the values of ServerRoot 
and TransferLog/CustomLog/ErrorLog. That will tell you where the log files are 
located. The ErrorLog will tell you whether apache was started or failed to 
start. Supposing it was Apache that returned the HTTP 404, it will also tell 
you where it tried to find the file.


BR
-ascs

-Original Message-
From: gayatri sekhar [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 27, 2006 8:46 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] problem hosting a webpage in apache(asap)..


check for port number in httpd.conf 
normal default is  
in that case you should use localhost:
OR 
change the port to 80 in httpd.conf

 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]  ] 
Sent: Friday, January 27, 2006 8:18 AM
To: users@httpd.apache.org
Cc: mohan devanoor
Subject: Re: [EMAIL PROTECTED] problem hosting a webpage in apache(asap)..

If the apache server is running on the same machine you are trying to access it 
from, using localhost should do the trick. Have you confirmed that the httpd 
process is running? Some system information would be helpful as well.

James

-Original Message-
From: mohan devanoor [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 27, 2006 8:13 AM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] problem hosting a webpage in apache(asap)..


hi sanjay , i have put it. 
but how to access.
i have tried 
http://localhost/hello.html
http://localhost/htdocs/hello.html

HTTP 404 - File not found
Internet Explorer  is displayed.


-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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]