Networking Forums

Networking Forums > Computer Networking > Linux Networking > Apache 302 error from httpd.conf file, Server Down

Reply
Thread Tools Display Modes

Apache 302 error from httpd.conf file, Server Down

 
 
danparker276@yahoo.com
Guest
Posts: n/a

 
      07-26-2005, 05:16 PM
My application has been working for a long time. All of a sudden I get
get 302 error.
There are parts of the config file that work, www.myserver.com/status,
will work, but the default always gives me a 302, and I don't know how
to trace this? Any way to debug this?

I assume it got something to do with my virtual host
############################
### SECTION 3: Virtual Hosts
############################

Listen "443"
Listen "80"

###SSL Virtual Host###

AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl



<perl>
use lib '/mp3/tools/ecrm/lib';
use ECRM;
use IMAGES;

#my $ecrm_hostname = ECRM::get_system_hostname();
my $ecrm_hostname = 'https://myserver.net';
my $base_image_url = IMAGES::get_image_url();

$VirtualHost{'_default_:80'} = {
RewriteEngine => 'On',
RewriteCond => '$1 !server-status',
RewriteRule => '^(.*)$ ' . $ecrm_hostname .
'$1?%{QUERY_STRING} [R,L]',
};

$VirtualHost{'_default_:443'} = {
SSLEngine => 'on',
SSLCipherSuite =>
'ALL:!ADH:!EXP56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2 :+EXP:+eNULL',
SSLProtocol => 'all -SSLv3',
SSLCertificateFile =>
'/mp3/tools/ssl/certs/ecrm.myreg.net.cert',
SSLCertificateKeyFile =>
'/mp3/tools/ssl/private/ecrm.myreg.net.key',

Redirect => "/index.html ${ecrm_hostname}/home",

Location => {
'/ssl-images' => {
RewriteEngine => 'On',
RewriteRule => '/ssl-images(.*) ' .
$base_image_url . '$1 [R,L]',
}
},

Files => {
'~ "\.(cgi|shtml|phtml|php3?)$"' => {
SSLOptions => '+StdEnvVars',
}
},

SetEnvIf => 'User-Agent ".*MSIE.*" nokeepalive
ssl-unclean-shutdown downgrade-1.0 force-response-1.0',

LogLevel => 'debug',
CustomLog => '"logs/ssl_log" combined',
CustomLog => '"logs/ssl_extract_log" clickdata',
SSLLogFile => '"logs/ssl_cipher_log"',
};

</perl>

 
Reply With Quote
 
 
 
 
Dan
Guest
Posts: n/a

 
      07-27-2005, 01:32 AM
On 26 Jul 2005 10:16:14 -0700, "(E-Mail Removed)"
<(E-Mail Removed)> wrote:

>My application has been working for a long time. All of a sudden I get
>get 302 error.
>There are parts of the config file that work, www.myserver.com/status,
>will work, but the default always gives me a 302, and I don't know how
>to trace this? Any way to debug this?


The Apache log file might give you some clues.

Dan
>
>I assume it got something to do with my virtual host
>############################
>### SECTION 3: Virtual Hosts
>############################
>
>Listen "443"
>Listen "80"
>
>###SSL Virtual Host###
>
>AddType application/x-x509-ca-cert .crt
>AddType application/x-pkcs7-crl .crl
>
>
>
><perl>
>use lib '/mp3/tools/ecrm/lib';
>use ECRM;
>use IMAGES;
>
>#my $ecrm_hostname = ECRM::get_system_hostname();
>my $ecrm_hostname = 'https://myserver.net';
>my $base_image_url = IMAGES::get_image_url();
>
>$VirtualHost{'_default_:80'} = {
> RewriteEngine => 'On',
> RewriteCond => '$1 !server-status',
> RewriteRule => '^(.*)$ ' . $ecrm_hostname .
>'$1?%{QUERY_STRING} [R,L]',
>};
>
>$VirtualHost{'_default_:443'} = {
> SSLEngine => 'on',
> SSLCipherSuite =>
>'ALL:!ADH:!EXP56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv 2:+EXP:+eNULL',
> SSLProtocol => 'all -SSLv3',
> SSLCertificateFile =>
>'/mp3/tools/ssl/certs/ecrm.myreg.net.cert',
> SSLCertificateKeyFile =>
>'/mp3/tools/ssl/private/ecrm.myreg.net.key',
>
> Redirect => "/index.html ${ecrm_hostname}/home",
>
> Location => {
> '/ssl-images' => {
> RewriteEngine => 'On',
> RewriteRule => '/ssl-images(.*) ' .
>$base_image_url . '$1 [R,L]',
> }
> },
>
> Files => {
> '~ "\.(cgi|shtml|phtml|php3?)$"' => {
> SSLOptions => '+StdEnvVars',
> }
> },
>
> SetEnvIf => 'User-Agent ".*MSIE.*" nokeepalive
>ssl-unclean-shutdown downgrade-1.0 force-response-1.0',
>
> LogLevel => 'debug',
> CustomLog => '"logs/ssl_log" combined',
> CustomLog => '"logs/ssl_extract_log" clickdata',
> SSLLogFile => '"logs/ssl_cipher_log"',
>};
>
></perl>


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apache 2.0 - number of httpd grows up + slow response unipeak99@gmail.com Linux Networking 0 05-23-2006 01:58 AM
Website subdirectories: httpd.conf or nameserver? Rich Grise Linux Networking 16 12-31-2004 11:18 PM
httpd.conf, help please.. Sitorus Wenny Linux Networking 0 10-20-2003 04:02 PM
Apache as proxy for http & httpd queries gosha Linux Networking 0 07-21-2003 12:45 PM
denying CONNECT() in httpd.conf jack wallen Linux Networking 1 07-03-2003 02:52 AM



1 2 3 4 5 6 7 8 9 10 11