Re: [us...@httpd] httpd.conf: Invalid argument

2010-06-24 Thread Carlos _
Hi, i have checked the file and there are no changes. I tried to put another
httpd.conf compiled in another machine and the error is the same
httpd: Could not open configuration file /usr/local/apache2/conf/httpd.conf:
Invalid argument

Someone can help me with this error.

When i execute uname -a this is the output

Linux {machine}1 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64
x86_64 x86_64 GNU/Linux

When i execute file httpd this is the output

httpd: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for
GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9,
not stripped

Thanks


2010/6/21 Carlos _ sigb...@gmail.com

 Hi, i have checked permissions and they are ok,  the sintax of the file i
 think is ok. About the default httpd.conf i only make two changes
 Listen -- 80 to 7000
 User and Group -- nobody to myuser.

 I compiled Apache with the option --prefix, it's the one option i have used
 They aren't logs and the error isn't like other error about Syntax Error



 2010/6/20 J. Greenlees li...@jaqui-greenlees.net

 Carlos _ wrote:

 I am working with Apache v2.2.6 and with v2.2.12, but when i try to start
 Apache i receive de next error message:
 httpd: Could not open configuration file /usr/local/apache2.2/conf/
 httpd.conf: Invalid argument, the file exists and have permissions,

 The SO is Linux x86_64 x86_64 x86_64 GNU/Linux,

 Someone can tell me where is the error with Apache??

 Thanks

  /usr/local/apache2/conf/httpd.conf?
 usually it's in /ect/httpd/conf/

 permissions have to allow httpd to access the conf file for /usr and for
 /usr/local and for /usr/local/apache2 and for /usr/local/apache2/conf

 one of those folders isn't readable by the server.


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





RE: [us...@httpd] DNS lookup cached

2010-06-24 Thread Diego Trombetta
Any hint on this topic?
Can anybody try to replace this behavior?
It's easy.


-Original Message-
From: Diego Trombetta [mailto:diego.trombe...@carel.com] 
Sent: martedì 22 giugno 2010 11.06
To: users@httpd.apache.org
Subject: RE: [us...@httpd] DNS lookup cached

I performed also a ipconfig/flushdns to clean windows cache, but it didn't
work.
In Apache configuration files I use the DNS name 'dynlocation', but I look
at the error logs that Apache produces when the host can not be reached I
see that it is using the old IP. 


-Original Message-
From: Matus UHLAR - fantomas [mailto:uh...@fantomas.sk] 
Sent: martedì 22 giugno 2010 10.46
To: users@httpd.apache.org
Subject: Re: [us...@httpd] DNS lookup cached

