Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with httpd.conf

Status
Not open for further replies.

hermes1

Programmer
Oct 22, 2003
38
US
Ok i am trying to set up mod_rewrite for my server and it seems like whatever way i try to get this to work nothing happens. Here is what i have, sensitive info is replaced by ...


<VirtualHost ...> ## IP of the server i want to rewrite

RewriteEngine On
Options +ExecCGI
ServerAdmin pete@....com
DocumentRoot /home/virtual/.../html
ServerName ....com
ErrorLog /var/log/.../error_log-ssl
TransferLog /var/log/.../access_log-ssl

RewriteMap redir prg:/home/virtual/.../html/redir.pl
RewriteCond %{REQUEST_URI} searchk\.cgi$
RewriteCond %{QUERY_STRING} !=""
RewriteRule ^(.+).cgi$ ${redir:$1-%{QUERY_STRING}.html} [L]

</VirtualHost>

 
Hi,

Perhaps you must study your Rewrite Log file adding these command to your virtalhost section
RewriteLog /.../filename
RewriteLogLevel 9
Luck

 
I cleaned the error_log up a bit (removing duplicate errors) but here is what it shows

[Tue Jun 15 22:54:58 2004] [error] mod_ssl: SSL handshake interrupted by system
pressed in browser?!] (System error follows)
[Tue Jun 15 22:54:58 2004] [error] System: Connection reset by peer (errno: 104)
[Wed Jun 16 15:41:38 2004] [error] OpenSSL: error:140760FC:lib(20):func(118):rea
[Sat Jun 19 16:53:38 2004] [error] mod_ssl: SSL handshake interrupted by system
pressed in browser?!] (System error follows)
[Mon Jul 12 11:29:49 2004] [error] mod_ssl: SSL handshake failed (server sls-ce5
m:443, client 69.83.147.21) (OpenSSL library error follows)
[Mon May 26 19:07:13 2003] [error] OpenSSL: error:1406B458:lib(20):func(107):rea
[Mon Jun 2 18:01:08 2003] [error] [client 81.20.139.210] File does not exist: /v
.txt
[Tue Jun 24 15:50:00 2003] [error] mod_ssl: Cannot open SSLSessionCache DBM file
cache' for scanning (System error follows)
[Tue Jun 24 15:50:00 2003] [error] mod_ssl: Cannot open SSLSessionCache DBM file
cache' for reading (fetch) (System error follows)
[Tue Jun 24 18:33:07 2003] [error] System: No such file or directory (errno: 2)
[Tue Jun 24 18:33:10 2003] [error] mod_ssl: Cannot open SSLSessionCache DBM file `/var/cache/ssl_scache' for scanning (System error follows)
 
Hi,
I think that you have SSL running on you server.
Disable modssl.so line module in your apache httpd.conf
and try again. Another way is to change your modssl module and check line SSLSessionCache DBM file in your ssl.conf file. Perhaps your modssl module is corruped

Luck
 
There is no ssl.conf file here (well at least not in my ./conf directory). Plus i do not see the modssl.so line, but i do have this

LoadModule ssl_module modules/libssl.so

should i just comment that one out or would that be bad.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top