On 18.06.10 14:54, Diego Trombetta wrote:
 I'm using Apache as reverse proxy to redirect request inside a LAN.
 I'm trying to dynamically change the address to which forward request
 through Apache.
 In my configuration file I use something like:
 
 location /dynlocation/
   ProxyPass  http://dynlocation/
   ProxyPassReverse / 
 /location
 
 The DNS lookup is resolved reading the hosts file (it's a window system).
 
 10.0.0.1 dynlocation
 
 I thought that chancing the hosts file at runtime would have made the
trick,
 i.e. writing:
 
 10.0.0.2 dynlocation
 
 but it seems that Apache is caching the IP and keeps on sending requests
to
 10.0.0.1
 
 I cannot restart Apache every time I need a different IP.
 
 Does anybody know how to clean that DNS cache or has a different idea to
 solve this problem?

I doubt apache caches the IP. I guess it's windows who is caching the IP,
check that possibility first.



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


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



Re: [us...@httpd] httpd.conf: Invalid argument

2010-06-24 Thread Carlos _
This is the output from httpd -V

Server version: /0.0.0 (Unix)
Server built:   Jun 17 2010 08:49:51
Server's Module Magic Number: 20051115:23
Server loaded:  APR 1.3.7, APR-Util 1.3.8
Compiled using: APR 1.3.7, APR-Util 1.3.8
Architecture:   64-bit
Server MPM: Prefork
  threaded: no
forked: yes (variable process count)
Server compiled with
 -D APACHE_MPM_DIR=server/mpm/prefork
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT=/usr/local/apache2
 -D SUEXEC_BIN=/usr/local/apache2/bin/suexec
 -D DEFAULT_PIDLOG=logs/httpd.pid
 -D DEFAULT_SCOREBOARD=logs/apache_runtime_status
 -D DEFAULT_LOCKFILE=logs/accept.lock
 -D DEFAULT_ERRORLOG=logs/error_log
 -D AP_TYPES_CONFIG_FILE=conf/mime.types
 -D SERVER_CONFIG_FILE=conf/httpd.conf


2010/6/24 Carlos _ sigb...@gmail.com

 Hi, i have checked the file and there are no changes. I tried to put
 another httpd.conf compiled in another machine and the error is the same
 httpd: Could not open configuration file
 /usr/local/apache2/conf/httpd.conf: Invalid argument

 Someone can help me with this error.

 When i execute uname -a this is the output

 Linux {machine}1 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64
 x86_64 x86_64 GNU/Linux

 When i execute file httpd this is the output

 httpd: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for
 GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9,
 not stripped

 Thanks


 2010/6/21 Carlos _ sigb...@gmail.com

 Hi, i have checked permissions and they are ok,  the sintax of the file i
 think is ok. About the default httpd.conf i only make two changes
 Listen -- 80 to 7000
 User and Group -- nobody to myuser.

 I compiled Apache with the option --prefix, it's the one option i have
 used
 They aren't logs and the error isn't like other error about Syntax Error



 2010/6/20 J. Greenlees li...@jaqui-greenlees.net

 Carlos _ wrote:

 I am working with Apache v2.2.6 and with v2.2.12, but when i try to
 start
 Apache i receive de next error message:
 httpd: Could not open configuration file /usr/local/apache2.2/conf/
 httpd.conf: Invalid argument, the file exists and have permissions,

 The SO is Linux x86_64 x86_64 x86_64 GNU/Linux,

 Someone can tell me where is the error with Apache??

 Thanks

  /usr/local/apache2/conf/httpd.conf?
 usually it's in /ect/httpd/conf/

 permissions have to allow httpd to access the conf file for /usr and for
 /usr/local and for /usr/local/apache2 and for /usr/local/apache2/conf

 one of those folders isn't readable by the server.


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






Re: [us...@httpd] Confused about SSL and Internet Explorer vs nokeepalive

2010-06-24 Thread Baljeet Nijjhar
Hi

I altered my ssl.conf to do the following:

SetEnvIf User-Agent MSIE[1-5] nokeepalive ssl-unclean-shutdown
force-response-1.0 downgrade-1.0

SetEnvIf User-Agent MSIE[6-99] ssl-unclean-shutdown

to distinguish between older and newer versions of the browser.

regards, Baljeet.

On Wed, Jun 23, 2010 at 9:45 PM, Maxime Bellerose
mbeller...@acquisio.comwrote:

 Hello guys,

 I am confused about the proper way to handle SSL when dealing with the
 dreaded Internet Explorer.

 Documentation and configuration state to set this so Apache does not get
 impacted by the way Internet Explorer handle ssl.

  SetEnvIf User-Agent .*MSIE.* \
  nokeepalive ssl-unclean-shutdown \
  downgrade-1.0 force-response-1.0

 This seems like a pretty drastic measure since it affect IE 5.X, IE
 6.0 which are not used much by my visitors but also affect IE 7.0, IE 8.0
 and IE 9.0 which are far more common.
 I would believe that the newer browsers ( IE 7.0, IE 8.0 and IE 9.0 ) would
 have this by now Is not the case?

 Where can I get a list of browser that have these little handling bug (
 This is described in http://httpd.apache.org/docs/2.2/ssl/ssl_faq.html#The
 SSL 
 Protocolhttp://httpd.apache.org/docs/2.2/ssl/ssl_faq.html#The+SSL+Protocol  
 but
 they do not list the browsers... )?
 Isn't there a more elegant way to handle this?

 Thanks is advance!!!
 --
 Merci / Thanks

 Maxime Bellerose
 Administrateur système et DBA / System administrator and DBA



Re: [us...@httpd] Add new site

2010-06-24 Thread Matus UHLAR - fantomas
On 23.06.10 10:38, Josu Lazkano wrote:
 Hello, this is my first post on this mail-list. I search on the web
 for questions and I got different solution, so I decided to write here
 to have best opinion about it.
 
 I have a Debian Lenny server with apache2 stable package installed, it
 works great. I want to add the Monit web interface to my server on
 host/monit directory.
 
 By default Monit comes on host:2812, and I want to change it to 80 port.
 
 Where I must config it? /etc/apache2/apache2.conf?
 /etc/apache2/sites-available/?

apparently you can use both. Otoh, you should ask in debian mailing list and
I guess you should create new config file in /etc/apache2/sites-available/
Note that you should put only the VirtualHost definition there, not any
general directives.

Finally I dislike the way of splitting apache's config file to many
parts, since that makes imho the configuration much harder, not easier and
the apache configuration system is not made to be maintained in man files,
no matter how different SW distribution administrators want it.
(well, I guess they know it and they have hard work to do the configuration
easier)
-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Depression is merely anger without enthusiasm. 

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



Re: [us...@httpd] httpd.conf: Invalid argument

2010-06-24 Thread Krist van Besien
On Mon, Jun 21, 2010 at 8:30 AM, Carlos _ sigb...@gmail.com wrote:
 Hi, i have checked permissions and they are ok,  the sintax of the file i
 think is ok. About the default httpd.conf i only make two changes
 Listen -- 80 to 7000
 User and Group -- nobody to myuser.

 I compiled Apache with the option --prefix, it's the one option i have used
 They aren't logs and the error isn't like other error about Syntax Error

Just do a su - myuser and check if you can read the file...

Krist




-- 
krist.vanbes...@gmail.com
kr...@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

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



Re: [us...@httpd] Redirect Monit port to Apache2

2010-06-24 Thread Josu Lazkano
Thanks, I try to remove but nothing, I get 404 error:

VirtualHost *:80
ProxyPass /monit http://192.168.1.1:2812
ProxyPassReverse /monit http://192.168.1.1:2812
Location /monit
   Order deny,allow
   Allow from all
/Location
/VirtualHost

Thanks and regards.

2010/6/24 Frank Gingras francois.ging...@gmail.com:


 On 06/23/2010 07:57 PM, Josu Lazkano wrote:

 I must change somethig?

 I don't understand, sorry.

 Kind regards.

 2010/6/24 Frank Gingrasfrancois.ging...@gmail.com:

 On 23/06/2010 5:59 PM, Josu Lazkano wrote:

 Hello, I have a Debian Lenny server with Apache2 and Monit installed,
 both works great, Apache on port 80 and Monit on port 2812. I want to
 add the Monit web interface to my server on http://host/monit
 directory.

 By default Monit comes on http://host:2812, and I want to change it to
 80
 port.

 Where I must config it? /etc/apache2/apache2.conf?
 /etc/apache2/sites-available/?

 My server LAN IP is 192.168.1.1, I need to connect from outside from a
 DNS
 name.

 I configure this way:

 1. Create the monit site:

 # cat /etc/apache2/sites-available/monit
 VirtualHost *:80
 ProxyPass /monit/ http://192.168.1.1:2812/
 ProxyPassReverse /monit/ http://192.168.1.1:2812/
 Location /monit/
        Order deny,allow
        Allow from all
 /Location
 /VirtualHost

 2. Symlink to enable sites:

 ln -s /etc/apache2/sites-available/monit
 /etc/apache2/sites-enabled/000-monit

 3. Restart apache2:

 /etc/init.d/apache2 restart
 Restarting web server: apache2 ... waiting .

 But when I try to enter from remote, I have this error:

 Not Found

 The requested URL /monit was not found on this server.

 Can you help with this? I am on the correct way?

 Thanks for all and best regards.



 Josu,

 Request /monit/ instead.

 Frank.

 -
 The official User-To-User support forum of the Apache HTTP Server
 Project.
 SeeURL:http://httpd.apache.org/userslist.html  for more info.
 To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
     from the digest: users-digest-unsubscr...@httpd.apache.org
 For additional commands, e-mail: users-h...@httpd.apache.org






 If you insist on changing something, remove the trailing slash from the
 source and the target.

 Frank.

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





-- 
Josu Lazkano

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



Re: [us...@httpd] httpd.conf: Invalid argument

2010-06-24 Thread Carlos _
Hi, myuser is the same user as i login in the machine, it isn't a diferent
user

Carlos

2010/6/24 Krist van Besien krist.vanbes...@gmail.com

 On Mon, Jun 21, 2010 at 8:30 AM, Carlos _ sigb...@gmail.com wrote:
  Hi, i have checked permissions and they are ok,  the sintax of the file i
  think is ok. About the default httpd.conf i only make two changes
  Listen -- 80 to 7000
  User and Group -- nobody to myuser.
 
  I compiled Apache with the option --prefix, it's the one option i have
 used
  They aren't logs and the error isn't like other error about Syntax Error

 Just do a su - myuser and check if you can read the file...

 Krist




 --
 krist.vanbes...@gmail.com
 kr...@vanbesien.org
 Bremgarten b. Bern, Switzerland
 --
 A: It reverses the normal flow of conversation.
 Q: What's wrong with top-posting?
 A: Top-posting.
 Q: What's the biggest scourge on plain text email discussions?

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




RE: [us...@httpd] httpd.conf: Invalid argument

2010-06-24 Thread Antonio Vidal Ferrer
Carlos:


No puede ser que tengas  el fichero de pid ya creado en algún sitio con 
permisos para otro usuario, y simplemente el problema es que intenta crear el 
fichero de pid y no puede?

Un saludo

Toni Vidal.

De: Carlos _ [mailto:sigb...@gmail.com]
Enviado el: jueves, 24 de junio de 2010 11:32
Para: users@httpd.apache.org
Asunto: Re: [us...@httpd] httpd.conf: Invalid argument

Hi, myuser is the same user as i login in the machine, it isn't a diferent user

Carlos
2010/6/24 Krist van Besien 
krist.vanbes...@gmail.commailto:krist.vanbes...@gmail.com
On Mon, Jun 21, 2010 at 8:30 AM, Carlos _ 
sigb...@gmail.commailto:sigb...@gmail.com wrote:
 Hi, i have checked permissions and they are ok,  the sintax of the file i
 think is ok. About the default httpd.conf i only make two changes
 Listen -- 80 to 7000
 User and Group -- nobody to myuser.

 I compiled Apache with the option --prefix, it's the one option i have used
 They aren't logs and the error isn't like other error about Syntax Error
Just do a su - myuser and check if you can read the file...

Krist




--
krist.vanbes...@gmail.commailto:krist.vanbes...@gmail.com
kr...@vanbesien.orgmailto:kr...@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

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



Re: [us...@httpd] httpd.conf: Invalid argument

2010-06-24 Thread Carlos _
No creo que sea eso , ademas le he forzado con PidFile a ponerlo
explicitamente en una ruta y sigue produciendo el mismo error.

2010/6/24 Antonio Vidal Ferrer antonio.vi...@globalia-sistemas.com

  Carlos:





 No puede ser que tengas  el fichero de pid ya creado en algún sitio con
 permisos para otro usuario, y simplemente el problema es que intenta crear
 el fichero de pid y no puede?



 Un saludo



 Toni Vidal.



 *De:* Carlos _ [mailto:sigb...@gmail.com]
 *Enviado el:* jueves, 24 de junio de 2010 11:32
 *Para:* users@httpd.apache.org
 *Asunto:* Re: [us...@httpd] httpd.conf: Invalid argument



 Hi, myuser is the same user as i login in the machine, it isn't a diferent
 user

 Carlos

 2010/6/24 Krist van Besien krist.vanbes...@gmail.com

 On Mon, Jun 21, 2010 at 8:30 AM, Carlos _ sigb...@gmail.com wrote:
  Hi, i have checked permissions and they are ok,  the sintax of the file i
  think is ok. About the default httpd.conf i only make two changes
  Listen -- 80 to 7000
  User and Group -- nobody to myuser.
 
  I compiled Apache with the option --prefix, it's the one option i have
 used
  They aren't logs and the error isn't like other error about Syntax Error

 Just do a su - myuser and check if you can read the file...

 Krist




 --
 krist.vanbes...@gmail.com
 kr...@vanbesien.org
 Bremgarten b. Bern, Switzerland
 --
 A: It reverses the normal flow of conversation.
 Q: What's wrong with top-posting?
 A: Top-posting.
 Q: What's the biggest scourge on plain text email discussions?


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





[us...@httpd] Oops, no RSA or DSA server certificate found for

2010-06-24 Thread Javier Arancibia

Hi, i have this error in apache 2 server, i have configured the server with
3 hosts based ip.

[error] Oops, no RSA or DSA server certificate found for domain.com

In some cases the server run ok but in other case i have the error.



Javier Arancibia
Ingeniería | NACION SEGUROS
Te.(011)43199900 - Int. 3185


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



Re: [us...@httpd] Oops, no RSA or DSA server certificate found for

2010-06-24 Thread Eric Covener
On Thu, Jun 24, 2010 at 9:10 AM, Javier Arancibia
jaranci...@nacion-seguros.com.ar wrote:

 Hi, i have this error in apache 2 server, i have configured the server with
 3 hosts based ip.

 [error] Oops, no RSA or DSA server certificate found for domain.com

 In some cases the server run ok but in other case i have the error.

Please don't start duplicate threads for the same issue.  Perhaps
someone could help if you posted the relevant parts of your
configuration, evidence of the contents of the SSL related files, and
logs.

-- 
Eric Covener
cove...@gmail.com

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



Re: [us...@httpd] .htaccess deny question

2010-06-24 Thread Industrial Blue
Here you are:

order allow,deny
deny from 12.3.80
deny from 12.3.81
...
deny from *n\.example.com
ErrorDocument 403 This IP is blocked.
allow from all



That's it!  Thanks for any help.





From: Igor Cicimov icici...@gmail.com
To: users@httpd.apache.org
Sent: Wed, June 23, 2010 11:21:27 PM
Subject: Re: [us...@httpd] .htaccess deny question


Post the complete case including the order statement. Also i dont think you 
need the backslashes.

Sent from my phone
On Jun 24, 2010 1:38 AM, Industrial Blue industrialb...@yahoo.com wrote:

I'm having a heck of a time trying to get this to work.  I have a .htaccess 
file which is working fine.  I now have a requirement to restrict/deny any 
server ending with the letter 'n' from example.com

For example, I want to deny the server 123n.example.com but still allow all 
other servers (not ending in 'n') from example.com

I have tried everything like:

deny from *n\.example\.com
deny from .*n\.example\.com
deny from ^*n\.example\.com

Is what I am trying to do outside the scope of allow/deny?  Thanks much.






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




  

Re: [us...@httpd] .htaccess deny question

2010-06-24 Thread Tom Evans
On Thu, Jun 24, 2010 at 5:22 PM, Industrial Blue
industrialb...@yahoo.com wrote:
 Here you are:

 order allow,deny
 deny from 12.3.80
 deny from 12.3.81
 ...
 deny from *n\.example.com
 ErrorDocument 403 This IP is blocked.
 allow from all


 That's it!  Thanks for any help.


That is incorrect syntax. It will be looking for an explicit host name
of '*n\.example.com'. That sort of wildcard expansion is not supported
by Allow/Deny directive, see here for docs:

http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html#allow

If you need to do this sort of access checking (seems a bit nuts to me
- you can escape it by changing your dns name?), then you must follow
the example in the docs of setting an environment variable to denote
whether access should be allowed, and then using that environment
variable to allow/deny access.

Eg:

SetEnvIf Remote_Host *n\.example\.com bad_src_server=1
Location /
  Order deny,allow
  Deny from env=bad_src_server
/Location

Cheers

Tom

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



Re: [us...@httpd] SSL and apache 2.2.15 installed from source. How to?

2010-06-24 Thread Audrey Lee
Herald and Jeff,

Thanks for the responses!

I feel like I'm making progress.

Here is what my modules directory looks like:

  /pt/apache/modules:
  total used in directory 24 available 35223120
  drwxr-xr-x   3 maco  staff   102 Jun 19 12:41 .
  drwxr-xr-x  14 maco  staff   476 Jun 19 12:41 ..
  -rw-r--r--   1 maco  staff  9083 Jun 19 12:37 httpd.exp

How do I create mod_ssl.so ?

I sense that both of you have given me a good clue.

I'll search the web for more clues.

I know that a .so file is compiled software which suggests to me that
I might be able to create it along the path I followed to install my
copy of apache from the source code I obtained here:

  - http://download.nextag.com/apache/httpd/httpd-2.2.15.tar.gz

I unpacked httpd-2.2.15.tar.gz to here:

  - /pt/tmp/httpd-2.2.15/

When I search

  - /pt/tmp/httpd-2.2.15/INSTALL

For the word module I see this:

Here is a typical example which configures Apache for the installation
tree /sw/pkg/apache plus the two additional modules mod_rewrite and
mod_speling for later loading through the DSO mechanism:


 ./configure --prefix=/sw/pkg/apache \
 --enable-rewrite=shared \
 --enable-speling=shared

Question 1:
  - What is the DSO mechanism?

Question 2:
  - Can I create mod_ssl.so using --enable-ssl=shared  ?
  - If yes, what is the proper way to create and install mod_ssl.so
after I have already finished my install from source ?


On 6/23/10, Jeff Trawick traw...@gmail.com wrote:
 On Wed, Jun 23, 2010 at 3:04 AM, HERALD herald.j...@avenues.info wrote:

 Do you have the ssl module in your module folder?? . the file name would
 be
 mod_ssl.so under /Apache/modules/ path

 For the benefit of the person with the problem, who appears to be new
 to this: The immediate symptom (Invalid command 'SSLSessionCache'
 ...) is due to no LoadModule ssl_module /path/to/mod_ssl.so (and of
 course there must be a mod_ssl.so installed somewhere.)

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



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



Re: [us...@httpd] SSL and apache 2.2.15 installed from source. How to?

2010-06-24 Thread Audrey Lee
Well,


I did this:
  - Carefully read  /pt/tmp/httpd-2.2.15/INSTALL
  - ./configure --prefix=/pt/apache --enable-ssl --with-port=8123
--with-sslport=8443
  - ./make

I bumped into this error from make:

/usr/share/apr-1/build-1/libtool --silent --mode=link gcc
-L/usr/lib -L/opt/local/lib   -o ab  ab.lo
/pt/tmp/httpd-2.2.15/srclib/pcre/libpcre.la -L/usr/lib -R/usr/lib
-laprutil-1 -lsqlite3 -lexpat -liconv -L/usr/lib -R/usr/lib -lapr-1
-lpthread -lssl -lcrypto -lz
Undefined symbols:
  _BIO_set_callback_arg, referenced from:
  _start_connect in ab.o
  _BIO_get_callback_arg, referenced from:
  _ssl_print_cb in ab.o
  _SSL_CTX_set_info_callback, referenced from:
  _main in ab.o
  _BIO_set_callback, referenced from:
  _start_connect in ab.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [ab] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Thu Jun 24 14:15 /pt/tmp/httpd-2.2.15 maco$
Thu Jun 24 14:15 /pt/tmp/httpd-2.2.15 maco$
Thu Jun 24 14:15 /pt/tmp/httpd-2.2.15 maco$

I am not a c programmer but my guess is that we have a file named ab.o
and it wants some things and cannot find them.


On 6/24/10, Audrey Lee audrey.lee.is...@gmail.com wrote:
 Herald and Jeff,

 Thanks for the responses!

 I feel like I'm making progress.

 Here is what my modules directory looks like:

   /pt/apache/modules:
   total used in directory 24 available 35223120
   drwxr-xr-x   3 maco  staff   102 Jun 19 12:41 .
   drwxr-xr-x  14 maco  staff   476 Jun 19 12:41 ..
   -rw-r--r--   1 maco  staff  9083 Jun 19 12:37 httpd.exp

 How do I create mod_ssl.so ?

 I sense that both of you have given me a good clue.

 I'll search the web for more clues.

 I know that a .so file is compiled software which suggests to me that
 I might be able to create it along the path I followed to install my
 copy of apache from the source code I obtained here:

   - http://download.nextag.com/apache/httpd/httpd-2.2.15.tar.gz

 I unpacked httpd-2.2.15.tar.gz to here:

   - /pt/tmp/httpd-2.2.15/

 When I search

   - /pt/tmp/httpd-2.2.15/INSTALL

 For the word module I see this:

 Here is a typical example which configures Apache for the installation
 tree /sw/pkg/apache plus the two additional modules mod_rewrite and
 mod_speling for later loading through the DSO mechanism:


  ./configure --prefix=/sw/pkg/apache \
  --enable-rewrite=shared \
  --enable-speling=shared

 Question 1:
   - What is the DSO mechanism?

 Question 2:
   - Can I create mod_ssl.so using --enable-ssl=shared  ?
   - If yes, what is the proper way to create and install mod_ssl.so
 after I have already finished my install from source ?


 On 6/23/10, Jeff Trawick traw...@gmail.com wrote:
 On Wed, Jun 23, 2010 at 3:04 AM, HERALD herald.j...@avenues.info wrote:

 Do you have the ssl module in your module folder?? . the file name would
 be
 mod_ssl.so under /Apache/modules/ path

 For the benefit of the person with the problem, who appears to be new
 to this: The immediate symptom (Invalid command 'SSLSessionCache'
 ...) is due to no LoadModule ssl_module /path/to/mod_ssl.so (and of
 course there must be a mod_ssl.so installed somewhere.)

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




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



Re: [us...@httpd] SSL and apache 2.2.15 installed from source. How to?

2010-06-24 Thread Audrey Lee
Google returns a lot of hits on:

Undefined symbols _BIO_set_callback_arg



On 6/24/10, Audrey Lee audrey.lee.is...@gmail.com wrote:
 Well,


 I did this:
   - Carefully read  /pt/tmp/httpd-2.2.15/INSTALL
   - ./configure --prefix=/pt/apache --enable-ssl --with-port=8123
 --with-sslport=8443
   - ./make

 I bumped into this error from make:

 /usr/share/apr-1/build-1/libtool --silent --mode=link gcc
 -L/usr/lib -L/opt/local/lib   -o ab  ab.lo
 /pt/tmp/httpd-2.2.15/srclib/pcre/libpcre.la -L/usr/lib -R/usr/lib
 -laprutil-1 -lsqlite3 -lexpat -liconv -L/usr/lib -R/usr/lib -lapr-1
 -lpthread -lssl -lcrypto -lz
 Undefined symbols:
   _BIO_set_callback_arg, referenced from:
   _start_connect in ab.o
   _BIO_get_callback_arg, referenced from:
   _ssl_print_cb in ab.o
   _SSL_CTX_set_info_callback, referenced from:
   _main in ab.o
   _BIO_set_callback, referenced from:
   _start_connect in ab.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make[2]: *** [ab] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all-recursive] Error 1
 Thu Jun 24 14:15 /pt/tmp/httpd-2.2.15 maco$
 Thu Jun 24 14:15 /pt/tmp/httpd-2.2.15 maco$
 Thu Jun 24 14:15 /pt/tmp/httpd-2.2.15 maco$

 I am not a c programmer but my guess is that we have a file named ab.o
 and it wants some things and cannot find them.


 On 6/24/10, Audrey Lee audrey.lee.is...@gmail.com wrote:
 Herald and Jeff,

 Thanks for the responses!

 I feel like I'm making progress.

 Here is what my modules directory looks like:

   /pt/apache/modules:
   total used in directory 24 available 35223120
   drwxr-xr-x   3 maco  staff   102 Jun 19 12:41 .
   drwxr-xr-x  14 maco  staff   476 Jun 19 12:41 ..
   -rw-r--r--   1 maco  staff  9083 Jun 19 12:37 httpd.exp

 How do I create mod_ssl.so ?

 I sense that both of you have given me a good clue.

 I'll search the web for more clues.

 I know that a .so file is compiled software which suggests to me that
 I might be able to create it along the path I followed to install my
 copy of apache from the source code I obtained here:

   - http://download.nextag.com/apache/httpd/httpd-2.2.15.tar.gz

 I unpacked httpd-2.2.15.tar.gz to here:

   - /pt/tmp/httpd-2.2.15/

 When I search

   - /pt/tmp/httpd-2.2.15/INSTALL

 For the word module I see this:

 Here is a typical example which configures Apache for the installation
 tree /sw/pkg/apache plus the two additional modules mod_rewrite and
 mod_speling for later loading through the DSO mechanism:


  ./configure --prefix=/sw/pkg/apache \
  --enable-rewrite=shared \
  --enable-speling=shared

 Question 1:
   - What is the DSO mechanism?

 Question 2:
   - Can I create mod_ssl.so using --enable-ssl=shared  ?
   - If yes, what is the proper way to create and install mod_ssl.so
 after I have already finished my install from source ?


 On 6/23/10, Jeff Trawick traw...@gmail.com wrote:
 On Wed, Jun 23, 2010 at 3:04 AM, HERALD herald.j...@avenues.info
 wrote:

 Do you have the ssl module in your module folder?? . the file name
 would
 be
 mod_ssl.so under /Apache/modules/ path

 For the benefit of the person with the problem, who appears to be new
 to this: The immediate symptom (Invalid command 'SSLSessionCache'
 ...) is due to no LoadModule ssl_module /path/to/mod_ssl.so (and of
 course there must be a mod_ssl.so installed somewhere.)

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





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



Re: [us...@httpd] SSL and apache 2.2.15 installed from source. How to?

2010-06-24 Thread Audrey Lee
A clue:

http://mail-archives.apache.org/mod_mbox/httpd-dev/200901.mbox/%3c495eb674.1050...@kippdata.de%3e

It works for me on Solaris. Those symbols (without the leading
underscore) are referenced indeed by ab.c, but they should be in your
libcrypto (BIO*) resp. libssl (SSL*).

Are you sure, that the libraries libcrypto and libssl can be found? Are
they in
/Users/minfrin/src/apache/sandbox/crypto/nss-3.12/mozilla/dist/Darwin9.4.0_OPT.OBJ/lib?

Which version of OpenSSL do you use (I use 0.9.8i)? Can you see the
symbols in the libs (check with nm)?


Me, I tried this:


Thu Jun 24 14:36 /pt/tmp/httpd-2.2.15 maco$
Thu Jun 24 14:36 /pt/tmp/httpd-2.2.15 maco$
Thu Jun 24 14:36 /pt/tmp/httpd-2.2.15 maco$
Thu Jun 24 14:36 /pt/tmp/httpd-2.2.15 maco$ find /usr/lib
/opt/local/lib -name '*crypto*' -print | xargs grep _BIO_set_callback
Binary file /opt/local/lib/libcrypto.0.9.8.dylib matches
Binary file /opt/local/lib/libcrypto.a matches
Binary file /opt/local/lib/libcrypto.dylib matches
Thu Jun 24 14:37 /pt/tmp/httpd-2.2.15 maco$
Thu Jun 24 14:37 /pt/tmp/httpd-2.2.15 maco$
Thu Jun 24 14:37 /pt/tmp/httpd-2.2.15 maco$ find /usr/lib
/opt/local/lib -name '*ssl*' -print | xargs grep
_SSL_CTX_set_info_callback
Binary file /opt/local/lib/libssl.0.9.8.dylib matches
Binary file /opt/local/lib/libssl.a matches
Binary file /opt/local/lib/libssl.dylib matches
Thu Jun 24 14:37 /pt/tmp/httpd-2.2.15 maco$
Thu Jun 24 14:38 /pt/tmp/httpd-2.2.15 maco$



Thu Jun 24 14:37 /pt/tmp/httpd-2.2.15 maco$
Thu Jun 24 14:38 /pt/tmp/httpd-2.2.15 maco$
Thu Jun 24 14:39 /pt/tmp/httpd-2.2.15 maco$ nm
/opt/local/lib/libssl.dylib |grep _SSL_CTX_set_info_callback
00028660 T _SSL_CTX_set_info_callback
Thu Jun 24 14:40 /pt/tmp/httpd-2.2.15 maco$
Thu Jun 24 14:40 /pt/tmp/httpd-2.2.15 maco$ nm
/opt/local/lib/libcrypto.dylib | grep _BIO_set_callback
00066880 T _BIO_set_callback
00066890 T _BIO_set_callback_arg
Thu Jun 24 14:40 /pt/tmp/httpd-2.2.15 maco$
Thu Jun 24 14:40 /pt/tmp/httpd-2.2.15 maco$


Again, I'm no c-programmer so I dont know what nm is telling me here.

I'm lost...


On 6/24/10, Audrey Lee audrey.lee.is...@gmail.com wrote:
 Google returns a lot of hits on:

 Undefined symbols _BIO_set_callback_arg



 On 6/24/10, Audrey Lee audrey.lee.is...@gmail.com wrote:
 Well,


 I did this:
   - Carefully read  /pt/tmp/httpd-2.2.15/INSTALL
   - ./configure --prefix=/pt/apache --enable-ssl --with-port=8123
 --with-sslport=8443
   - ./make

 I bumped into this error from make:

 /usr/share/apr-1/build-1/libtool --silent --mode=link gcc
 -L/usr/lib -L/opt/local/lib   -o ab  ab.lo
 /pt/tmp/httpd-2.2.15/srclib/pcre/libpcre.la -L/usr/lib -R/usr/lib
 -laprutil-1 -lsqlite3 -lexpat -liconv -L/usr/lib -R/usr/lib -lapr-1
 -lpthread -lssl -lcrypto -lz
 Undefined symbols:
   _BIO_set_callback_arg, referenced from:
   _start_connect in ab.o
   _BIO_get_callback_arg, referenced from:
   _ssl_print_cb in ab.o
   _SSL_CTX_set_info_callback, referenced from:
   _main in ab.o
   _BIO_set_callback, referenced from:
   _start_connect in ab.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make[2]: *** [ab] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all-recursive] Error 1
 Thu Jun 24 14:15 /pt/tmp/httpd-2.2.15 maco$
 Thu Jun 24 14:15 /pt/tmp/httpd-2.2.15 maco$
 Thu Jun 24 14:15 /pt/tmp/httpd-2.2.15 maco$

 I am not a c programmer but my guess is that we have a file named ab.o
 and it wants some things and cannot find them.


 On 6/24/10, Audrey Lee audrey.lee.is...@gmail.com wrote:
 Herald and Jeff,

 Thanks for the responses!

 I feel like I'm making progress.

 Here is what my modules directory looks like:

   /pt/apache/modules:
   total used in directory 24 available 35223120
   drwxr-xr-x   3 maco  staff   102 Jun 19 12:41 .
   drwxr-xr-x  14 maco  staff   476 Jun 19 12:41 ..
   -rw-r--r--   1 maco  staff  9083 Jun 19 12:37 httpd.exp

 How do I create mod_ssl.so ?

 I sense that both of you have given me a good clue.

 I'll search the web for more clues.

 I know that a .so file is compiled software which suggests to me that
 I might be able to create it along the path I followed to install my
 copy of apache from the source code I obtained here:

   - http://download.nextag.com/apache/httpd/httpd-2.2.15.tar.gz

 I unpacked httpd-2.2.15.tar.gz to here:

   - /pt/tmp/httpd-2.2.15/

 When I search

   - /pt/tmp/httpd-2.2.15/INSTALL

 For the word module I see this:

 Here is a typical example which configures Apache for the installation
 tree /sw/pkg/apache plus the two additional modules mod_rewrite and
 mod_speling for later loading through the DSO mechanism:


  ./configure --prefix=/sw/pkg/apache \
  --enable-rewrite=shared \
  --enable-speling=shared

 Question 1:
   - What is the DSO mechanism?

 Question 2:
   - Can I create mod_ssl.so using --enable-ssl=shared  ?
   - If yes, what is the proper way to create and install mod_ssl.so
 after I have already finished my install from source ?


 On 6/23/10, Jeff 

Re: [us...@httpd] SSL and apache 2.2.15 installed from source. How to?

2010-06-24 Thread David Garvey
Are you using openssl libs? Do you want a dso?
http://www.issociate.de/board/post/44936/Compiling_mod_ssl_as_a_DSO.html

On Thu, Jun 24, 2010 at 2:44 PM, Audrey Lee audrey.lee.is...@gmail.comwrote:

 A clue:


 http://mail-archives.apache.org/mod_mbox/httpd-dev/200901.mbox/%3c495eb674.1050...@kippdata.de%3e

 It works for me on Solaris. Those symbols (without the leading
 underscore) are referenced indeed by ab.c, but they should be in your
 libcrypto (BIO*) resp. libssl (SSL*).

 Are you sure, that the libraries libcrypto and libssl can be found? Are
 they in

 /Users/minfrin/src/apache/sandbox/crypto/nss-3.12/mozilla/dist/Darwin9.4.0_OPT.OBJ/lib?

 Which version of OpenSSL do you use (I use 0.9.8i)? Can you see the
 symbols in the libs (check with nm)?


 Me, I tried this:


 Thu Jun 24 14:36 /pt/tmp/httpd-2.2.15 maco$
 Thu Jun 24 14:36 /pt/tmp/httpd-2.2.15 maco$
 Thu Jun 24 14:36 /pt/tmp/httpd-2.2.15 maco$
 Thu Jun 24 14:36 /pt/tmp/httpd-2.2.15 maco$ find /usr/lib
 /opt/local/lib -name '*crypto*' -print | xargs grep _BIO_set_callback
 Binary file /opt/local/lib/libcrypto.0.9.8.dylib matches
 Binary file /opt/local/lib/libcrypto.a matches
 Binary file /opt/local/lib/libcrypto.dylib matches
 Thu Jun 24 14:37 /pt/tmp/httpd-2.2.15 maco$
 Thu Jun 24 14:37 /pt/tmp/httpd-2.2.15 maco$
 Thu Jun 24 14:37 /pt/tmp/httpd-2.2.15 maco$ find /usr/lib
 /opt/local/lib -name '*ssl*' -print | xargs grep
 _SSL_CTX_set_info_callback
 Binary file /opt/local/lib/libssl.0.9.8.dylib matches
 Binary file /opt/local/lib/libssl.a matches
 Binary file /opt/local/lib/libssl.dylib matches
 Thu Jun 24 14:37 /pt/tmp/httpd-2.2.15 maco$
 Thu Jun 24 14:38 /pt/tmp/httpd-2.2.15 maco$



 Thu Jun 24 14:37 /pt/tmp/httpd-2.2.15 maco$
 Thu Jun 24 14:38 /pt/tmp/httpd-2.2.15 maco$
 Thu Jun 24 14:39 /pt/tmp/httpd-2.2.15 maco$ nm
 /opt/local/lib/libssl.dylib |grep _SSL_CTX_set_info_callback
 00028660 T _SSL_CTX_set_info_callback
 Thu Jun 24 14:40 /pt/tmp/httpd-2.2.15 maco$
 Thu Jun 24 14:40 /pt/tmp/httpd-2.2.15 maco$ nm
 /opt/local/lib/libcrypto.dylib | grep _BIO_set_callback
 00066880 T _BIO_set_callback
 00066890 T _BIO_set_callback_arg
 Thu Jun 24 14:40 /pt/tmp/httpd-2.2.15 maco$
 Thu Jun 24 14:40 /pt/tmp/httpd-2.2.15 maco$


 Again, I'm no c-programmer so I dont know what nm is telling me here.

 I'm lost...


 On 6/24/10, Audrey Lee audrey.lee.is...@gmail.com wrote:
  Google returns a lot of hits on:
 
  Undefined symbols _BIO_set_callback_arg
 
 
 
  On 6/24/10, Audrey Lee audrey.lee.is...@gmail.com wrote:
  Well,
 
 
  I did this:
- Carefully read  /pt/tmp/httpd-2.2.15/INSTALL
- ./configure --prefix=/pt/apache --enable-ssl --with-port=8123
  --with-sslport=8443
- ./make
 
  I bumped into this error from make:
 
  /usr/share/apr-1/build-1/libtool --silent --mode=link gcc
  -L/usr/lib -L/opt/local/lib   -o ab  ab.lo
  /pt/tmp/httpd-2.2.15/srclib/pcre/libpcre.la -L/usr/lib -R/usr/lib
  -laprutil-1 -lsqlite3 -lexpat -liconv -L/usr/lib -R/usr/lib -lapr-1
  -lpthread -lssl -lcrypto -lz
  Undefined symbols:
_BIO_set_callback_arg, referenced from:
_start_connect in ab.o
_BIO_get_callback_arg, referenced from:
_ssl_print_cb in ab.o
_SSL_CTX_set_info_callback, referenced from:
_main in ab.o
_BIO_set_callback, referenced from:
_start_connect in ab.o
  ld: symbol(s) not found
  collect2: ld returned 1 exit status
  make[2]: *** [ab] Error 1
  make[1]: *** [all-recursive] Error 1
  make: *** [all-recursive] Error 1
  Thu Jun 24 14:15 /pt/tmp/httpd-2.2.15 maco$
  Thu Jun 24 14:15 /pt/tmp/httpd-2.2.15 maco$
  Thu Jun 24 14:15 /pt/tmp/httpd-2.2.15 maco$
 
  I am not a c programmer but my guess is that we have a file named ab.o
  and it wants some things and cannot find them.
 
 
  On 6/24/10, Audrey Lee audrey.lee.is...@gmail.com wrote:
  Herald and Jeff,
 
  Thanks for the responses!
 
  I feel like I'm making progress.
 
  Here is what my modules directory looks like:
 
/pt/apache/modules:
total used in directory 24 available 35223120
drwxr-xr-x   3 maco  staff   102 Jun 19 12:41 .
drwxr-xr-x  14 maco  staff   476 Jun 19 12:41 ..
-rw-r--r--   1 maco  staff  9083 Jun 19 12:37 httpd.exp
 
  How do I create mod_ssl.so ?
 
  I sense that both of you have given me a good clue.
 
  I'll search the web for more clues.
 
  I know that a .so file is compiled software which suggests to me that
  I might be able to create it along the path I followed to install my
  copy of apache from the source code I obtained here:
 
- http://download.nextag.com/apache/httpd/httpd-2.2.15.tar.gz
 
  I unpacked httpd-2.2.15.tar.gz to here:
 
- /pt/tmp/httpd-2.2.15/
 
  When I search
 
- /pt/tmp/httpd-2.2.15/INSTALL
 
  For the word module I see this:
 
  Here is a typical example which configures Apache for the installation
  tree /sw/pkg/apache plus the two additional modules mod_rewrite and
  mod_speling for later loading through the DSO mechanism:
 
 
   ./configure